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.001172/0.001171, allocations: 110 kB / 18.3 MB, free: 4.84 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.001144/0.001144, allocations: 199.4 kB / 19.23 MB, free: 3.914 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.362/1.362, allocations: 222.9 MB / 242.9 MB, free: 15.16 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.2126/0.2126, allocations: 44.18 MB / 337.3 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 56.34 kB / 409.1 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09933/0.1007, allocations: 60.83 MB / 469.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005232/0.106, allocations: 3.487 MB / 473.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001574/0.1076, allocations: 0.8061 MB / 474.2 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.108, allocations: 8 kB / 474.2 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002507/0.1082, allocations: 75.23 kB / 474.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003895/0.1087, allocations: 130.8 kB / 474.4 MB, free: 9.848 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004138/0.1091, allocations: 127.8 kB / 474.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005855/0.1097, allocations: 0.5178 MB / 475.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.1101, allocations: 241.8 kB / 475.3 MB, free: 8.961 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003212/0.1104, allocations: 211.3 kB / 475.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.1108, allocations: 238.9 kB / 475.7 MB, free: 8.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001044/0.1109, allocations: 48 kB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.111, allocations: 48 kB / 475.8 MB, free: 8.426 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1111, allocations: 111.6 kB / 475.9 MB, free: 8.316 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002534/0.1114, allocations: 250.8 kB / 476.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005412/0.1119, allocations: 0.553 MB / 476.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1119, allocations: 4 kB / 476.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1119, allocations: 0 / 476.8 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.112, allocations: 0 / 476.8 MB, free: 7.512 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.001464/0.1134, allocations: 0.7525 MB / 477.5 MB, free: 6.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.1135, allocations: 12.02 kB / 477.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001123/0.1136, allocations: 56.28 kB / 477.6 MB, free: 6.645 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004158/0.114, allocations: 305.5 kB / 477.9 MB, free: 6.305 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.716e-05/0.1141, allocations: 37.38 kB / 477.9 MB, free: 6.27 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.262e-05/0.1141, allocations: 52.36 kB / 478 MB, free: 6.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008585/0.115, allocations: 467.2 kB / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.115, allocations: 0 / 478.4 MB, free: 5.742 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.1151, allocations: 20 kB / 478.4 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.359e-05/0.1151, allocations: 12 kB / 478.4 MB, free: 5.711 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007891/0.1159, allocations: 315.8 kB / 478.8 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.1186, allocations: 1.705 MB / 480.5 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005902/0.1192, allocations: 233 kB / 480.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.1195, allocations: 141.7 kB / 480.8 MB, free: 3.191 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.474e-05/0.1196, allocations: 4 kB / 480.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.273e-05/0.1196, allocations: 38.56 kB / 480.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of pre-optimization done (n=26): time 2.014e-06/0.1196, allocations: 0 / 480.9 MB, free: 3.141 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.003162/0.1228, allocations: 1.339 MB / 482.2 MB, free: 1.684 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.052e-05/0.1229, allocations: 85.09 kB / 482.3 MB, free: 1.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.1232, allocations: 262.6 kB / 482.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.952e-05/0.1232, allocations: 29.7 kB / 482.6 MB, free: 1.281 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.1234, allocations: 263.4 kB / 482.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.556e-05/0.1235, allocations: 126.2 kB / 483 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.1236, allocations: 85.97 kB / 483 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.1238, allocations: 334.8 kB / 483.4 MB, free: 480 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002869/0.1241, allocations: 104.8 kB / 483.5 MB, free: 372 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003558/0.1245, allocations: 216.3 kB / 483.7 MB, free: 116 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006331/0.1251, allocations: 331.8 kB / 484 MB, free: 15.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.718e-06/0.1251, allocations: 4 kB / 484 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009637/0.1261, allocations: 421.8 kB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.1261, allocations: 4 kB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.1261, allocations: 4 kB / 484.4 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000157/0.1263, allocations: 29.19 kB / 484.5 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004914/0.1268, allocations: 131.7 kB / 484.6 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.1281, allocations: 1.438 MB / 486 MB, free: 13.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1284, allocations: 15.91 kB / 486 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.1284, allocations: 27.97 kB / 486.1 MB, free: 13.53 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.0002258/0.1286, allocations: 169.7 kB / 486.2 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.584e-05/0.1287, allocations: 27.72 kB / 486.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.554e-05/0.1288, allocations: 38.17 kB / 486.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.738e-06/0.1288, allocations: 4 kB / 486.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/0.1288, allocations: 0 / 486.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1289, allocations: 0 / 486.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001223/0.1301, allocations: 0.7192 MB / 487 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.1301, allocations: 0 / 487 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004224/0.1305, allocations: 91.88 kB / 487.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.1307, allocations: 24.84 kB / 487.1 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.356e-05/0.1307, allocations: 19.88 kB / 487.1 MB, free: 12.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.1318, allocations: 1.426 MB / 488.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1318, allocations: 0 / 488.6 MB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001067/0.1329, allocations: 0.6051 MB / 489.2 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/0.1331, allocations: 124.8 kB / 489.3 MB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.1331, allocations: 8 kB / 489.3 MB, free: 10.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.1334, allocations: 15.98 kB / 489.3 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.1335, allocations: 35.83 kB / 489.4 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.1335, allocations: 16 kB / 489.4 MB, free: 9.957 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001781/0.1337, allocations: 178 kB / 489.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1337, allocations: 0 / 489.5 MB, free: 9.789 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004883/0.1342, allocations: 96 kB / 489.6 MB, free: 9.695 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.0001299/0.1344, allocations: 107.2 kB / 489.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009587/0.1353, allocations: 416.4 kB / 490.2 MB, free: 9.164 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.1353, allocations: 4 kB / 490.2 MB, free: 9.16 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.1358, allocations: 251.3 kB / 490.4 MB, free: 8.902 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000555/0.1363, allocations: 48.48 kB / 490.5 MB, free: 8.855 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.1382, allocations: 0.9337 MB / 491.4 MB, free: 7.875 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004346/0.1387, allocations: 0.8112 MB / 492.2 MB, free: 7.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.1388, allocations: 35.42 kB / 492.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1388, allocations: 0 / 492.2 MB, free: 6.996 MB / 366.1 MB Notification: Performance of Templates: time 0.009167/0.148, allocations: 5.941 MB / 498.2 MB, free: 1.062 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