Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000641/0.000641, allocations: 97.12 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007176/0.0007176, allocations: 206.3 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.137/1.137, allocations: 227.7 MB / 246.8 MB, free: 9.688 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.164/0.164, allocations: 46.19 MB / 345.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002122/0.0002122, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08911/0.08934, allocations: 63.57 MB / 483.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.00157/0.09094, allocations: 1.446 MB / 484.5 MB, free: 2.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001281/0.09108, allocations: 87.72 kB / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.475e-05/0.09112, allocations: 0 / 484.6 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 2.437e-05/0.09115, allocations: 3.938 kB / 484.6 MB, free: 2.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 6.208e-05/0.09122, allocations: 19.84 kB / 484.6 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.613e-05/0.0913, allocations: 19.98 kB / 484.6 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.09142, allocations: 107.6 kB / 484.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001238/0.09155, allocations: 43.97 kB / 484.8 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.09161, allocations: 43.78 kB / 484.8 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.957e-05/0.09168, allocations: 43.78 kB / 484.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.0917, allocations: 4 kB / 484.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.335e-05/0.09172, allocations: 8 kB / 484.9 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.891e-05/0.09174, allocations: 15.92 kB / 484.9 MB, free: 2.301 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.106e-05/0.0918, allocations: 69.48 kB / 485 MB, free: 2.227 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001011/0.09191, allocations: 107.8 kB / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.09191, allocations: 0 / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.09192, allocations: 0 / 485.1 MB, free: 2.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.09193, allocations: 4 kB / 485.1 MB, free: 2.117 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0004784/0.09241, allocations: 415.1 kB / 485.5 MB, free: 1.66 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.09245, allocations: 12.88 kB / 485.5 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.09249, allocations: 8.844 kB / 485.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.0926, allocations: 180.2 kB / 485.7 MB, free: 1.426 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.09262, allocations: 8.375 kB / 485.7 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.547e-05/0.09264, allocations: 4.375 kB / 485.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002977/0.09294, allocations: 138 kB / 485.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.09295, allocations: 192 / 485.8 MB, free: 1.273 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.09297, allocations: 15.94 kB / 485.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.09298, allocations: 0 / 485.8 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003439/0.09333, allocations: 123.9 kB / 486 MB, free: 1.137 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006239/0.09396, allocations: 479.4 kB / 486.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.09419, allocations: 94.52 kB / 486.5 MB, free: 0.5117 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/0.09441, allocations: 76.88 kB / 486.6 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.09443, allocations: 4 kB / 486.6 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.719e-05/0.09445, allocations: 30.56 kB / 486.6 MB, free: 400 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.102e-06/0.09446, allocations: 4 kB / 486.6 MB, free: 396 kB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.000733/0.0952, allocations: 303.3 kB / 486.9 MB, free: 64 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.09525, allocations: 59.34 kB / 487 MB, free: 15.99 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.813e-05/0.09534, allocations: 121.8 kB / 487.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.09536, allocations: 25.7 kB / 487.1 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.659e-05/0.09542, allocations: 108.1 kB / 487.2 MB, free: 15.72 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.09544, allocations: 23.69 kB / 487.3 MB, free: 15.7 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.09547, allocations: 13.72 kB / 487.3 MB, free: 15.68 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.09556, allocations: 314.8 kB / 487.6 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.09572, allocations: 51.95 kB / 487.6 MB, free: 15.31 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001611/0.09589, allocations: 66.53 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/0.0962, allocations: 126.4 kB / 487.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.09621, allocations: 7.875 kB / 487.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003879/0.0966, allocations: 162.3 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.09662, allocations: 4 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.09663, allocations: 4 kB / 488 MB, free: 14.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001118/0.09675, allocations: 20.84 kB / 488 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.09687, allocations: 32.36 kB / 488.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008156/0.0977, allocations: 1.308 MB / 489.4 MB, free: 13.42 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.09781, allocations: 23.92 kB / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.09783, allocations: 0 / 489.4 MB, free: 13.4 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 7.517e-05/0.09791, allocations: 117.8 kB / 489.5 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.09794, allocations: 11.91 kB / 489.5 MB, free: 13.26 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.139e-05/0.09797, allocations: 20.42 kB / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.09797, allocations: 3.938 kB / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.09798, allocations: 0 / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.09799, allocations: 0 / 489.5 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005805/0.09857, allocations: 444.1 kB / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.09858, allocations: 0 / 490 MB, free: 12.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.639e-05/0.09867, allocations: 19.98 kB / 490 MB, free: 12.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-05/0.09874, allocations: 24.88 kB / 490 MB, free: 12.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.396e-06/0.09876, allocations: 4 kB / 490 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007268/0.09949, allocations: 1.3 MB / 491.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.09951, allocations: 12.03 kB / 491.3 MB, free: 11.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004069/0.09992, allocations: 261.2 kB / 491.6 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.09996, allocations: 88.95 kB / 491.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.09998, allocations: 7.938 kB / 491.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.1001, allocations: 23.97 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.214e-05/0.1001, allocations: 4 kB / 491.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.069e-06/0.1001, allocations: 4 kB / 491.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of sorting global known variables: time 5.106e-05/0.1002, allocations: 95.27 kB / 491.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1002, allocations: 0 / 491.8 MB, free: 10.73 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002298/0.1004, allocations: 19.91 kB / 491.8 MB, free: 10.71 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 7.657e-05/0.1005, allocations: 103.2 kB / 491.9 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000448/0.101, allocations: 226.7 kB / 492.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.101, allocations: 0 / 492.1 MB, free: 10.37 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002335/0.1012, allocations: 170.6 kB / 492.3 MB, free: 10.19 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002411/0.1015, allocations: 12.81 kB / 492.3 MB, free: 10.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.1018, allocations: 262.9 kB / 492.6 MB, free: 9.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.1021, allocations: 0.6984 MB / 493.3 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.043e-05/0.1021, allocations: 7.938 kB / 493.3 MB, free: 9.156 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.1021, allocations: 7.438 kB / 493.3 MB, free: 9.148 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1021, allocations: 3.938 kB / 493.3 MB, free: 9.145 MB / 366.1 MB Notification: Performance of Templates: time 0.002765/0.1049, allocations: 0.9566 MB / 494.3 MB, free: 8.191 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches