Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001593/0.001593, allocations: 103.3 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001702/0.001703, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.469/1.469, allocations: 227.4 MB / 246.3 MB, free: 9.086 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2176/0.2176, allocations: 46.11 MB / 343.6 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 76.03 kB / 416.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1336, allocations: 62.43 MB / 479.3 MB, free: 5.742 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004592/0.1382, allocations: 2.532 MB / 481.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002231/0.1405, allocations: 1.079 MB / 482.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001796/0.1407, allocations: 4 kB / 482.9 MB, free: 2.102 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.1421, allocations: 485.9 kB / 483.4 MB, free: 1.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003157/0.1424, allocations: 83.45 kB / 483.5 MB, free: 1.547 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009733/0.1434, allocations: 482.4 kB / 483.9 MB, free: 1.074 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004029/0.1438, allocations: 211 kB / 484.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005222/0.1443, allocations: 230.9 kB / 484.4 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.1446, allocations: 95.64 kB / 484.5 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1448, allocations: 123.5 kB / 484.6 MB, free: 440 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.028e-05/0.1449, allocations: 20 kB / 484.6 MB, free: 420 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00039/0.1453, allocations: 139.9 kB / 484.7 MB, free: 280 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.21e-05/0.1453, allocations: 43.83 kB / 484.8 MB, free: 236 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001332/0.1455, allocations: 119.4 kB / 484.9 MB, free: 116 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007325/0.1462, allocations: 391.1 kB / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.1463, allocations: 0 / 485.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.1463, allocations: 7.922 kB / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.149e-05/0.1463, allocations: 0 / 485.3 MB, free: 15.72 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001561/0.1478, allocations: 0.6087 MB / 485.9 MB, free: 15.06 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/0.1479, allocations: 12.88 kB / 485.9 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003623/0.1483, allocations: 56.62 kB / 486 MB, free: 15 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.1485, allocations: 196 kB / 486.1 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1485, allocations: 20.94 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.959e-05/0.1486, allocations: 24.38 kB / 486.2 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006393/0.1492, allocations: 291.7 kB / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.1493, allocations: 0 / 486.5 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.1493, allocations: 16 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1493, allocations: 4 kB / 486.5 MB, free: 14.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006031/0.1499, allocations: 233.5 kB / 486.7 MB, free: 14.18 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/0.1515, allocations: 1.001 MB / 487.7 MB, free: 13.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005086/0.152, allocations: 381.6 kB / 488.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003376/0.1524, allocations: 141.7 kB / 488.2 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.1526, allocations: 166.2 kB / 488.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.1527, allocations: 38.5 kB / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.543e-06/0.1527, allocations: 0 / 488.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001278/0.1539, allocations: 0.4936 MB / 488.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.238e-05/0.154, allocations: 81.02 kB / 489 MB, free: 11.65 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001428/0.1542, allocations: 136.1 kB / 489.1 MB, free: 11.51 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.793e-05/0.1542, allocations: 37.7 kB / 489.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.545e-05/0.1543, allocations: 140.1 kB / 489.3 MB, free: 11.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.084e-05/0.1544, allocations: 70.98 kB / 489.4 MB, free: 11.25 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.414e-05/0.1545, allocations: 33.72 kB / 489.4 MB, free: 11.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001148/0.1546, allocations: 322.8 kB / 489.7 MB, free: 10.89 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002142/0.1548, allocations: 71.94 kB / 489.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002378/0.1551, allocations: 133.7 kB / 489.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004398/0.1555, allocations: 205.9 kB / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1555, allocations: 0 / 490.1 MB, free: 10.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006393/0.1562, allocations: 274.9 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1562, allocations: 4 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.1562, allocations: 4 kB / 490.4 MB, free: 10.16 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000219/0.1564, allocations: 49.83 kB / 490.5 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001843/0.1566, allocations: 47.95 kB / 490.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.1586, allocations: 2.646 MB / 493.2 MB, free: 7.141 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001503/0.1588, allocations: 23.83 kB / 493.2 MB, free: 7.117 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.736e-05/0.1588, allocations: 11.98 kB / 493.2 MB, free: 7.105 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001564/0.159, allocations: 141.8 kB / 493.3 MB, free: 6.957 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.29e-05/0.1591, allocations: 23.73 kB / 493.3 MB, free: 6.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006365/0.1597, allocations: 256.4 kB / 493.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.1597, allocations: 0 / 493.6 MB, free: 6.672 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1597, allocations: 4 kB / 493.6 MB, free: 6.668 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1597, allocations: 3.938 kB / 493.6 MB, free: 6.664 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.1609, allocations: 0.6561 MB / 494.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1609, allocations: 112 / 494.3 MB, free: 5.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.1611, allocations: 35.91 kB / 494.3 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001367/0.1612, allocations: 49.7 kB / 494.3 MB, free: 5.852 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.945e-05/0.1612, allocations: 7.922 kB / 494.4 MB, free: 5.844 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001815/0.163, allocations: 2.643 MB / 497 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.1631, allocations: 0 / 497 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008828/0.164, allocations: 0.5212 MB / 497.5 MB, free: 2.383 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.877e-05/0.164, allocations: 88.98 kB / 497.6 MB, free: 2.277 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.1641, allocations: 4 kB / 497.6 MB, free: 2.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.1642, allocations: 19.98 kB / 497.6 MB, free: 2.254 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.857e-05/0.1643, allocations: 23.97 kB / 497.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.1643, allocations: 4 kB / 497.7 MB, free: 2.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.1644, allocations: 117.2 kB / 497.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1644, allocations: 0 / 497.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004468/0.1649, allocations: 67.78 kB / 497.8 MB, free: 2.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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 0.0002151/0.1651, allocations: 127.4 kB / 498 MB, free: 1.914 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007712/0.1659, allocations: 417.5 kB / 498.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.1659, allocations: 0 / 498.4 MB, free: 1.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003964/0.1663, allocations: 325.2 kB / 498.7 MB, free: 1.137 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.1667, allocations: 26.72 kB / 498.7 MB, free: 1.113 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008873/0.1676, allocations: 0.5455 MB / 499.3 MB, free: 0.5352 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.1681, allocations: 0.7399 MB / 500 MB, free: 15.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 9.521e-05/0.1682, allocations: 21.41 kB / 0.4883 GB, free: 15.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.8e-05/0.1682, allocations: 11.44 kB / 0.4883 GB, free: 15.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1682, allocations: 0 / 0.4883 GB, free: 15.73 MB / 382.1 MB Notification: Performance of Templates: time 0.006154/0.1744, allocations: 2.188 MB / 0.4904 GB, free: 13.54 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches