Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.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_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001173/0.001173, allocations: 110.9 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 209.8 kB / 18.27 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.385/1.385, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.233/0.233, allocations: 46.1 MB / 343.8 MB, free: 11.76 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001537/0.001537, allocations: 76.5 kB / 417 MB, free: 20.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1362/0.1377, allocations: 62.45 MB / 479.5 MB, free: 5.625 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005938/0.1437, allocations: 3.545 MB / 483 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002068/0.1458, allocations: 0.8296 MB / 483.9 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004807/0.1463, allocations: 8 kB / 483.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003354/0.1467, allocations: 51.55 kB / 483.9 MB, free: 1.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000551/0.1473, allocations: 103.1 kB / 484 MB, free: 1.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005156/0.1478, allocations: 111.9 kB / 484.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000676/0.1485, allocations: 0.5218 MB / 484.6 MB, free: 436 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003818/0.1489, allocations: 229.8 kB / 484.9 MB, free: 204 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002578/0.1491, allocations: 215.3 kB / 485.1 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1494, allocations: 235 kB / 485.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.1495, allocations: 48 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.85e-05/0.1496, allocations: 51.94 kB / 485.4 MB, free: 15.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 8.594e-05/0.1497, allocations: 107.6 kB / 485.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002171/0.1499, allocations: 250.8 kB / 485.8 MB, free: 15.31 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005377/0.1504, allocations: 0.553 MB / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1505, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.1505, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1505, allocations: 0 / 486.3 MB, free: 14.75 MB / 366.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.001464/0.152, allocations: 0.7525 MB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.647e-05/0.152, allocations: 8.031 kB / 487.1 MB, free: 13.95 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.1522, allocations: 60.22 kB / 487.1 MB, free: 13.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.1527, allocations: 313.5 kB / 487.4 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.1527, allocations: 37.38 kB / 487.5 MB, free: 13.5 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.798e-05/0.1528, allocations: 56.3 kB / 487.5 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008393/0.1537, allocations: 463.2 kB / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.1537, allocations: 0 / 488 MB, free: 12.98 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.1538, allocations: 20 kB / 488 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.542e-05/0.1538, allocations: 16 kB / 488 MB, free: 12.95 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007185/0.1545, allocations: 323.8 kB / 488.3 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002594/0.1571, allocations: 1.689 MB / 490 MB, free: 10.82 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005693/0.1577, allocations: 241 kB / 490.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.158, allocations: 137.7 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.861e-05/0.1581, allocations: 4 kB / 490.4 MB, free: 10.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1581, allocations: 42.56 kB / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.1581, allocations: 0 / 490.4 MB, free: 10.38 MB / 366.1 MB Notification: Performance of matching and sorting (n=34): time 0.002991/0.1611, allocations: 1.348 MB / 491.8 MB, free: 8.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1612, allocations: 81.11 kB / 491.9 MB, free: 8.812 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002719/0.1615, allocations: 266.5 kB / 492.1 MB, free: 8.547 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.1615, allocations: 29.7 kB / 492.2 MB, free: 8.512 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001554/0.1617, allocations: 259.4 kB / 492.4 MB, free: 8.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.127e-05/0.1618, allocations: 118.2 kB / 492.5 MB, free: 8.133 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/0.1619, allocations: 82.12 kB / 492.6 MB, free: 8.047 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001219/0.162, allocations: 334.8 kB / 492.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002602/0.1623, allocations: 108.8 kB / 493 MB, free: 7.605 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003328/0.1626, allocations: 220.3 kB / 493.3 MB, free: 7.344 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005945/0.1632, allocations: 342.1 kB / 493.6 MB, free: 6.969 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.838e-06/0.1632, allocations: 4 kB / 493.6 MB, free: 6.965 MB / 366.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008286/0.1641, allocations: 423.7 kB / 494 MB, free: 6.547 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1641, allocations: 8 kB / 494 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/0.1641, allocations: 0 / 494 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.1643, allocations: 28.84 kB / 494 MB, free: 6.508 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004679/0.1647, allocations: 123.8 kB / 494.2 MB, free: 6.387 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/0.166, allocations: 1.435 MB / 495.6 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002627/0.1662, allocations: 20.05 kB / 495.6 MB, free: 4.793 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.634e-05/0.1663, allocations: 20 kB / 495.6 MB, free: 4.773 MB / 366.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.0002177/0.1665, allocations: 169.6 kB / 495.8 MB, free: 4.598 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.628e-05/0.1666, allocations: 27.62 kB / 495.8 MB, free: 4.57 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.602e-05/0.1667, allocations: 42.17 kB / 495.9 MB, free: 4.527 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1667, allocations: 7.938 kB / 495.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.1667, allocations: 0 / 495.9 MB, free: 4.52 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.1667, allocations: 7.984 kB / 495.9 MB, free: 4.512 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001117/0.1679, allocations: 0.7115 MB / 496.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.1679, allocations: 0 / 496.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004217/0.1683, allocations: 95.94 kB / 496.7 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.691e-05/0.1684, allocations: 24.84 kB / 496.7 MB, free: 3.613 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.728e-05/0.1684, allocations: 15.92 kB / 496.7 MB, free: 3.598 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001005/0.1695, allocations: 1.422 MB / 498.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.1695, allocations: 0 / 498.2 MB, free: 2.035 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.1705, allocations: 0.6068 MB / 498.8 MB, free: 1.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.1706, allocations: 128.7 kB / 498.9 MB, free: 1.266 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.174e-05/0.1707, allocations: 8 kB / 498.9 MB, free: 1.258 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002766/0.171, allocations: 19.98 kB / 498.9 MB, free: 1.238 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.77e-05/0.171, allocations: 31.84 kB / 498.9 MB, free: 1.207 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.14e-05/0.1711, allocations: 12 kB / 499 MB, free: 1.195 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1713, allocations: 182 kB / 499.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1713, allocations: 0 / 499.1 MB, free: 1.02 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004811/0.1717, allocations: 96 kB / 499.2 MB, free: 0.9258 MB / 366.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.0001337/0.1719, allocations: 107.2 kB / 499.3 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008902/0.1728, allocations: 414.7 kB / 499.7 MB, free: 404 kB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.1728, allocations: 4.188 kB / 499.7 MB, free: 400 kB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003933/0.1732, allocations: 254.5 kB / 500 MB, free: 132 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.1738, allocations: 44.53 kB / 0.4883 GB, free: 88 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.1756, allocations: 1.092 MB / 0.4894 GB, free: 14.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.176, allocations: 0.8074 MB / 0.4902 GB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001733/0.1762, allocations: 42.94 kB / 0.4902 GB, free: 14.08 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.067e-05/0.1762, allocations: 23.44 kB / 0.4902 GB, free: 14.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.274e-06/0.1763, allocations: 0 / 0.4902 GB, free: 14.05 MB / 382.1 MB Notification: Performance of Templates: time 0.007351/0.1836, allocations: 3.07 MB / 0.4932 GB, free: 11.01 MB / 382.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches