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.001822/0.001822, allocations: 103.2 kB / 16.4 MB, free: 6.492 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.002147/0.002147, allocations: 192.2 kB / 17.34 MB, free: 5.73 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.796/1.796, allocations: 205.1 MB / 223.2 MB, free: 12.24 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.2682/0.2682, allocations: 43.53 MB / 314.1 MB, free: 444 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.001394/0.001394, allocations: 73.44 kB / 441.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1588, allocations: 57.78 MB / 499.6 MB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.00465/0.1635, allocations: 3.425 MB / 0.4912 GB, free: 8.363 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.165, allocations: 0.8381 MB / 0.492 GB, free: 7.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001941/0.1652, allocations: 8 kB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000229/0.1655, allocations: 75.23 kB / 0.4921 GB, free: 7.434 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1658, allocations: 126.8 kB / 0.4922 GB, free: 7.309 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004108/0.1662, allocations: 131.8 kB / 0.4924 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005486/0.1667, allocations: 0.5179 MB / 0.4929 GB, free: 6.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003957/0.1671, allocations: 253.7 kB / 0.4931 GB, free: 6.406 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002814/0.1674, allocations: 211.3 kB / 0.4933 GB, free: 6.199 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000287/0.1677, allocations: 235 kB / 0.4935 GB, free: 5.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.765e-05/0.1678, allocations: 48 kB / 0.4936 GB, free: 5.922 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.172e-05/0.1679, allocations: 48 kB / 0.4936 GB, free: 5.875 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001089/0.168, allocations: 111.6 kB / 0.4937 GB, free: 5.766 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002161/0.1682, allocations: 250.8 kB / 0.494 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.1688, allocations: 0.5527 MB / 0.4945 GB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.322e-06/0.1688, allocations: 0 / 0.4945 GB, free: 4.965 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1688, allocations: 4 kB / 0.4945 GB, free: 4.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.108e-06/0.1688, allocations: 0 / 0.4945 GB, free: 4.961 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.00132/0.1701, allocations: 0.7603 MB / 0.4953 GB, free: 4.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.1702, allocations: 12.03 kB / 0.4953 GB, free: 4.141 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.1703, allocations: 48.38 kB / 0.4953 GB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.1708, allocations: 325.3 kB / 0.4956 GB, free: 3.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.793e-05/0.1708, allocations: 33.38 kB / 0.4957 GB, free: 3.703 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.1709, allocations: 44.38 kB / 0.4957 GB, free: 3.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008511/0.1718, allocations: 471.3 kB / 0.4961 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.1718, allocations: 0 / 0.4961 GB, free: 3.188 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.1718, allocations: 19.94 kB / 0.4962 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.373e-05/0.1718, allocations: 12 kB / 0.4962 GB, free: 3.156 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007364/0.1726, allocations: 323.8 kB / 0.4965 GB, free: 2.84 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.175, allocations: 1.674 MB / 0.4981 GB, free: 1.051 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005562/0.1756, allocations: 240.9 kB / 0.4983 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003348/0.1759, allocations: 141.6 kB / 0.4985 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.1759, allocations: 4.219 kB / 0.4985 GB, free: 0.6484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.738e-05/0.176, allocations: 38.5 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.503e-06/0.176, allocations: 4 kB / 0.4985 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002995/0.179, allocations: 1.336 MB / 0.4998 GB, free: 15.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.1791, allocations: 85.09 kB / 0.4999 GB, free: 15.04 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1794, allocations: 254.5 kB / 0.5002 GB, free: 14.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1794, allocations: 29.7 kB / 0.5002 GB, free: 14.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.1796, allocations: 267.4 kB / 0.5004 GB, free: 14.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.615e-05/0.1797, allocations: 118.3 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001072/0.1798, allocations: 74.05 kB / 0.5006 GB, free: 14.29 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001733/0.18, allocations: 346.8 kB / 0.501 GB, free: 13.94 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.1803, allocations: 112.8 kB / 0.5011 GB, free: 13.83 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003396/0.1806, allocations: 216.2 kB / 0.5013 GB, free: 13.57 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006288/0.1813, allocations: 331.8 kB / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1813, allocations: 0 / 0.5016 GB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007926/0.1821, allocations: 425.6 kB / 0.502 GB, free: 12.78 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.1821, allocations: 8 kB / 0.502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/0.1821, allocations: 4 kB / 0.502 GB, free: 12.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001537/0.1823, allocations: 29.22 kB / 0.502 GB, free: 12.74 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/0.1827, allocations: 131.7 kB / 0.5022 GB, free: 12.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/0.1839, allocations: 1.442 MB / 0.5036 GB, free: 11.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.1841, allocations: 16 kB / 0.5036 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.401e-05/0.1841, allocations: 16 kB / 0.5036 GB, free: 10.99 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.000187/0.1843, allocations: 169.6 kB / 0.5038 GB, free: 10.81 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.978e-05/0.1844, allocations: 31.62 kB / 0.5038 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001305/0.1845, allocations: 42.23 kB / 0.5038 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1845, allocations: 4 kB / 0.5038 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.1846, allocations: 4 kB / 0.5038 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.1846, allocations: 3.938 kB / 0.5038 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001009/0.1856, allocations: 0.7077 MB / 0.5045 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1856, allocations: 0 / 0.5045 GB, free: 9.953 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003882/0.186, allocations: 91.88 kB / 0.5046 GB, free: 9.863 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-05/0.1861, allocations: 28.84 kB / 0.5046 GB, free: 9.832 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1861, allocations: 11.88 kB / 0.5047 GB, free: 9.82 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009542/0.1871, allocations: 1.434 MB / 0.5061 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1871, allocations: 0 / 0.5061 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000969/0.1881, allocations: 0.6072 MB / 0.5066 GB, free: 7.621 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.1882, allocations: 124.8 kB / 0.5068 GB, free: 7.48 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.675e-05/0.1882, allocations: 8 kB / 0.5068 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002704/0.1885, allocations: 23.98 kB / 0.5068 GB, free: 7.449 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.456e-05/0.1886, allocations: 31.89 kB / 0.5068 GB, free: 7.418 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1886, allocations: 4 kB / 0.5068 GB, free: 7.414 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001887/0.1888, allocations: 186 kB / 0.507 GB, free: 7.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1888, allocations: 0 / 0.507 GB, free: 7.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004279/0.1893, allocations: 92 kB / 0.5071 GB, free: 7.145 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.0001445/0.1894, allocations: 115.1 kB / 0.5072 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000872/0.1903, allocations: 410.9 kB / 0.5076 GB, free: 6.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1903, allocations: 4.125 kB / 0.5076 GB, free: 6.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003752/0.1907, allocations: 254.4 kB / 0.5078 GB, free: 6.344 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004659/0.1912, allocations: 41.19 kB / 0.5079 GB, free: 6.301 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.1927, allocations: 0.885 MB / 0.5087 GB, free: 5.387 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003891/0.1931, allocations: 0.8074 MB / 0.5095 GB, free: 4.551 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001437/0.1933, allocations: 42.94 kB / 0.5096 GB, free: 4.508 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.1933, allocations: 27.44 kB / 0.5096 GB, free: 4.48 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1933, allocations: 0 / 0.5096 GB, free: 4.48 MB / 398.1 MB Notification: Performance of Templates: time 0.007102/0.2004, allocations: 3.099 MB / 0.5126 GB, free: 1.398 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