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.001262/0.001262, allocations: 103.8 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001425/0.001426, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.523/1.523, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2469/0.2469, allocations: 46.12 MB / 344.2 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 85.69 kB / 417.7 MB, free: 19.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1426, allocations: 62.46 MB / 480.1 MB, free: 5.207 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004567/0.1472, allocations: 2.498 MB / 482.6 MB, free: 2.695 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002468/0.1497, allocations: 1.09 MB / 483.7 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001357/0.1499, allocations: 4 kB / 483.7 MB, free: 1.594 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001661/0.1516, allocations: 0.5057 MB / 484.2 MB, free: 1.086 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004475/0.152, allocations: 103.2 kB / 484.3 MB, free: 0.9844 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.1531, allocations: 490.1 kB / 484.8 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.1534, allocations: 215.1 kB / 485 MB, free: 300 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004733/0.1539, allocations: 262.5 kB / 485.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.1541, allocations: 95.64 kB / 485.4 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.1543, allocations: 123.5 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.686e-05/0.1543, allocations: 24 kB / 485.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003753/0.1547, allocations: 155.8 kB / 485.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.604e-05/0.1548, allocations: 47.84 kB / 485.7 MB, free: 15.6 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.1549, allocations: 115.5 kB / 485.8 MB, free: 15.49 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004976/0.1554, allocations: 399 kB / 486.2 MB, free: 15.1 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.1554, allocations: 7.984 kB / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1554, allocations: 0 / 486.2 MB, free: 15.09 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.182e-06/0.1554, allocations: 0 / 486.2 MB, free: 15.09 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.001341/0.1568, allocations: 0.6086 MB / 486.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1568, allocations: 12.03 kB / 486.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.1572, allocations: 52.62 kB / 486.9 MB, free: 14.37 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002444/0.1574, allocations: 196 kB / 487.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/0.1575, allocations: 16.94 kB / 487.1 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.1575, allocations: 24.38 kB / 487.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006058/0.1581, allocations: 291.7 kB / 487.4 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1582, allocations: 7.938 kB / 487.4 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.755e-05/0.1582, allocations: 12 kB / 487.4 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.308e-05/0.1582, allocations: 12 kB / 487.4 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005698/0.1588, allocations: 233.5 kB / 487.7 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001526/0.1603, allocations: 0.9974 MB / 488.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.1609, allocations: 385.3 kB / 489 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003368/0.1613, allocations: 137.6 kB / 489.2 MB, free: 11.9 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001947/0.1615, allocations: 174.2 kB / 489.3 MB, free: 11.69 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1615, allocations: 34.56 kB / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of pre-optimization done (n=19): time 1.613e-06/0.1615, allocations: 0 / 489.4 MB, free: 11.65 MB / 366.1 MB Notification: Performance of matching and sorting (n=19): time 0.001313/0.1628, allocations: 0.4974 MB / 489.9 MB, free: 11.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.156e-05/0.1629, allocations: 85.02 kB / 489.9 MB, free: 11 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001232/0.163, allocations: 136 kB / 490.1 MB, free: 10.86 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.1631, allocations: 33.83 kB / 490.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.336e-05/0.1632, allocations: 144.1 kB / 490.3 MB, free: 10.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.1632, allocations: 70.94 kB / 490.3 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.137e-05/0.1633, allocations: 33.72 kB / 490.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.1635, allocations: 322.8 kB / 490.7 MB, free: 10.24 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002149/0.1637, allocations: 71.94 kB / 490.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002691/0.164, allocations: 125.8 kB / 490.9 MB, free: 10.03 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004684/0.1644, allocations: 204.6 kB / 491.1 MB, free: 9.809 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.1645, allocations: 4 kB / 491.1 MB, free: 9.805 MB / 366.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006525/0.1651, allocations: 278.9 kB / 491.3 MB, free: 9.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.1651, allocations: 4 kB / 491.3 MB, free: 9.516 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.1652, allocations: 4 kB / 491.3 MB, free: 9.512 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002242/0.1654, allocations: 53.88 kB / 491.4 MB, free: 9.453 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.1656, allocations: 43.91 kB / 491.4 MB, free: 9.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002411/0.168, allocations: 2.844 MB / 494.3 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.1682, allocations: 23.86 kB / 494.3 MB, free: 6.262 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.1682, allocations: 8 kB / 494.3 MB, free: 6.254 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.0001704/0.1684, allocations: 145.7 kB / 494.5 MB, free: 6.102 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.1685, allocations: 19.88 kB / 494.5 MB, free: 6.082 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006816/0.1692, allocations: 262.5 kB / 494.7 MB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.1692, allocations: 8.109 kB / 494.7 MB, free: 5.809 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.1692, allocations: 3.938 kB / 494.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.1692, allocations: 0 / 494.7 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/0.1704, allocations: 0.6459 MB / 495.4 MB, free: 5.09 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.293e-06/0.1704, allocations: 7.938 kB / 495.4 MB, free: 5.082 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001756/0.1706, allocations: 36 kB / 495.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00014/0.1708, allocations: 49.67 kB / 495.5 MB, free: 4.992 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.1708, allocations: 8 kB / 495.5 MB, free: 4.984 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002244/0.173, allocations: 2.84 MB / 498.3 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.173, allocations: 4 kB / 498.3 MB, free: 1.859 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.1741, allocations: 0.5164 MB / 498.9 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.986e-05/0.1742, allocations: 92.94 kB / 498.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.1742, allocations: 11.94 kB / 499 MB, free: 1.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001857/0.1744, allocations: 15.98 kB / 499 MB, free: 1.18 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.431e-05/0.1745, allocations: 23.91 kB / 499 MB, free: 1.156 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.1745, allocations: 7.938 kB / 499 MB, free: 1.148 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.707e-05/0.1746, allocations: 107.3 kB / 499.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1746, allocations: 0 / 499.1 MB, free: 1.043 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.1751, allocations: 79.78 kB / 499.2 MB, free: 0.9648 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.00026/0.1754, allocations: 115.2 kB / 499.3 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008588/0.1762, allocations: 427.3 kB / 499.7 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.1763, allocations: 0 / 499.7 MB, free: 412 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004438/0.1767, allocations: 329.7 kB / 0.4883 GB, free: 56 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004392/0.1772, allocations: 11.94 kB / 0.4883 GB, free: 44 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009398/0.1781, allocations: 478.4 kB / 0.4888 GB, free: 15.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000411/0.1785, allocations: 0.7398 MB / 0.4895 GB, free: 14.77 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.785e-05/0.1786, allocations: 13.44 kB / 0.4895 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.153e-05/0.1787, allocations: 19.44 kB / 0.4895 GB, free: 14.74 MB / 382.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1787, allocations: 0 / 0.4895 GB, free: 14.74 MB / 382.1 MB Notification: Performance of Templates: time 0.006743/0.1854, allocations: 2.324 MB / 0.4918 GB, free: 12.42 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