Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.00161/0.00161, allocations: 117.1 kB / 19.13 MB, free: 3.934 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.001702/0.001702, allocations: 214.6 kB / 22.08 MB, free: 0.9805 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.534/1.534, allocations: 227.4 MB / 252.3 MB, free: 64 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.2404/0.2404, allocations: 46.18 MB / 351.8 MB, free: 14.28 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.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") translateModel(ModelicaTest.Rotational.GenerationOfFMUs,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|directInertia.inertia.phi|directInertia.inertia.w|inertia2a.phi|inertia2a.w|inertia2b.phi|inertia2b.w|inertia3a.phi|inertia3a.w|inertia3b.phi|inertia3b.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 77.19 kB / 490.9 MB, free: 28.14 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1295/0.1318, allocations: 62.45 MB / 0.5403 GB, free: 4.266 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.007733/0.1396, allocations: 5.778 MB / 0.546 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004711/0.1444, allocations: 2.348 MB / 0.5483 GB, free: 12.09 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001016/0.1454, allocations: 43.75 kB / 0.5483 GB, free: 12.05 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006212/0.1461, allocations: 226 kB / 0.5485 GB, free: 11.83 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000579/0.1467, allocations: 186.2 kB / 0.5487 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1479, allocations: 470.9 kB / 0.5492 GB, free: 11.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00134/0.1493, allocations: 1.118 MB / 0.5502 GB, free: 10.06 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008777/0.1502, allocations: 0.6224 MB / 0.5509 GB, free: 9.414 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005626/0.1507, allocations: 370.7 kB / 0.5512 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004513/0.1512, allocations: 394 kB / 0.5516 GB, free: 8.664 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001306/0.1513, allocations: 96 kB / 0.5517 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002987/0.1516, allocations: 155.9 kB / 0.5518 GB, free: 8.418 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.1519, allocations: 223.3 kB / 0.552 GB, free: 8.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004502/0.1523, allocations: 465.7 kB / 0.5525 GB, free: 7.742 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1538, allocations: 1.284 MB / 0.5537 GB, free: 6.453 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.1538, allocations: 4 kB / 0.5537 GB, free: 6.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1538, allocations: 0 / 0.5537 GB, free: 6.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.399e-05/0.1538, allocations: 0 / 0.5537 GB, free: 6.449 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.001689/0.1555, allocations: 1.16 MB / 0.5549 GB, free: 5.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.008e-05/0.1556, allocations: 8.031 kB / 0.5549 GB, free: 5.23 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/0.1559, allocations: 116.2 kB / 0.555 GB, free: 5.117 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009291/0.1568, allocations: 0.5986 MB / 0.5556 GB, free: 4.477 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.272e-05/0.1569, allocations: 70 kB / 0.5556 GB, free: 4.406 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.157, allocations: 91.95 kB / 0.5557 GB, free: 4.316 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001481/0.1585, allocations: 0.8892 MB / 0.5566 GB, free: 3.367 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.808e-05/0.1585, allocations: 7.938 kB / 0.5566 GB, free: 3.359 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.15e-05/0.1586, allocations: 43.98 kB / 0.5566 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.547e-05/0.1587, allocations: 24 kB / 0.5567 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/0.1597, allocations: 0.5229 MB / 0.5572 GB, free: 2.766 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003849/0.1635, allocations: 3.609 MB / 0.5607 GB, free: 15 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006185/0.1642, allocations: 229.6 kB / 0.5609 GB, free: 14.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001893/0.1644, allocations: 100.8 kB / 0.561 GB, free: 14.66 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002683/0.1646, allocations: 247.3 kB / 0.5613 GB, free: 14.37 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.1647, allocations: 38.5 kB / 0.5613 GB, free: 14.32 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.495e-06/0.1647, allocations: 0 / 0.5613 GB, free: 14.32 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.00263/0.1673, allocations: 1.309 MB / 0.5626 GB, free: 12.91 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.1674, allocations: 59.28 kB / 0.5626 GB, free: 12.84 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004882/0.1679, allocations: 401.9 kB / 0.563 GB, free: 12.45 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.734e-05/0.1679, allocations: 33.7 kB / 0.563 GB, free: 12.41 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.1683, allocations: 487.5 kB / 0.5635 GB, free: 11.93 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.1684, allocations: 134.9 kB / 0.5636 GB, free: 11.79 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001389/0.1686, allocations: 98.2 kB / 0.5637 GB, free: 11.69 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001796/0.1688, allocations: 362.8 kB / 0.5641 GB, free: 11.33 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002194/0.169, allocations: 117 kB / 0.5642 GB, free: 11.21 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003611/0.1694, allocations: 310 kB / 0.5645 GB, free: 10.82 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006197/0.17, allocations: 459.6 kB / 0.5649 GB, free: 10.29 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.17, allocations: 0 / 0.5649 GB, free: 10.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00084/0.1708, allocations: 0.5211 MB / 0.5654 GB, free: 9.758 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.982e-05/0.1709, allocations: 11.94 kB / 0.5654 GB, free: 9.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/0.1709, allocations: 4 kB / 0.5654 GB, free: 9.742 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/0.1711, allocations: 40.84 kB / 0.5655 GB, free: 9.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.1715, allocations: 127.8 kB / 0.5656 GB, free: 9.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004657/0.172, allocations: 0.5601 MB / 0.5662 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002126/0.1722, allocations: 24.16 kB / 0.5662 GB, free: 8.965 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.248e-05/0.1723, allocations: 24 kB / 0.5662 GB, free: 8.941 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (68): * Single equations (assignments): 67 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0003326/0.1726, allocations: 225.6 kB / 0.5664 GB, free: 8.711 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.1727, allocations: 55.61 kB / 0.5665 GB, free: 8.656 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006694/0.1734, allocations: 327 kB / 0.5668 GB, free: 8.324 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/0.1734, allocations: 8 kB / 0.5668 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.1734, allocations: 0 / 0.5668 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1734, allocations: 0 / 0.5668 GB, free: 8.316 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001563/0.175, allocations: 1.059 MB / 0.5678 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.175, allocations: 8.156 kB / 0.5678 GB, free: 7.176 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003655/0.1754, allocations: 83.89 kB / 0.5679 GB, free: 7.094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001505/0.1755, allocations: 36.78 kB / 0.5679 GB, free: 7.055 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.1756, allocations: 12 kB / 0.568 GB, free: 7.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004058/0.176, allocations: 0.5446 MB / 0.5685 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.176, allocations: 0 / 0.5685 GB, free: 6.473 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008183/0.1768, allocations: 0.5645 MB / 0.569 GB, free: 5.867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.1769, allocations: 116.8 kB / 0.5692 GB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.911e-05/0.177, allocations: 12 kB / 0.5692 GB, free: 5.723 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.1771, allocations: 8 kB / 0.5692 GB, free: 5.715 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.877e-05/0.1772, allocations: 27.91 kB / 0.5692 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.128e-05/0.1773, allocations: 20.08 kB / 0.5692 GB, free: 5.668 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003414/0.1776, allocations: 271.1 kB / 0.5695 GB, free: 5.406 MB / 430.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1776, allocations: 0 / 0.5695 GB, free: 5.406 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005703/0.1782, allocations: 124.2 kB / 0.5696 GB, free: 5.285 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (directInertia.inertia.w,directInertia.torqueToAngle.phi,inertia2a.w,torqueToAngle2a.y,inertia2b.w,torqueToAngle2b.y,inertia3a.phi,inertia3a.w,inertia3b.phi,inertia3b.w) * 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 (33): * Single equations (assignments): 32 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001952/0.1784, allocations: 127 kB / 0.5697 GB, free: 5.148 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006647/0.1791, allocations: 329.3 kB / 0.57 GB, free: 4.828 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.1791, allocations: 4.062 kB / 0.57 GB, free: 4.824 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.1793, allocations: 147.8 kB / 0.5702 GB, free: 4.68 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005329/0.1799, allocations: 73.75 kB / 0.5702 GB, free: 4.613 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.1825, allocations: 1.69 MB / 0.5719 GB, free: 2.867 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/0.1831, allocations: 0.9522 MB / 0.5728 GB, free: 1.891 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.1832, allocations: 47.42 kB / 0.5729 GB, free: 1.844 MB / 430.1 MB Notification: Performance of SimCode: time 6.61e-07/0.1832, allocations: 0 / 0.5729 GB, free: 1.844 MB / 430.1 MB Notification: Performance of Templates: time 0.0166/0.1998, allocations: 11.23 MB / 0.5838 GB, free: 6.621 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.sim & ./ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Rotational.GenerationOfFMUs.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.678048686939292]