Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") translateModel(ModelicaTest.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_3.2.3_ModelicaTest.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001055, allocations: 187 kB / 16.63 MB, free: 5.137 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.384/1.384, allocations: 205.1 MB / 222.5 MB, free: 8.465 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 108.5 kB / 269.9 MB, free: 8.426 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3421/0.3421, allocations: 43.5 MB / 360.7 MB, free: 51.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009939/0.000994, allocations: 51.92 kB / 429.2 MB, free: 6.383 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1275, allocations: 57.77 MB / 487 MB, free: 12.54 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004734/0.1323, allocations: 3.45 MB / 490.5 MB, free: 9.07 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001577/0.1339, allocations: 0.8302 MB / 491.3 MB, free: 8.23 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002058/0.1341, allocations: 11.94 kB / 491.3 MB, free: 8.219 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002038/0.1343, allocations: 55.59 kB / 491.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002419/0.1346, allocations: 103.1 kB / 491.5 MB, free: 8.062 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003741/0.135, allocations: 119.7 kB / 491.6 MB, free: 7.945 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.1355, allocations: 0.4984 MB / 492.1 MB, free: 7.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003603/0.1359, allocations: 214.7 kB / 492.3 MB, free: 7.23 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002693/0.1362, allocations: 199.2 kB / 492.5 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002437/0.1364, allocations: 223 kB / 492.7 MB, free: 6.816 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 5.535e-05/0.1365, allocations: 36 kB / 492.7 MB, free: 6.781 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.682e-05/0.1365, allocations: 36 kB / 492.8 MB, free: 6.746 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.264e-05/0.1366, allocations: 87.62 kB / 492.9 MB, free: 6.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001982/0.1368, allocations: 234.8 kB / 493.1 MB, free: 6.43 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004781/0.1373, allocations: 0.5412 MB / 493.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.1373, allocations: 0 / 493.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1373, allocations: 0 / 493.6 MB, free: 5.887 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.883e-06/0.1374, allocations: 4 kB / 493.6 MB, free: 5.883 MB / 378.7 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.001323/0.1387, allocations: 0.7643 MB / 494.4 MB, free: 5.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.1387, allocations: 8.031 kB / 494.4 MB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001084/0.1388, allocations: 52.38 kB / 494.4 MB, free: 5.012 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004161/0.1393, allocations: 313.4 kB / 494.8 MB, free: 4.668 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.528e-05/0.1393, allocations: 33.38 kB / 494.8 MB, free: 4.637 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.887e-05/0.1394, allocations: 48.28 kB / 494.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007979/0.1402, allocations: 471.3 kB / 495.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.1402, allocations: 0 / 495.3 MB, free: 4.109 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.846e-05/0.1403, allocations: 16 kB / 495.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1403, allocations: 12 kB / 495.3 MB, free: 4.082 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000677/0.141, allocations: 327.8 kB / 495.6 MB, free: 3.762 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002388/0.1434, allocations: 1.693 MB / 497.3 MB, free: 1.953 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005149/0.1439, allocations: 233 kB / 497.6 MB, free: 1.707 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003101/0.1442, allocations: 137.6 kB / 497.7 MB, free: 1.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.65e-05/0.1443, allocations: 11.98 kB / 497.7 MB, free: 1.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.1443, allocations: 34.78 kB / 497.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 3.306e-06/0.1443, allocations: 0 / 497.7 MB, free: 1.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.002895/0.1472, allocations: 1.326 MB / 499.1 MB, free: 64 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.627e-05/0.1473, allocations: 89.11 kB / 499.2 MB, free: 15.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002691/0.1476, allocations: 262.5 kB / 499.4 MB, free: 15.7 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.1476, allocations: 29.7 kB / 499.4 MB, free: 15.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1478, allocations: 263.4 kB / 499.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.332e-05/0.1479, allocations: 122.2 kB / 499.8 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.148, allocations: 74.05 kB / 499.9 MB, free: 15.2 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/0.1481, allocations: 342.8 kB / 0.4885 GB, free: 14.85 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002634/0.1484, allocations: 108.8 kB / 0.4886 GB, free: 14.75 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003212/0.1487, allocations: 216.2 kB / 0.4888 GB, free: 14.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005795/0.1493, allocations: 335.7 kB / 0.4891 GB, free: 14.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1493, allocations: 7.938 kB / 0.4891 GB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007973/0.1501, allocations: 421.4 kB / 0.4895 GB, free: 13.7 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.1501, allocations: 8.031 kB / 0.4895 GB, free: 13.69 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.1502, allocations: 4 kB / 0.4896 GB, free: 13.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001462/0.1503, allocations: 36.83 kB / 0.4896 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.1508, allocations: 123.8 kB / 0.4897 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.1518, allocations: 1.331 MB / 0.491 GB, free: 12.05 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.152, allocations: 24.02 kB / 0.491 GB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.152, allocations: 20 kB / 0.491 GB, free: 12.01 MB / 394.7 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.0001979/0.1523, allocations: 162 kB / 0.4912 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.1523, allocations: 31.56 kB / 0.4912 GB, free: 11.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.576e-05/0.1524, allocations: 42.17 kB / 0.4913 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.1524, allocations: 4 kB / 0.4913 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.1524, allocations: 0 / 0.4913 GB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.1525, allocations: 3.984 kB / 0.4913 GB, free: 11.76 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001079/0.1535, allocations: 0.7115 MB / 0.492 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.1536, allocations: 0 / 0.492 GB, free: 10.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003871/0.154, allocations: 95.88 kB / 0.4921 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-05/0.154, allocations: 24.84 kB / 0.4921 GB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.1541, allocations: 11.98 kB / 0.4921 GB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009042/0.155, allocations: 1.331 MB / 0.4934 GB, free: 9.387 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.155, allocations: 4.031 kB / 0.4934 GB, free: 9.383 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004539/0.1595, allocations: 3.811 MB / 0.4971 GB, free: 5.285 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1597, allocations: 120.8 kB / 0.4972 GB, free: 5.148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.031e-05/0.1598, allocations: 4 kB / 0.4972 GB, free: 5.145 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002536/0.16, allocations: 24.05 kB / 0.4973 GB, free: 5.121 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.668e-05/0.1601, allocations: 31.89 kB / 0.4973 GB, free: 5.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.989e-05/0.1601, allocations: 12 kB / 0.4973 GB, free: 5.078 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001785/0.1603, allocations: 181.9 kB / 0.4975 GB, free: 4.902 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1603, allocations: 0 / 0.4975 GB, free: 4.902 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005992/0.1609, allocations: 124 kB / 0.4976 GB, free: 4.781 MB / 394.7 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.0001308/0.1611, allocations: 111.2 kB / 0.4977 GB, free: 4.66 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008124/0.1619, allocations: 406.2 kB / 0.4981 GB, free: 4.25 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.1619, allocations: 4.688 kB / 0.4981 GB, free: 4.246 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003724/0.1623, allocations: 258.1 kB / 0.4983 GB, free: 3.984 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004912/0.1628, allocations: 48.34 kB / 0.4984 GB, free: 3.938 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001889/0.1647, allocations: 1.442 MB / 0.4998 GB, free: 2.426 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/0.1651, allocations: 0.823 MB / 0.5006 GB, free: 1.578 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001716/0.1652, allocations: 38.95 kB / 0.5006 GB, free: 1.543 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.1653, allocations: 35.38 kB / 0.5007 GB, free: 1.508 MB / 394.7 MB Notification: Performance of SimCode: time 4.51e-07/0.1653, allocations: 0 / 0.5007 GB, free: 1.508 MB / 394.7 MB Notification: Performance of Templates: time 0.1838/0.3492, allocations: 3.481 MB / 0.5041 GB, free: 58.57 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & ./ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches