Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.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.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 100 kB / 17.63 MB, free: 5.523 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.001166/0.001165, allocations: 192.1 kB / 18.56 MB, free: 4.602 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.342/1.342, allocations: 222.9 MB / 242.2 MB, free: 15.27 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.2017/0.2017, allocations: 44.17 MB / 336.6 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 60.5 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1161, allocations: 60.82 MB / 469.2 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003097/0.1192, allocations: 1.716 MB / 471 MB, free: 12.67 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000194/0.1195, allocations: 79.67 kB / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.696e-05/0.1195, allocations: 0 / 471 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.419e-05/0.1196, allocations: 15.86 kB / 471.1 MB, free: 12.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.796e-05/0.1197, allocations: 23.77 kB / 471.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001145/0.1198, allocations: 31.97 kB / 471.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001274/0.12, allocations: 111.6 kB / 471.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001726/0.1201, allocations: 51.95 kB / 471.3 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.478e-05/0.1202, allocations: 43.84 kB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.177e-05/0.1203, allocations: 51.77 kB / 471.4 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.432e-05/0.1203, allocations: 12 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.808e-05/0.1204, allocations: 8 kB / 471.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.1204, allocations: 27.91 kB / 471.4 MB, free: 12.22 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.1205, allocations: 55.8 kB / 471.5 MB, free: 12.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001389/0.1206, allocations: 107.9 kB / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1206, allocations: 0 / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.1206, allocations: 0 / 471.6 MB, free: 12.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.1206, allocations: 0 / 471.6 MB, free: 12.06 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.0005484/0.1212, allocations: 419.1 kB / 472 MB, free: 11.6 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.1212, allocations: 12.03 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.1213, allocations: 12.84 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1214, allocations: 184.2 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1214, allocations: 4.375 kB / 472.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.1214, allocations: 12.38 kB / 472.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003069/0.1217, allocations: 123.8 kB / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-06/0.1218, allocations: 192 / 472.3 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/0.1218, allocations: 3.938 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.1218, allocations: 4 kB / 472.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003413/0.1221, allocations: 111.8 kB / 472.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.1228, allocations: 479.3 kB / 472.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002304/0.1231, allocations: 86.47 kB / 473 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002147/0.1233, allocations: 64.94 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.636e-05/0.1233, allocations: 7.938 kB / 473.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.1234, allocations: 30.56 kB / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1234, allocations: 0 / 473.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=6): time 0.0007879/0.1242, allocations: 267.4 kB / 473.4 MB, free: 10.08 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.1242, allocations: 55.34 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.1243, allocations: 125.8 kB / 473.5 MB, free: 9.879 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.1243, allocations: 25.7 kB / 473.6 MB, free: 9.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.1244, allocations: 116.1 kB / 473.7 MB, free: 9.727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.524e-05/0.1244, allocations: 11.81 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.93e-05/0.1245, allocations: 21.72 kB / 473.7 MB, free: 9.688 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.851e-05/0.1246, allocations: 322.8 kB / 474 MB, free: 9.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.1247, allocations: 31.97 kB / 474 MB, free: 9.332 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/0.1249, allocations: 58.53 kB / 474.1 MB, free: 9.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000302/0.1252, allocations: 102.4 kB / 474.2 MB, free: 9.156 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.1252, allocations: 3.938 kB / 474.2 MB, free: 9.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004189/0.1257, allocations: 146.6 kB / 474.3 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.78e-05/0.1257, allocations: 4 kB / 474.4 MB, free: 8.996 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.1257, allocations: 3.984 kB / 474.4 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001556/0.1259, allocations: 24.84 kB / 474.4 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.126, allocations: 23.97 kB / 474.4 MB, free: 8.941 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/0.1271, allocations: 1.402 MB / 475.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.1272, allocations: 16.08 kB / 475.8 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-06/0.1272, allocations: 4 kB / 475.8 MB, free: 7.375 MB / 350.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 9.681e-05/0.1273, allocations: 117.8 kB / 475.9 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.1274, allocations: 11.84 kB / 476 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.125e-05/0.1274, allocations: 8.375 kB / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.1274, allocations: 0 / 476 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.1274, allocations: 4 kB / 476 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1274, allocations: 7.984 kB / 476 MB, free: 7.219 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006909/0.1281, allocations: 416.1 kB / 476.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1282, allocations: 4 kB / 476.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.093e-05/0.1283, allocations: 15.98 kB / 476.4 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.059e-05/0.1283, allocations: 33 kB / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1284, allocations: 0 / 476.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009878/0.1293, allocations: 1.406 MB / 477.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1294, allocations: 160 / 477.8 MB, free: 5.148 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004346/0.1298, allocations: 245.1 kB / 478.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1299, allocations: 81.02 kB / 478.2 MB, free: 4.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.1299, allocations: 4 kB / 478.2 MB, free: 4.785 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.13, allocations: 19.91 kB / 478.2 MB, free: 4.766 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.955e-05/0.13, allocations: 7.938 kB / 478.2 MB, free: 4.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.1301, allocations: 4 kB / 478.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 5.231e-05/0.1301, allocations: 95.27 kB / 478.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1301, allocations: 4 kB / 478.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.1304, allocations: 23.94 kB / 478.3 MB, free: 4.633 MB / 350.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 0.0001022/0.1305, allocations: 99.17 kB / 478.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005089/0.131, allocations: 214.6 kB / 478.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.131, allocations: 0 / 478.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002463/0.1313, allocations: 158.6 kB / 478.8 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.1316, allocations: 11.98 kB / 478.8 MB, free: 4.125 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.1321, allocations: 217.1 kB / 479 MB, free: 3.883 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.1324, allocations: 0.7002 MB / 479.7 MB, free: 3.156 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.524e-05/0.1324, allocations: 4 kB / 479.7 MB, free: 3.152 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.1324, allocations: 11.44 kB / 479.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1324, allocations: 0 / 479.7 MB, free: 3.141 MB / 350.1 MB Notification: Performance of Templates: time 0.00367/0.1361, allocations: 1.109 MB / 480.8 MB, free: 2.039 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches