Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=9332,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 95.17 kB / 18 MB, free: 5.609 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.001419/0.001419, allocations: 176.6 kB / 18.91 MB, free: 4.738 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.393/1.393, allocations: 223.3 MB / 243 MB, free: 14.43 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.1861/0.1861, allocations: 44.25 MB / 338.3 MB, free: 2.402 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003517/0.0003517, allocations: 8.625 kB / 411 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1271, allocations: 61.93 MB / 472.9 MB, free: 13.3 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003556/0.1307, allocations: 3.135 MB / 476.1 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00141/0.1321, allocations: 0.7829 MB / 476.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002291/0.1324, allocations: 8 kB / 476.8 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001783/0.1326, allocations: 59.55 kB / 476.9 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002664/0.1328, allocations: 107.1 kB / 477 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003569/0.1332, allocations: 95.92 kB / 477.1 MB, free: 9.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.1337, allocations: 0.51 MB / 477.6 MB, free: 8.578 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003339/0.1341, allocations: 198.7 kB / 477.8 MB, free: 8.383 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002444/0.1343, allocations: 179.2 kB / 478 MB, free: 8.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002324/0.1346, allocations: 206.9 kB / 478.2 MB, free: 8.004 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.727e-05/0.1346, allocations: 28 kB / 478.2 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.262e-05/0.1347, allocations: 24 kB / 478.2 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.098e-05/0.1348, allocations: 83.69 kB / 478.3 MB, free: 7.871 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001904/0.135, allocations: 240.5 kB / 478.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003526/0.1353, allocations: 423 kB / 479 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.1353, allocations: 3.938 kB / 479 MB, free: 7.211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1353, allocations: 0 / 479 MB, free: 7.211 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.949e-06/0.1354, allocations: 0 / 479 MB, free: 7.211 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001189/0.1365, allocations: 0.698 MB / 479.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.1366, allocations: 8.031 kB / 479.7 MB, free: 6.457 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.282e-05/0.1367, allocations: 52.38 kB / 479.7 MB, free: 6.406 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004555/0.1372, allocations: 309.5 kB / 480 MB, free: 6.059 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.921e-05/0.1372, allocations: 33.38 kB / 480.1 MB, free: 6.027 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-05/0.1373, allocations: 48.28 kB / 480.1 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008481/0.1381, allocations: 475.3 kB / 480.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.1382, allocations: 0 / 480.6 MB, free: 5.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.94e-05/0.1382, allocations: 16 kB / 480.6 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1382, allocations: 12 kB / 480.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007367/0.139, allocations: 343.8 kB / 480.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002508/0.1415, allocations: 1.693 MB / 482.6 MB, free: 3.324 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000544/0.1421, allocations: 249 kB / 482.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003237/0.1424, allocations: 145.8 kB / 483 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1424, allocations: 7.938 kB / 483 MB, free: 2.906 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.1425, allocations: 38.56 kB / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 1.874e-06/0.1425, allocations: 0 / 483.1 MB, free: 2.859 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003017/0.1455, allocations: 1.356 MB / 484.4 MB, free: 1.383 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.325e-05/0.1456, allocations: 81.11 kB / 484.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002676/0.1459, allocations: 266.5 kB / 484.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.1459, allocations: 37.7 kB / 484.8 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001584/0.1461, allocations: 255.4 kB / 485 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.959e-05/0.1462, allocations: 118.3 kB / 485.2 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.762e-05/0.1462, allocations: 41.69 kB / 485.2 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1464, allocations: 342.8 kB / 485.5 MB, free: 216 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002811/0.1467, allocations: 112.8 kB / 485.6 MB, free: 104 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003432/0.147, allocations: 224.5 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006333/0.1477, allocations: 352.2 kB / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1477, allocations: 0 / 486.2 MB, free: 15.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008607/0.1485, allocations: 426.5 kB / 486.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.11e-05/0.1486, allocations: 8 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.1486, allocations: 4 kB / 486.6 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001583/0.1488, allocations: 32.84 kB / 486.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004645/0.1492, allocations: 128 kB / 486.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001151/0.1504, allocations: 1.339 MB / 488.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000263/0.1507, allocations: 23.98 kB / 488.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.365e-05/0.1507, allocations: 19.94 kB / 488.2 MB, free: 13.34 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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 0.0002118/0.1509, allocations: 157.8 kB / 488.3 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.695e-05/0.151, allocations: 31.56 kB / 488.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.812e-05/0.1511, allocations: 42.17 kB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.1511, allocations: 4.062 kB / 488.4 MB, free: 13.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.1511, allocations: 4 kB / 488.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1511, allocations: 3.984 kB / 488.4 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.1523, allocations: 0.7231 MB / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.1523, allocations: 0 / 489.1 MB, free: 12.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004248/0.1527, allocations: 95.88 kB / 489.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.736e-05/0.1528, allocations: 24.84 kB / 489.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.1528, allocations: 8 kB / 489.3 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008869/0.1537, allocations: 1.339 MB / 490.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.1538, allocations: 0 / 490.6 MB, free: 10.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009952/0.1548, allocations: 0.6137 MB / 491.2 MB, free: 10.07 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001281/0.1549, allocations: 124.8 kB / 491.3 MB, free: 9.93 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.824e-05/0.1549, allocations: 11.98 kB / 491.3 MB, free: 9.918 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002658/0.1552, allocations: 19.98 kB / 491.4 MB, free: 9.898 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.398e-05/0.1553, allocations: 27.97 kB / 491.4 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.679e-05/0.1553, allocations: 7.938 kB / 491.4 MB, free: 9.863 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.1555, allocations: 190 kB / 491.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.465e-06/0.1555, allocations: 0 / 491.6 MB, free: 9.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004787/0.156, allocations: 95.94 kB / 491.7 MB, free: 9.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0001371/0.1561, allocations: 103.8 kB / 491.8 MB, free: 9.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008703/0.157, allocations: 410.3 kB / 492.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.157, allocations: 0 / 492.2 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003932/0.1574, allocations: 263.3 kB / 492.4 MB, free: 8.793 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.158, allocations: 40.48 kB / 492.5 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1598, allocations: 1.208 MB / 493.7 MB, free: 7.496 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003759/0.1602, allocations: 0.8113 MB / 494.5 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001033/0.1603, allocations: 35.42 kB / 494.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of SimCode: time 8.92e-07/0.1603, allocations: 0 / 494.5 MB, free: 6.621 MB / 366.1 MB Notification: Performance of Templates: time 0.009123/0.1694, allocations: 5.88 MB / 0.4887 GB, free: 0.75 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches