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/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 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 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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 113.4 kB / 17.04 MB, free: 6.078 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.00183/0.001829, allocations: 195 kB / 17.97 MB, free: 5.16 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2417/0.2417, allocations: 43.52 MB / 314.7 MB, free: 492 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 74.48 kB / 384.2 MB, free: 56.43 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1305/0.132, allocations: 57.79 MB / 442 MB, free: 6.164 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004766/0.1368, allocations: 3.423 MB / 445.4 MB, free: 2.719 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.1382, allocations: 0.8265 MB / 446.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001813/0.1384, allocations: 8 kB / 446.2 MB, free: 1.875 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001917/0.1386, allocations: 71.23 kB / 446.3 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002137/0.1389, allocations: 126.8 kB / 446.4 MB, free: 1.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000359/0.1393, allocations: 135.8 kB / 446.6 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005072/0.1398, allocations: 0.5179 MB / 447.1 MB, free: 1.027 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004285/0.1402, allocations: 245.8 kB / 447.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002742/0.1405, allocations: 215.3 kB / 447.5 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002906/0.1408, allocations: 234.9 kB / 447.7 MB, free: 352 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.812e-05/0.1409, allocations: 48 kB / 447.8 MB, free: 304 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.1409, allocations: 52 kB / 447.8 MB, free: 252 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000103/0.141, allocations: 111.6 kB / 448 MB, free: 140 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002643/0.1413, allocations: 250.9 kB / 448.2 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006575/0.142, allocations: 0.5526 MB / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.516e-06/0.142, allocations: 0 / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.427e-06/0.142, allocations: 0 / 448.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.405e-05/0.142, allocations: 0 / 448.8 MB, free: 15.34 MB / 334.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.001489/0.1435, allocations: 0.7603 MB / 449.5 MB, free: 14.53 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.1436, allocations: 16.02 kB / 449.5 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001046/0.1437, allocations: 52.31 kB / 449.6 MB, free: 14.46 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.1443, allocations: 321.3 kB / 449.9 MB, free: 14.1 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.1444, allocations: 41.31 kB / 449.9 MB, free: 14.06 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.199e-05/0.1444, allocations: 44.38 kB / 450 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000933/0.1454, allocations: 467.3 kB / 450.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.1454, allocations: 0 / 450.4 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.901e-05/0.1455, allocations: 20 kB / 450.5 MB, free: 13.53 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.1455, allocations: 12 kB / 450.5 MB, free: 13.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007689/0.1463, allocations: 323.8 kB / 450.8 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002723/0.149, allocations: 1.67 MB / 452.5 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005819/0.1496, allocations: 240.9 kB / 452.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.15, allocations: 137.7 kB / 452.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.141e-05/0.15, allocations: 0 / 452.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.15, allocations: 38.5 kB / 452.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.162e-06/0.1501, allocations: 0 / 452.9 MB, free: 10.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.003136/0.1532, allocations: 1.345 MB / 454.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.1533, allocations: 81.33 kB / 454.3 MB, free: 9.414 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1536, allocations: 258.5 kB / 454.5 MB, free: 9.152 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.88e-05/0.1536, allocations: 37.64 kB / 454.6 MB, free: 9.109 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000199/0.1538, allocations: 259.4 kB / 454.8 MB, free: 8.852 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.154, allocations: 122.3 kB / 454.9 MB, free: 8.73 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.1541, allocations: 78.03 kB / 455 MB, free: 8.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001998/0.1543, allocations: 342.8 kB / 455.4 MB, free: 8.305 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002733/0.1546, allocations: 104.8 kB / 455.5 MB, free: 8.203 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003606/0.155, allocations: 216.3 kB / 455.7 MB, free: 7.949 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006255/0.1556, allocations: 344 kB / 456 MB, free: 7.574 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1556, allocations: 0 / 456 MB, free: 7.574 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008869/0.1565, allocations: 418.3 kB / 456.4 MB, free: 7.156 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.514e-05/0.1565, allocations: 15.88 kB / 456.4 MB, free: 7.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.1566, allocations: 4 kB / 456.4 MB, free: 7.137 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001925/0.1568, allocations: 28.84 kB / 456.5 MB, free: 7.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004618/0.1572, allocations: 124.1 kB / 456.6 MB, free: 6.984 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.1585, allocations: 1.438 MB / 458 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002302/0.1588, allocations: 15.98 kB / 458 MB, free: 5.383 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.1588, allocations: 16 kB / 458.1 MB, free: 5.367 MB / 334.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.000213/0.159, allocations: 165.8 kB / 458.2 MB, free: 5.195 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.882e-05/0.1591, allocations: 31.62 kB / 458.2 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.706e-05/0.1592, allocations: 42.23 kB / 458.3 MB, free: 5.129 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1592, allocations: 4 kB / 458.3 MB, free: 5.125 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.1592, allocations: 4 kB / 458.3 MB, free: 5.121 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1592, allocations: 3.984 kB / 458.3 MB, free: 5.117 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/0.1604, allocations: 0.7076 MB / 459 MB, free: 4.344 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.1604, allocations: 4.062 kB / 459 MB, free: 4.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004042/0.1608, allocations: 91.88 kB / 459.1 MB, free: 4.25 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.452e-05/0.1609, allocations: 24.84 kB / 459.1 MB, free: 4.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.1609, allocations: 15.92 kB / 459.1 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/0.1621, allocations: 1.426 MB / 460.6 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1621, allocations: 4.031 kB / 460.6 MB, free: 2.633 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009877/0.1631, allocations: 0.6088 MB / 461.2 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.1632, allocations: 124.7 kB / 461.3 MB, free: 1.859 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.665e-05/0.1633, allocations: 12 kB / 461.3 MB, free: 1.848 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002656/0.1635, allocations: 19.98 kB / 461.3 MB, free: 1.828 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.1637, allocations: 31.84 kB / 461.4 MB, free: 1.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.1637, allocations: 4 kB / 461.4 MB, free: 1.793 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002575/0.1639, allocations: 190 kB / 461.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.164, allocations: 0 / 461.6 MB, free: 1.609 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005201/0.1645, allocations: 92 kB / 461.6 MB, free: 1.52 MB / 334.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.000165/0.1647, allocations: 107.1 kB / 461.7 MB, free: 1.406 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009631/0.1656, allocations: 410.2 kB / 462.1 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.1657, allocations: 4.25 kB / 462.2 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004198/0.1661, allocations: 254.4 kB / 462.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.1666, allocations: 44.42 kB / 462.4 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.1684, allocations: 0.8929 MB / 463.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004312/0.1688, allocations: 0.8113 MB / 464.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.169, allocations: 34.97 kB / 464.2 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.279e-05/0.169, allocations: 27.44 kB / 464.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of SimCode: time 9.72e-07/0.169, allocations: 0 / 464.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of Templates: time 0.007272/0.1763, allocations: 3.029 MB / 467.2 MB, free: 11.86 MB / 350.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches