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.001118/0.001118, allocations: 104.6 kB / 16.4 MB, free: 5.961 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.001046/0.001046, allocations: 195.7 kB / 17.34 MB, free: 5.566 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.719/1.719, 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.2902/0.2902, 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.001599/0.0016, allocations: 67.89 kB / 441.8 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.144, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004562/0.1486, allocations: 3.421 MB / 0.4912 GB, free: 8.352 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001677/0.1503, allocations: 0.834 MB / 0.492 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001966/0.1505, allocations: 8 kB / 0.492 GB, free: 7.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.1508, allocations: 79.22 kB / 0.4921 GB, free: 7.422 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1511, allocations: 126.8 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.1515, allocations: 131.8 kB / 0.4924 GB, free: 7.168 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005272/0.152, allocations: 0.514 MB / 0.4929 GB, free: 6.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003779/0.1524, allocations: 253.8 kB / 0.4931 GB, free: 6.398 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002674/0.1527, allocations: 207.3 kB / 0.4933 GB, free: 6.195 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.153, allocations: 235 kB / 0.4935 GB, free: 5.965 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.154e-05/0.1531, allocations: 48 kB / 0.4936 GB, free: 5.918 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.497e-05/0.1532, allocations: 52 kB / 0.4936 GB, free: 5.867 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.665e-05/0.1533, allocations: 107.6 kB / 0.4937 GB, free: 5.762 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002208/0.1535, allocations: 246.8 kB / 0.494 GB, free: 5.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006452/0.1542, allocations: 0.5641 MB / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.1542, allocations: 0 / 0.4945 GB, free: 4.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.1542, allocations: 4 kB / 0.4945 GB, free: 4.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.297e-06/0.1542, allocations: 0 / 0.4945 GB, free: 4.949 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.001295/0.1555, allocations: 0.7715 MB / 0.4953 GB, free: 4.129 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1556, allocations: 8.031 kB / 0.4953 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1557, allocations: 48.66 kB / 0.4953 GB, free: 4.074 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004389/0.1561, allocations: 325.4 kB / 0.4956 GB, free: 3.715 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.869e-05/0.1562, allocations: 37.38 kB / 0.4957 GB, free: 3.68 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.1563, allocations: 48.38 kB / 0.4957 GB, free: 3.633 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007893/0.1571, allocations: 463.3 kB / 0.4962 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.1571, allocations: 0 / 0.4962 GB, free: 3.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.02e-05/0.1571, allocations: 23.94 kB / 0.4962 GB, free: 3.145 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.1571, allocations: 15.94 kB / 0.4962 GB, free: 3.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006807/0.1578, allocations: 319.8 kB / 0.4965 GB, free: 2.816 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.1602, allocations: 1.678 MB / 0.4981 GB, free: 1.023 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005387/0.1608, allocations: 245 kB / 0.4984 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003128/0.1611, allocations: 129.9 kB / 0.4985 GB, free: 0.6328 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.1612, allocations: 7.938 kB / 0.4985 GB, free: 0.625 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.512e-05/0.1612, allocations: 34.56 kB / 0.4985 GB, free: 0.582 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.283e-06/0.1612, allocations: 4 kB / 0.4985 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.002963/0.1642, allocations: 1.354 MB / 0.4999 GB, free: 15.11 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/0.1643, allocations: 81.11 kB / 0.4999 GB, free: 15.01 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003063/0.1646, allocations: 262.6 kB / 0.5002 GB, free: 14.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.1646, allocations: 29.7 kB / 0.5002 GB, free: 14.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1648, allocations: 276.1 kB / 0.5005 GB, free: 14.43 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001071/0.1649, allocations: 118.9 kB / 0.5006 GB, free: 14.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001236/0.1651, allocations: 82.02 kB / 0.5007 GB, free: 14.23 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1652, allocations: 342.8 kB / 0.501 GB, free: 13.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002703/0.1655, allocations: 104.8 kB / 0.5011 GB, free: 13.78 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003619/0.1659, allocations: 220.2 kB / 0.5013 GB, free: 13.52 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006339/0.1665, allocations: 343.3 kB / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1665, allocations: 0 / 0.5016 GB, free: 13.15 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007752/0.1673, allocations: 425.8 kB / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.1674, allocations: 4 kB / 0.502 GB, free: 12.72 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.988e-06/0.1674, allocations: 4 kB / 0.502 GB, free: 12.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001413/0.1675, allocations: 29.19 kB / 0.5021 GB, free: 12.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004342/0.168, allocations: 127.8 kB / 0.5022 GB, free: 12.56 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00113/0.1691, allocations: 1.446 MB / 0.5036 GB, free: 10.96 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002211/0.1693, allocations: 19.98 kB / 0.5036 GB, free: 10.95 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.926e-05/0.1694, allocations: 20 kB / 0.5036 GB, free: 10.93 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.0002033/0.1696, allocations: 165.7 kB / 0.5038 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.278e-05/0.1697, allocations: 27.81 kB / 0.5038 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/0.1697, allocations: 42.23 kB / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1698, allocations: 4 kB / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.1698, allocations: 0 / 0.5039 GB, free: 10.68 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.924e-06/0.1698, allocations: 7.922 kB / 0.5039 GB, free: 10.67 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.1709, allocations: 0.7074 MB / 0.5046 GB, free: 9.902 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1709, allocations: 7.969 kB / 0.5046 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003822/0.1713, allocations: 95.88 kB / 0.5047 GB, free: 9.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.041e-05/0.1714, allocations: 28.83 kB / 0.5047 GB, free: 9.77 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.273e-05/0.1714, allocations: 11.94 kB / 0.5047 GB, free: 9.758 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009251/0.1723, allocations: 1.422 MB / 0.5061 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.1724, allocations: 0 / 0.5061 GB, free: 8.199 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009347/0.1733, allocations: 0.6129 MB / 0.5067 GB, free: 7.562 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.1734, allocations: 124.9 kB / 0.5068 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.742e-05/0.1735, allocations: 12 kB / 0.5068 GB, free: 7.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000251/0.1737, allocations: 19.98 kB / 0.5068 GB, free: 7.391 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/0.1738, allocations: 27.91 kB / 0.5069 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.1738, allocations: 12 kB / 0.5069 GB, free: 7.352 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001802/0.174, allocations: 186 kB / 0.5071 GB, free: 7.172 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.174, allocations: 3.938 kB / 0.5071 GB, free: 7.168 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004642/0.1745, allocations: 92 kB / 0.5072 GB, free: 7.078 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.000123/0.1746, allocations: 111.1 kB / 0.5073 GB, free: 6.961 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.1755, allocations: 406.9 kB / 0.5077 GB, free: 6.551 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1755, allocations: 4.125 kB / 0.5077 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003688/0.1759, allocations: 246.5 kB / 0.5079 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.1763, allocations: 36.55 kB / 0.5079 GB, free: 6.254 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001609/0.1779, allocations: 0.8996 MB / 0.5088 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003984/0.1783, allocations: 0.8113 MB / 0.5096 GB, free: 4.48 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001448/0.1785, allocations: 38.95 kB / 0.5096 GB, free: 4.441 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.107e-05/0.1786, allocations: 31.44 kB / 0.5097 GB, free: 4.41 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1786, allocations: 0 / 0.5097 GB, free: 4.41 MB / 398.1 MB Notification: Performance of Templates: time 0.007739/0.1863, allocations: 3.096 MB / 0.5127 GB, free: 1.336 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