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.0009136/0.0009136, allocations: 97.25 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009593/0.0009594, allocations: 177.1 kB / 16.91 MB, free: 6.684 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.709/1.709, allocations: 205.4 MB / 223.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4519/0.4519, allocations: 43.58 MB / 315 MB, free: 9.059 MB / 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.0006253/0.0006253, allocations: 15.98 kB / 384.6 MB, free: 7.887 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1661, allocations: 58.87 MB / 443.4 MB, free: 12.92 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004295/0.1705, allocations: 3.069 MB / 446.5 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.1723, allocations: 0.8148 MB / 447.3 MB, free: 9.012 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002251/0.1725, allocations: 8 kB / 447.3 MB, free: 9.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001954/0.1727, allocations: 51.59 kB / 447.4 MB, free: 8.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002694/0.173, allocations: 107.1 kB / 447.5 MB, free: 8.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.1734, allocations: 119.8 kB / 447.6 MB, free: 8.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005576/0.174, allocations: 0.4906 MB / 448.1 MB, free: 8.238 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00037/0.1744, allocations: 206.7 kB / 448.3 MB, free: 8.031 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002459/0.1746, allocations: 171.3 kB / 448.5 MB, free: 7.863 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002424/0.1749, allocations: 199 kB / 448.7 MB, free: 7.668 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.95e-05/0.1749, allocations: 32 kB / 448.7 MB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.78e-05/0.175, allocations: 24 kB / 448.7 MB, free: 7.613 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.652e-05/0.1751, allocations: 79.62 kB / 448.8 MB, free: 7.535 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002127/0.1753, allocations: 252.5 kB / 449 MB, free: 7.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.1758, allocations: 0.5216 MB / 449.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1758, allocations: 0 / 449.6 MB, free: 6.758 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.1758, allocations: 3.938 kB / 449.6 MB, free: 6.754 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1758, allocations: 0 / 449.6 MB, free: 6.754 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.001234/0.1771, allocations: 0.6941 MB / 450.3 MB, free: 6.012 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.1771, allocations: 8.031 kB / 450.3 MB, free: 6.004 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.64e-05/0.1772, allocations: 48.38 kB / 450.3 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004327/0.1776, allocations: 321.3 kB / 450.6 MB, free: 5.602 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.076e-05/0.1777, allocations: 33.38 kB / 450.7 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-05/0.1778, allocations: 48.38 kB / 450.7 MB, free: 5.523 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008375/0.1786, allocations: 471.3 kB / 451.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.676e-05/0.1787, allocations: 0 / 451.2 MB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.1787, allocations: 20 kB / 451.2 MB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/0.1788, allocations: 15.94 kB / 451.2 MB, free: 5.008 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000734/0.1795, allocations: 335.8 kB / 451.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002552/0.1821, allocations: 1.705 MB / 453.2 MB, free: 2.859 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005581/0.1826, allocations: 241 kB / 453.5 MB, free: 2.605 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003321/0.183, allocations: 141.7 kB / 453.6 MB, free: 2.461 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.183, allocations: 4 kB / 453.6 MB, free: 2.457 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.183, allocations: 38.56 kB / 453.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.1831, allocations: 0 / 453.7 MB, free: 2.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.003035/0.1861, allocations: 1.364 MB / 455 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1862, allocations: 81.11 kB / 455.1 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.1865, allocations: 266.6 kB / 455.4 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.824e-05/0.1865, allocations: 29.7 kB / 455.4 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.1867, allocations: 259.4 kB / 455.6 MB, free: 276 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.789e-05/0.1868, allocations: 118.2 kB / 455.8 MB, free: 156 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.1868, allocations: 41.7 kB / 455.8 MB, free: 108 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.3345/0.5214, allocations: 346.6 kB / 456.1 MB, free: 46.43 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005448/0.522, allocations: 108.4 kB / 456.2 MB, free: 46.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003642/0.5223, allocations: 222.8 kB / 456.5 MB, free: 46.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/0.523, allocations: 339.8 kB / 456.8 MB, free: 46.21 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.199e-06/0.523, allocations: 2.812 kB / 456.8 MB, free: 46.21 MB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009379/0.524, allocations: 426.9 kB / 457.2 MB, free: 46.16 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.063e-05/0.524, allocations: 10.97 kB / 457.2 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.524, allocations: 2.5 kB / 457.2 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002134/0.5242, allocations: 31.62 kB / 457.3 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.5247, allocations: 130.4 kB / 457.4 MB, free: 46.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001067/0.5258, allocations: 1.332 MB / 458.7 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.5261, allocations: 24.62 kB / 458.7 MB, free: 44.9 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.123e-05/0.5262, allocations: 15.41 kB / 458.8 MB, free: 44.9 MB / 382.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.0002844/0.5265, allocations: 172.8 kB / 458.9 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.776e-05/0.5266, allocations: 29.27 kB / 459 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.354e-05/0.5267, allocations: 37.94 kB / 459 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.5267, allocations: 2.844 kB / 459 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.998e-06/0.5267, allocations: 0.5625 kB / 459 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.5267, allocations: 2.969 kB / 459 MB, free: 44.78 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.5278, allocations: 0.7213 MB / 459.7 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.5278, allocations: 7.219 kB / 459.7 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003796/0.5282, allocations: 98.5 kB / 459.8 MB, free: 44.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.68e-05/0.5283, allocations: 27.12 kB / 459.8 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.5283, allocations: 6.531 kB / 459.9 MB, free: 44.44 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007691/0.5291, allocations: 1.33 MB / 461.2 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.5291, allocations: 2.266 kB / 461.2 MB, free: 43.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5303, allocations: 0.6231 MB / 461.8 MB, free: 42.93 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.5304, allocations: 117 kB / 461.9 MB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.5305, allocations: 13.09 kB / 461.9 MB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002614/0.5307, allocations: 24.28 kB / 462 MB, free: 42.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.5309, allocations: 31.5 kB / 462 MB, free: 42.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.5309, allocations: 12.56 kB / 462 MB, free: 42.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.5311, allocations: 182.4 kB / 462.2 MB, free: 42.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5311, allocations: 3.938 kB / 462.2 MB, free: 42.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005835/0.5317, allocations: 90.25 kB / 462.3 MB, free: 42.74 MB / 382.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.0002122/0.5319, allocations: 106.6 kB / 462.4 MB, free: 42.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.533, allocations: 419.2 kB / 462.8 MB, free: 42.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.5331, allocations: 0.75 kB / 462.8 MB, free: 42.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.5335, allocations: 267.1 kB / 463 MB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006699/0.5342, allocations: 45.36 kB / 463.1 MB, free: 42.4 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001759/0.5359, allocations: 1.178 MB / 464.3 MB, free: 41.71 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003077/0.5363, allocations: 0.8116 MB / 465.1 MB, free: 41 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001674/0.5364, allocations: 34.08 kB / 465.1 MB, free: 41 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.5365, allocations: 24.44 kB / 465.1 MB, free: 40.99 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.5365, allocations: 2.594 kB / 465.1 MB, free: 40.99 MB / 382.1 MB Notification: Performance of Templates: time 0.006707/0.5432, allocations: 2.829 MB / 468 MB, free: 40.81 MB / 382.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","../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches