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.001107/0.001107, allocations: 104 kB / 16.27 MB, free: 6.344 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.001463/0.001463, allocations: 191.6 kB / 17.2 MB, free: 5.945 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.71/1.71, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.2549/0.2549, allocations: 43.52 MB / 313.9 MB, free: 0.5391 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.001672/0.001672, allocations: 63.53 kB / 382.7 MB, free: 56.73 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1667/0.1684, allocations: 57.79 MB / 440.5 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.004462/0.1729, allocations: 3.422 MB / 443.9 MB, free: 3.48 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1741, allocations: 0.8187 MB / 444.8 MB, free: 2.652 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001952/0.1744, allocations: 11.94 kB / 444.8 MB, free: 2.641 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1745, allocations: 75.28 kB / 444.8 MB, free: 2.566 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002135/0.1748, allocations: 130.8 kB / 445 MB, free: 2.438 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003424/0.1751, allocations: 127.8 kB / 445.1 MB, free: 2.312 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.1756, allocations: 0.5179 MB / 445.6 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003735/0.176, allocations: 242.1 kB / 445.8 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002109/0.1762, allocations: 215.3 kB / 446.1 MB, free: 1.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.1764, allocations: 238.9 kB / 446.3 MB, free: 1.109 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.924e-05/0.1765, allocations: 48 kB / 446.3 MB, free: 1.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.74e-05/0.1766, allocations: 48 kB / 446.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.364e-05/0.1766, allocations: 111.6 kB / 446.5 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001739/0.1768, allocations: 246.8 kB / 446.7 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004098/0.1772, allocations: 0.545 MB / 447.3 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.1772, allocations: 0 / 447.3 MB, free: 120 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1773, allocations: 3.938 kB / 447.3 MB, free: 116 kB / 318.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.1773, allocations: 0 / 447.3 MB, free: 116 kB / 318.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.00143/0.1787, allocations: 0.7642 MB / 448 MB, free: 15.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.1788, allocations: 8.031 kB / 448.1 MB, free: 15.29 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001072/0.1789, allocations: 56.38 kB / 448.1 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004842/0.1794, allocations: 313.3 kB / 448.4 MB, free: 14.89 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.264e-05/0.1794, allocations: 37.38 kB / 448.5 MB, free: 14.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.303e-05/0.1795, allocations: 44.38 kB / 448.5 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008425/0.1803, allocations: 471.2 kB / 449 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.1804, allocations: 0 / 449 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.1804, allocations: 20 kB / 449 MB, free: 14.32 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.709e-05/0.1804, allocations: 15.98 kB / 449 MB, free: 14.3 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007193/0.1812, allocations: 323.8 kB / 449.3 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003007/0.1842, allocations: 1.682 MB / 451 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006393/0.1848, allocations: 241 kB / 451.2 MB, free: 11.94 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003839/0.1852, allocations: 133.7 kB / 451.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.1853, allocations: 4 kB / 451.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.611e-05/0.1853, allocations: 42.56 kB / 451.4 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.1853, allocations: 3.938 kB / 451.4 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.003189/0.1885, allocations: 1.33 MB / 452.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/0.1886, allocations: 85.05 kB / 452.8 MB, free: 10.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1889, allocations: 266.5 kB / 453.1 MB, free: 9.926 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.1889, allocations: 29.7 kB / 453.1 MB, free: 9.891 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1891, allocations: 267.4 kB / 453.4 MB, free: 9.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.952e-05/0.1892, allocations: 118.3 kB / 453.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.1893, allocations: 74.05 kB / 453.6 MB, free: 9.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1895, allocations: 346.8 kB / 453.9 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002623/0.1898, allocations: 100.8 kB / 454 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000356/0.1901, allocations: 220.2 kB / 454.2 MB, free: 8.727 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006428/0.1908, allocations: 344 kB / 454.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1908, allocations: 0 / 454.5 MB, free: 8.352 MB / 334.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009196/0.1917, allocations: 422.5 kB / 455 MB, free: 7.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.1917, allocations: 7.938 kB / 455 MB, free: 7.922 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/0.1918, allocations: 4 kB / 455 MB, free: 7.918 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001828/0.192, allocations: 28.84 kB / 455 MB, free: 7.887 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.1924, allocations: 131.7 kB / 455.1 MB, free: 7.758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001375/0.1938, allocations: 1.438 MB / 456.6 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.1941, allocations: 19.98 kB / 456.6 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.991e-05/0.1941, allocations: 20 kB / 456.6 MB, free: 6.133 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.0002114/0.1943, allocations: 165.8 kB / 456.8 MB, free: 5.961 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.412e-05/0.1944, allocations: 31.61 kB / 456.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.1945, allocations: 34.19 kB / 456.8 MB, free: 5.902 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-06/0.1945, allocations: 8.062 kB / 456.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.1945, allocations: 0 / 456.8 MB, free: 5.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1946, allocations: 3.984 kB / 456.8 MB, free: 5.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001154/0.1957, allocations: 0.7115 MB / 457.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1957, allocations: 0 / 457.6 MB, free: 5.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004079/0.1962, allocations: 99.94 kB / 457.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002459/0.1964, allocations: 24.84 kB / 457.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.1964, allocations: 11.94 kB / 457.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001756/0.1982, allocations: 1.43 MB / 459.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/0.1982, allocations: 0 / 459.1 MB, free: 3.402 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00136/0.1996, allocations: 0.6155 MB / 459.7 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001871/0.1998, allocations: 120.8 kB / 459.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.952e-05/0.1998, allocations: 12 kB / 459.9 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.2001, allocations: 19.98 kB / 459.9 MB, free: 2.598 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.941e-05/0.2002, allocations: 27.84 kB / 459.9 MB, free: 2.57 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.2002, allocations: 15.98 kB / 459.9 MB, free: 2.555 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001989/0.2004, allocations: 182 kB / 460.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2004, allocations: 0 / 460.1 MB, free: 2.379 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004836/0.2009, allocations: 96 kB / 460.2 MB, free: 2.285 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.0001838/0.2011, allocations: 107.3 kB / 460.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001205/0.2023, allocations: 426.9 kB / 460.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.2024, allocations: 0 / 460.7 MB, free: 1.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004841/0.2029, allocations: 254.4 kB / 461 MB, free: 1.48 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007431/0.2036, allocations: 40.42 kB / 461 MB, free: 1.438 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.2055, allocations: 0.897 MB / 461.9 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.2062, allocations: 0.8152 MB / 462.7 MB, free: 15.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.2064, allocations: 38.94 kB / 462.8 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.13e-05/0.2065, allocations: 31.44 kB / 462.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.2065, allocations: 0 / 462.8 MB, free: 15.6 MB / 350.1 MB Notification: Performance of Templates: time 0.00837/0.2149, allocations: 3.023 MB / 465.8 MB, free: 12.6 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 -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