Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 108.2 kB / 18.39 MB, free: 4.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 182.9 kB / 19.33 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 222.9 MB / 243 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2328/0.2328, allocations: 44.18 MB / 337.4 MB, free: 2.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 66.62 kB / 409.9 MB, free: 26.54 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1462, allocations: 60.82 MB / 470.7 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004653/0.151, allocations: 2.462 MB / 473.2 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002099/0.1531, allocations: 1.039 MB / 474.2 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1532, allocations: 4 kB / 474.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001314/0.1546, allocations: 0.5055 MB / 474.7 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003039/0.1549, allocations: 99.31 kB / 474.8 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.1561, allocations: 0.6301 MB / 475.4 MB, free: 8.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003222/0.1564, allocations: 227 kB / 475.7 MB, free: 8.676 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005577/0.157, allocations: 251.5 kB / 475.9 MB, free: 8.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001644/0.1571, allocations: 95.69 kB / 476 MB, free: 8.336 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001567/0.1573, allocations: 127.5 kB / 476.1 MB, free: 8.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.699e-05/0.1574, allocations: 20 kB / 476.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003203/0.1577, allocations: 151.8 kB / 476.3 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.1577, allocations: 51.83 kB / 476.3 MB, free: 7.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.1579, allocations: 107.5 kB / 476.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005219/0.1584, allocations: 398.7 kB / 476.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/0.1584, allocations: 4 kB / 476.8 MB, free: 7.492 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1584, allocations: 7.938 kB / 476.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.1584, allocations: 0 / 476.9 MB, free: 7.484 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001425/0.1599, allocations: 0.6086 MB / 477.5 MB, free: 6.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001221/0.16, allocations: 8.031 kB / 477.5 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003308/0.1603, allocations: 56.62 kB / 477.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001597/0.1605, allocations: 192 kB / 477.7 MB, free: 6.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.635e-05/0.1605, allocations: 20.94 kB / 477.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.03e-05/0.1606, allocations: 24.38 kB / 477.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.1612, allocations: 291.7 kB / 478 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.748e-05/0.1612, allocations: 0 / 478 MB, free: 6.195 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.864e-05/0.1613, allocations: 12 kB / 478.1 MB, free: 6.184 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.1613, allocations: 4 kB / 478.1 MB, free: 6.18 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.1618, allocations: 233.5 kB / 478.3 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001544/0.1634, allocations: 1.001 MB / 479.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005164/0.1639, allocations: 379.1 kB / 479.7 MB, free: 4.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000303/0.1642, allocations: 133.7 kB / 479.8 MB, free: 4.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/0.1644, allocations: 89.09 kB / 479.9 MB, free: 4.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.1644, allocations: 34.56 kB / 479.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.793e-06/0.1644, allocations: 0 / 479.9 MB, free: 4.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.001143/0.1656, allocations: 0.4973 MB / 480.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.791e-05/0.1657, allocations: 85.22 kB / 480.5 MB, free: 3.516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.1658, allocations: 144.2 kB / 480.6 MB, free: 3.367 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.1658, allocations: 25.7 kB / 480.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.1659, allocations: 144 kB / 480.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.969e-05/0.166, allocations: 67 kB / 480.9 MB, free: 3.125 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.11e-05/0.166, allocations: 37.7 kB / 480.9 MB, free: 3.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1662, allocations: 326.8 kB / 481.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000197/0.1664, allocations: 75.94 kB / 481.3 MB, free: 2.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.1666, allocations: 117.6 kB / 481.4 MB, free: 2.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004368/0.1671, allocations: 211.7 kB / 481.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1671, allocations: 4 kB / 481.6 MB, free: 2.316 MB / 350.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005913/0.1677, allocations: 270.9 kB / 481.9 MB, free: 2.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.1677, allocations: 8 kB / 481.9 MB, free: 2.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1677, allocations: 4.188 kB / 481.9 MB, free: 2.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002361/0.168, allocations: 49.7 kB / 481.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.1682, allocations: 39.91 kB / 482 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002139/0.1703, allocations: 2.847 MB / 484.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001469/0.1705, allocations: 27.86 kB / 484.9 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1705, allocations: 12 kB / 484.9 MB, free: 14.77 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.0001407/0.1706, allocations: 133.9 kB / 485 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.499e-05/0.1707, allocations: 19.75 kB / 485 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006115/0.1713, allocations: 264.3 kB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.1714, allocations: 4 kB / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1714, allocations: 0 / 485.3 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.1714, allocations: 3.984 kB / 485.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1724, allocations: 0.6513 MB / 485.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.1725, allocations: 3.938 kB / 485.9 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001642/0.1726, allocations: 44.03 kB / 486 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000131/0.1728, allocations: 45.69 kB / 486 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.769e-05/0.1728, allocations: 8 kB / 486 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002226/0.175, allocations: 2.832 MB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.1751, allocations: 4.031 kB / 488.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.1759, allocations: 0.514 MB / 489.4 MB, free: 9.844 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.805e-05/0.176, allocations: 92.89 kB / 489.5 MB, free: 9.734 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.35e-05/0.176, allocations: 11.98 kB / 489.5 MB, free: 9.723 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.1762, allocations: 15.98 kB / 489.5 MB, free: 9.707 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.277e-05/0.1763, allocations: 27.92 kB / 489.5 MB, free: 9.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.325e-05/0.1763, allocations: 8 kB / 489.5 MB, free: 9.672 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.1764, allocations: 109.8 kB / 489.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1764, allocations: 0 / 489.6 MB, free: 9.566 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.1768, allocations: 71.84 kB / 489.7 MB, free: 9.496 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.0002673/0.1771, allocations: 123.2 kB / 489.8 MB, free: 9.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000722/0.1778, allocations: 420.7 kB / 490.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1778, allocations: 0 / 490.2 MB, free: 8.93 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003843/0.1782, allocations: 321.3 kB / 490.6 MB, free: 8.59 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.1787, allocations: 19.92 kB / 490.6 MB, free: 8.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/0.1795, allocations: 476.8 kB / 491 MB, free: 8.074 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004179/0.1799, allocations: 0.7321 MB / 491.8 MB, free: 7.316 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.264e-05/0.18, allocations: 17.42 kB / 491.8 MB, free: 7.301 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.1801, allocations: 23.44 kB / 491.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1801, allocations: 0 / 491.8 MB, free: 7.277 MB / 366.1 MB Notification: Performance of Templates: time 0.006042/0.1861, allocations: 2.299 MB / 494.1 MB, free: 4.977 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches