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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001445/0.001444, allocations: 119.5 kB / 18.45 MB, free: 4.613 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001656/0.001656, allocations: 201.8 kB / 21.4 MB, free: 1.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.555/1.555, allocations: 227.4 MB / 251.6 MB, free: 288 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2589/0.2589, allocations: 46.17 MB / 351.1 MB, free: 14.32 MB / 286.1 MB " [Timeout remaining time 180] 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=4666,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=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002212/0.002212, allocations: 80.75 kB / 490.2 MB, free: 27.83 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1284, allocations: 62.45 MB / 0.5397 GB, free: 4.273 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005223/0.1337, allocations: 3.515 MB / 0.5431 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.1354, allocations: 0.8258 MB / 0.5439 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001946/0.1356, allocations: 11.94 kB / 0.5439 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002155/0.1358, allocations: 67.3 kB / 0.544 GB, free: 15.82 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002668/0.1361, allocations: 134.8 kB / 0.5441 GB, free: 15.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1365, allocations: 131.8 kB / 0.5442 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.1371, allocations: 0.5217 MB / 0.5447 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000369/0.1374, allocations: 253.8 kB / 0.545 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002348/0.1377, allocations: 199.3 kB / 0.5452 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.138, allocations: 239 kB / 0.5454 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.176e-05/0.1381, allocations: 51.94 kB / 0.5455 GB, free: 14.3 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.322e-05/0.1382, allocations: 48 kB / 0.5455 GB, free: 14.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001266/0.1383, allocations: 111.6 kB / 0.5456 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000252/0.1386, allocations: 246.8 kB / 0.5458 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.1392, allocations: 0.5602 MB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.1392, allocations: 4 kB / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1392, allocations: 0 / 0.5464 GB, free: 13.34 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1392, allocations: 0 / 0.5464 GB, free: 13.34 MB / 414.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.001379/0.1406, allocations: 0.7753 MB / 0.5472 GB, free: 12.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.1407, allocations: 8.031 kB / 0.5472 GB, free: 12.51 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001063/0.1408, allocations: 52.61 kB / 0.5472 GB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005631/0.1413, allocations: 313.6 kB / 0.5475 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.1414, allocations: 37.38 kB / 0.5475 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.646e-05/0.1415, allocations: 52.38 kB / 0.5476 GB, free: 12.02 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009155/0.1424, allocations: 467.2 kB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.65e-05/0.1425, allocations: 0 / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.1425, allocations: 20 kB / 0.5481 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.56e-05/0.1425, allocations: 12 kB / 0.5481 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/0.1433, allocations: 327.8 kB / 0.5484 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002641/0.1459, allocations: 1.674 MB / 0.55 GB, free: 9.406 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.1465, allocations: 251.9 kB / 0.5503 GB, free: 9.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000339/0.1469, allocations: 129.7 kB / 0.5504 GB, free: 9.012 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.958e-05/0.1469, allocations: 4 kB / 0.5504 GB, free: 9.008 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.771e-05/0.147, allocations: 42.72 kB / 0.5504 GB, free: 8.957 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.147, allocations: 3.938 kB / 0.5504 GB, free: 8.953 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003143/0.1501, allocations: 1.338 MB / 0.5517 GB, free: 7.496 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.828e-05/0.1502, allocations: 88.95 kB / 0.5518 GB, free: 7.391 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003047/0.1506, allocations: 266.5 kB / 0.5521 GB, free: 7.121 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.975e-05/0.1506, allocations: 33.7 kB / 0.5521 GB, free: 7.082 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1508, allocations: 260.1 kB / 0.5524 GB, free: 6.82 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001112/0.1509, allocations: 130.9 kB / 0.5525 GB, free: 6.691 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001226/0.151, allocations: 78.08 kB / 0.5526 GB, free: 6.605 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.1512, allocations: 338.8 kB / 0.5529 GB, free: 6.266 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002911/0.1515, allocations: 104.8 kB / 0.553 GB, free: 6.164 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003725/0.1519, allocations: 220.3 kB / 0.5532 GB, free: 5.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006669/0.1526, allocations: 340.6 kB / 0.5535 GB, free: 5.539 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1526, allocations: 4 kB / 0.5535 GB, free: 5.535 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008805/0.1535, allocations: 423.4 kB / 0.5539 GB, free: 5.113 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1535, allocations: 4 kB / 0.5539 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.1535, allocations: 4 kB / 0.5539 GB, free: 5.105 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001398/0.1537, allocations: 33.22 kB / 0.554 GB, free: 5.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004617/0.1541, allocations: 127.7 kB / 0.5541 GB, free: 4.945 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001332/0.1555, allocations: 1.439 MB / 0.5555 GB, free: 3.367 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.1557, allocations: 19.98 kB / 0.5555 GB, free: 3.348 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.938e-05/0.1558, allocations: 20 kB / 0.5555 GB, free: 3.328 MB / 414.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.0002158/0.156, allocations: 165.7 kB / 0.5557 GB, free: 3.156 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.373e-05/0.1561, allocations: 31.81 kB / 0.5557 GB, free: 3.125 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.748e-05/0.1561, allocations: 38.17 kB / 0.5558 GB, free: 3.086 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.1562, allocations: 4 kB / 0.5558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1562, allocations: 0 / 0.5558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.84e-06/0.1562, allocations: 0 / 0.5558 GB, free: 3.082 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.1573, allocations: 0.716 MB / 0.5565 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.965e-06/0.1574, allocations: 0 / 0.5565 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004062/0.1578, allocations: 95.88 kB / 0.5565 GB, free: 2.207 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.981e-05/0.1579, allocations: 24.84 kB / 0.5566 GB, free: 2.18 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.1579, allocations: 11.94 kB / 0.5566 GB, free: 2.168 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.1591, allocations: 1.426 MB / 0.558 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1591, allocations: 11.86 kB / 0.558 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.1601, allocations: 0.6107 MB / 0.5586 GB, free: 15.95 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.1603, allocations: 120.9 kB / 0.5587 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.942e-05/0.1603, allocations: 11.98 kB / 0.5587 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1606, allocations: 15.98 kB / 0.5587 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.1607, allocations: 31.84 kB / 0.5588 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/0.1607, allocations: 12 kB / 0.5588 GB, free: 15.75 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002411/0.1609, allocations: 182 kB / 0.5589 GB, free: 15.57 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.161, allocations: 4 kB / 0.5589 GB, free: 15.56 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004583/0.1614, allocations: 92 kB / 0.559 GB, free: 15.47 MB / 430.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.00013/0.1616, allocations: 111.1 kB / 0.5591 GB, free: 15.36 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0008961/0.1625, allocations: 410.6 kB / 0.5595 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.1625, allocations: 3.938 kB / 0.5595 GB, free: 14.94 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.1629, allocations: 246.5 kB / 0.5598 GB, free: 14.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.1634, allocations: 42.59 kB / 0.5598 GB, free: 14.64 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.165, allocations: 0.9157 MB / 0.5607 GB, free: 13.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006114/0.1656, allocations: 0.8113 MB / 0.5615 GB, free: 12.86 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.1658, allocations: 38.95 kB / 0.5615 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.434e-05/0.1659, allocations: 23.44 kB / 0.5616 GB, free: 12.79 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1659, allocations: 4 kB / 0.5616 GB, free: 12.79 MB / 430.1 MB Notification: Performance of Templates: time 0.00856/0.1745, allocations: 3.167 MB / 0.5647 GB, free: 9.648 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.159289968200028]