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.001749/0.001749, allocations: 117 kB / 19.13 MB, free: 3.945 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.002091/0.002091, allocations: 214.6 kB / 22.08 MB, free: 0.9922 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.473/1.473, allocations: 227.4 MB / 252.3 MB, free: 276 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.2291/0.2291, allocations: 46.17 MB / 351.8 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.002237/0.002237, allocations: 76.14 kB / 490.9 MB, free: 28.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1252/0.1274, allocations: 62.45 MB / 0.5403 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005283/0.1328, allocations: 3.52 MB / 0.5438 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.1346, allocations: 0.8179 MB / 0.5446 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002105/0.1348, allocations: 8 kB / 0.5446 GB, free: 15.88 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002219/0.135, allocations: 75.23 kB / 0.5447 GB, free: 15.8 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.1354, allocations: 134.8 kB / 0.5448 GB, free: 15.67 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003852/0.1358, allocations: 127.8 kB / 0.5449 GB, free: 15.55 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005817/0.1363, allocations: 0.5218 MB / 0.5454 GB, free: 15.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003928/0.1368, allocations: 253.7 kB / 0.5457 GB, free: 14.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.137, allocations: 203.3 kB / 0.5459 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003058/0.1373, allocations: 235 kB / 0.5461 GB, free: 14.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.778e-05/0.1374, allocations: 52 kB / 0.5461 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.095e-05/0.1375, allocations: 48 kB / 0.5462 GB, free: 14.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001055/0.1376, allocations: 119.5 kB / 0.5463 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.1379, allocations: 250.8 kB / 0.5465 GB, free: 13.88 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006497/0.1385, allocations: 0.5563 MB / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1385, allocations: 0 / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.043e-06/0.1386, allocations: 0 / 0.5471 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.1386, allocations: 0 / 0.5471 GB, free: 13.32 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.001413/0.14, allocations: 0.7714 MB / 0.5478 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.14, allocations: 8.031 kB / 0.5478 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1401, allocations: 56.61 kB / 0.5479 GB, free: 12.44 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005392/0.1407, allocations: 317.6 kB / 0.5482 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.1407, allocations: 33.38 kB / 0.5482 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.137e-05/0.1408, allocations: 44.38 kB / 0.5483 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008702/0.1417, allocations: 467.2 kB / 0.5487 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.601e-05/0.1417, allocations: 0 / 0.5487 GB, free: 11.54 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.1418, allocations: 27.98 kB / 0.5487 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.1418, allocations: 8 kB / 0.5487 GB, free: 11.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007461/0.1426, allocations: 323.8 kB / 0.5491 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002621/0.1452, allocations: 1.686 MB / 0.5507 GB, free: 9.387 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005993/0.1458, allocations: 241 kB / 0.5509 GB, free: 9.133 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/0.1462, allocations: 133.7 kB / 0.5511 GB, free: 8.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.841e-05/0.1462, allocations: 8 kB / 0.5511 GB, free: 8.988 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.1462, allocations: 38.56 kB / 0.5511 GB, free: 8.941 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.543e-06/0.1463, allocations: 0 / 0.5511 GB, free: 8.941 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003209/0.1495, allocations: 1.346 MB / 0.5524 GB, free: 7.48 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/0.1495, allocations: 89.02 kB / 0.5525 GB, free: 7.375 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.1499, allocations: 266.5 kB / 0.5528 GB, free: 7.105 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.1499, allocations: 33.7 kB / 0.5528 GB, free: 7.066 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002014/0.1501, allocations: 260.1 kB / 0.553 GB, free: 6.805 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.1502, allocations: 126.9 kB / 0.5532 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.1504, allocations: 86.02 kB / 0.5532 GB, free: 6.586 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.1505, allocations: 338.8 kB / 0.5536 GB, free: 6.246 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.1508, allocations: 112.8 kB / 0.5537 GB, free: 6.137 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003577/0.1512, allocations: 212.3 kB / 0.5539 GB, free: 5.891 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006524/0.1519, allocations: 340.5 kB / 0.5542 GB, free: 5.52 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1519, allocations: 0 / 0.5542 GB, free: 5.52 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009196/0.1528, allocations: 419.4 kB / 0.5546 GB, free: 5.102 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.1528, allocations: 12.31 kB / 0.5546 GB, free: 5.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.1529, allocations: 8 kB / 0.5546 GB, free: 5.082 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001514/0.153, allocations: 28.84 kB / 0.5546 GB, free: 5.051 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.1535, allocations: 127.7 kB / 0.5548 GB, free: 4.926 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001295/0.1548, allocations: 1.443 MB / 0.5562 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.1551, allocations: 12 kB / 0.5562 GB, free: 3.332 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.1551, allocations: 19.98 kB / 0.5562 GB, free: 3.312 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.0002122/0.1553, allocations: 169.7 kB / 0.5564 GB, free: 3.137 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.293e-05/0.1554, allocations: 31.81 kB / 0.5564 GB, free: 3.105 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.935e-05/0.1555, allocations: 38.17 kB / 0.5564 GB, free: 3.066 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.1555, allocations: 4 kB / 0.5564 GB, free: 3.062 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.1555, allocations: 4 kB / 0.5564 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1555, allocations: 0 / 0.5564 GB, free: 3.059 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1567, allocations: 0.7115 MB / 0.5571 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.98e-06/0.1567, allocations: 4 kB / 0.5571 GB, free: 2.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004126/0.1572, allocations: 87.88 kB / 0.5572 GB, free: 2.191 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.325e-05/0.1573, allocations: 24.84 kB / 0.5572 GB, free: 2.164 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.743e-05/0.1573, allocations: 24 kB / 0.5573 GB, free: 2.141 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/0.1585, allocations: 1.426 MB / 0.5587 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.1585, allocations: 4.031 kB / 0.5587 GB, free: 0.5703 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.1596, allocations: 0.605 MB / 0.5593 GB, free: 15.94 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001391/0.1597, allocations: 120.9 kB / 0.5594 GB, free: 15.8 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.995e-05/0.1598, allocations: 8 kB / 0.5594 GB, free: 15.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002633/0.16, allocations: 23.97 kB / 0.5594 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.1601, allocations: 27.84 kB / 0.5594 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.1602, allocations: 16 kB / 0.5594 GB, free: 15.73 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002139/0.1604, allocations: 182 kB / 0.5596 GB, free: 15.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1604, allocations: 0 / 0.5596 GB, free: 15.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004911/0.1609, allocations: 92 kB / 0.5597 GB, free: 15.46 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.0001603/0.1611, allocations: 111.1 kB / 0.5598 GB, free: 15.34 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009087/0.162, allocations: 406.3 kB / 0.5602 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.162, allocations: 0 / 0.5602 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.1624, allocations: 256.3 kB / 0.5604 GB, free: 14.67 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.1629, allocations: 47.02 kB / 0.5605 GB, free: 14.62 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.1646, allocations: 0.9439 MB / 0.5614 GB, free: 13.64 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.1652, allocations: 0.8113 MB / 0.5622 GB, free: 12.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.1653, allocations: 35.44 kB / 0.5622 GB, free: 12.77 MB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1653, allocations: 0 / 0.5622 GB, free: 12.77 MB / 430.1 MB Notification: Performance of Templates: time 0.009104/0.1744, allocations: 5.975 MB / 0.5681 GB, free: 6.801 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.059896763996221]