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.00186/0.00186, allocations: 103.2 kB / 16.4 MB, free: 6.453 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.00197/0.00197, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.837/1.837, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2551/0.2551, allocations: 43.52 MB / 314.1 MB, free: 440 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.00171/0.00171, allocations: 69.45 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1516, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.005465/0.1571, allocations: 3.421 MB / 0.4912 GB, free: 8.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00208/0.1592, allocations: 0.8381 MB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005251/0.1598, allocations: 8 kB / 0.492 GB, free: 7.484 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.1602, allocations: 71.23 kB / 0.4921 GB, free: 7.414 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.1608, allocations: 138.8 kB / 0.4922 GB, free: 7.277 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.1615, allocations: 127.8 kB / 0.4924 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008089/0.1623, allocations: 0.514 MB / 0.4929 GB, free: 6.637 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.1627, allocations: 245.8 kB / 0.4931 GB, free: 6.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003258/0.163, allocations: 215.2 kB / 0.4933 GB, free: 6.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.1633, allocations: 235 kB / 0.4935 GB, free: 5.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.615e-05/0.1634, allocations: 48 kB / 0.4936 GB, free: 5.902 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.1635, allocations: 52 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.81e-05/0.1636, allocations: 107.6 kB / 0.4937 GB, free: 5.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002267/0.1638, allocations: 242.9 kB / 0.494 GB, free: 5.508 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006035/0.1644, allocations: 0.5683 MB / 0.4945 GB, free: 4.938 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.1644, allocations: 0 / 0.4945 GB, free: 4.938 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.1644, allocations: 0 / 0.4945 GB, free: 4.938 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.1644, allocations: 0 / 0.4945 GB, free: 4.938 MB / 382.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.001326/0.1658, allocations: 0.7603 MB / 0.4953 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.25e-05/0.1658, allocations: 8.031 kB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/0.1659, allocations: 48.38 kB / 0.4953 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/0.1664, allocations: 325.3 kB / 0.4956 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.663e-05/0.1665, allocations: 33.38 kB / 0.4956 GB, free: 3.684 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.491e-05/0.1666, allocations: 48.38 kB / 0.4957 GB, free: 3.637 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.1673, allocations: 467.3 kB / 0.4961 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.1674, allocations: 0 / 0.4961 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/0.1674, allocations: 16 kB / 0.4962 GB, free: 3.152 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.1674, allocations: 12 kB / 0.4962 GB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006725/0.1681, allocations: 331.8 kB / 0.4965 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.1705, allocations: 1.67 MB / 0.4981 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005399/0.171, allocations: 241 kB / 0.4983 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003055/0.1713, allocations: 141.8 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.629e-05/0.1714, allocations: 7.938 kB / 0.4985 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.1714, allocations: 42.56 kB / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.1714, allocations: 0 / 0.4985 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002826/0.1743, allocations: 1.333 MB / 0.4998 GB, free: 15.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.634e-05/0.1743, allocations: 89.09 kB / 0.4999 GB, free: 15.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002702/0.1746, allocations: 258.5 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1746, allocations: 33.7 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001678/0.1748, allocations: 259.4 kB / 0.5004 GB, free: 14.45 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.698e-05/0.1749, allocations: 118.3 kB / 0.5006 GB, free: 14.34 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001291/0.175, allocations: 81.97 kB / 0.5006 GB, free: 14.25 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1752, allocations: 342.8 kB / 0.501 GB, free: 13.91 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003319/0.1755, allocations: 108.8 kB / 0.5011 GB, free: 13.8 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.1758, allocations: 216.2 kB / 0.5013 GB, free: 13.55 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005679/0.1764, allocations: 331.8 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.1764, allocations: 4 kB / 0.5016 GB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000817/0.1773, allocations: 421.6 kB / 0.502 GB, free: 12.75 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1773, allocations: 4 kB / 0.502 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.343e-06/0.1773, allocations: 4 kB / 0.502 GB, free: 12.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001512/0.1775, allocations: 37.22 kB / 0.502 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.1779, allocations: 123.8 kB / 0.5022 GB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001247/0.1792, allocations: 1.442 MB / 0.5036 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.1794, allocations: 16 kB / 0.5036 GB, free: 10.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.1794, allocations: 27.98 kB / 0.5036 GB, free: 10.95 MB / 398.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.0002081/0.1797, allocations: 169.7 kB / 0.5038 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.853e-05/0.1797, allocations: 27.62 kB / 0.5038 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.708e-05/0.1798, allocations: 42.17 kB / 0.5038 GB, free: 10.71 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1799, allocations: 4 kB / 0.5038 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.261e-06/0.1799, allocations: 0 / 0.5038 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1799, allocations: 0 / 0.5038 GB, free: 10.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001203/0.1811, allocations: 0.7115 MB / 0.5045 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.1811, allocations: 0 / 0.5045 GB, free: 9.926 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004114/0.1815, allocations: 95.88 kB / 0.5046 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-05/0.1816, allocations: 24.84 kB / 0.5046 GB, free: 9.805 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.969e-05/0.1817, allocations: 11.94 kB / 0.5047 GB, free: 9.793 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.183, allocations: 1.434 MB / 0.5061 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.183, allocations: 0 / 0.5061 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1842, allocations: 0.6072 MB / 0.5066 GB, free: 7.594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/0.1843, allocations: 128.8 kB / 0.5068 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.387e-05/0.1844, allocations: 8 kB / 0.5068 GB, free: 7.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1847, allocations: 15.98 kB / 0.5068 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.607e-05/0.1848, allocations: 31.89 kB / 0.5068 GB, free: 7.395 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.1848, allocations: 8 kB / 0.5068 GB, free: 7.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000241/0.185, allocations: 182 kB / 0.507 GB, free: 7.211 MB / 398.1 MB Notification: Performance of sort global known variables: time 6.61e-07/0.1851, allocations: 7.938 kB / 0.507 GB, free: 7.203 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005257/0.1856, allocations: 92 kB / 0.5071 GB, free: 7.113 MB / 398.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.0001551/0.1858, allocations: 111.1 kB / 0.5072 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0009024/0.1867, allocations: 411.2 kB / 0.5076 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.167e-06/0.1867, allocations: 3.938 kB / 0.5076 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004329/0.1871, allocations: 250.4 kB / 0.5078 GB, free: 6.32 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.1877, allocations: 45.69 kB / 0.5079 GB, free: 6.273 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.1899, allocations: 0.8852 MB / 0.5087 GB, free: 5.355 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006419/0.1905, allocations: 0.8035 MB / 0.5095 GB, free: 4.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.1908, allocations: 46.94 kB / 0.5096 GB, free: 4.477 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.639e-05/0.1909, allocations: 23.44 kB / 0.5096 GB, free: 4.453 MB / 398.1 MB Notification: Performance of SimCode: time 1.122e-06/0.1909, allocations: 0 / 0.5096 GB, free: 4.453 MB / 398.1 MB Notification: Performance of Templates: time 0.00877/0.1997, allocations: 3.095 MB / 0.5126 GB, free: 1.375 MB / 398.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 -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches