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.001298/0.001298, allocations: 118 kB / 18.46 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.001578/0.001578, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.482/1.482, allocations: 227.4 MB / 251.6 MB, free: 260 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.2397/0.2397, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.002198/0.002198, allocations: 81.34 kB / 490.2 MB, free: 28.3 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1443, allocations: 62.45 MB / 0.5397 GB, free: 4.387 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.GenerationOfFMUs): time 0.008318/0.1527, allocations: 5.78 MB / 0.5453 GB, free: 14.57 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004804/0.1575, allocations: 2.348 MB / 0.5476 GB, free: 12.21 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008087/0.1584, allocations: 43.75 kB / 0.5476 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005775/0.159, allocations: 230 kB / 0.5479 GB, free: 11.95 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004795/0.1595, allocations: 178.3 kB / 0.548 GB, free: 11.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001332/0.1608, allocations: 470.9 kB / 0.5485 GB, free: 11.31 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001609/0.1624, allocations: 1.118 MB / 0.5496 GB, free: 10.19 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009021/0.1634, allocations: 0.6262 MB / 0.5502 GB, free: 9.535 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005271/0.1639, allocations: 370.7 kB / 0.5505 GB, free: 9.172 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005196/0.1644, allocations: 390 kB / 0.5509 GB, free: 8.789 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001353/0.1646, allocations: 92 kB / 0.551 GB, free: 8.699 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003232/0.1649, allocations: 159.9 kB / 0.5512 GB, free: 8.543 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003386/0.1653, allocations: 223.3 kB / 0.5514 GB, free: 8.324 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007058/0.166, allocations: 469.6 kB / 0.5518 GB, free: 7.863 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001999/0.168, allocations: 1.28 MB / 0.5531 GB, free: 6.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/0.168, allocations: 4 kB / 0.5531 GB, free: 6.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.168, allocations: 0 / 0.5531 GB, free: 6.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.683e-05/0.168, allocations: 4 kB / 0.5531 GB, free: 6.57 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.002224/0.1703, allocations: 1.157 MB / 0.5542 GB, free: 5.363 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/0.1703, allocations: 8.031 kB / 0.5542 GB, free: 5.355 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003216/0.1707, allocations: 120.2 kB / 0.5543 GB, free: 5.238 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001081/0.1717, allocations: 0.6025 MB / 0.5549 GB, free: 4.594 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.839e-05/0.1718, allocations: 66 kB / 0.555 GB, free: 4.527 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.172, allocations: 95.95 kB / 0.5551 GB, free: 4.434 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001799/0.1738, allocations: 0.8853 MB / 0.5559 GB, free: 3.488 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.445e-05/0.1738, allocations: 11.94 kB / 0.5559 GB, free: 3.477 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.294e-05/0.1739, allocations: 36 kB / 0.556 GB, free: 3.441 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.345e-05/0.174, allocations: 24 kB / 0.556 GB, free: 3.418 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/0.1751, allocations: 0.5229 MB / 0.5565 GB, free: 2.891 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004545/0.1796, allocations: 3.609 MB / 0.56 GB, free: 15.12 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00063/0.1803, allocations: 222.7 kB / 0.5602 GB, free: 14.89 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.1805, allocations: 104.8 kB / 0.5603 GB, free: 14.79 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000263/0.1808, allocations: 243.3 kB / 0.5606 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/0.1808, allocations: 50.48 kB / 0.5606 GB, free: 14.44 MB / 430.1 MB Notification: Performance of pre-optimization done (n=30): time 2.615e-06/0.1808, allocations: 0 / 0.5606 GB, free: 14.44 MB / 430.1 MB Notification: Performance of matching and sorting (n=35): time 0.002746/0.1836, allocations: 1.301 MB / 0.5619 GB, free: 13.04 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.1837, allocations: 59.34 kB / 0.562 GB, free: 12.97 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004894/0.1842, allocations: 409.8 kB / 0.5623 GB, free: 12.57 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1842, allocations: 29.7 kB / 0.5624 GB, free: 12.53 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003654/0.1846, allocations: 475.5 kB / 0.5628 GB, free: 12.06 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.1847, allocations: 146.8 kB / 0.563 GB, free: 11.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001439/0.1849, allocations: 102.2 kB / 0.5631 GB, free: 11.81 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.1851, allocations: 354.8 kB / 0.5634 GB, free: 11.45 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.1853, allocations: 117.1 kB / 0.5635 GB, free: 11.34 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003863/0.1857, allocations: 314 kB / 0.5638 GB, free: 10.95 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006474/0.1864, allocations: 459.6 kB / 0.5643 GB, free: 10.41 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.1864, allocations: 0 / 0.5643 GB, free: 10.41 MB / 430.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.000848/0.1872, allocations: 0.521 MB / 0.5648 GB, free: 9.879 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.1873, allocations: 12.11 kB / 0.5648 GB, free: 9.867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.1873, allocations: 8 kB / 0.5648 GB, free: 9.859 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002076/0.1875, allocations: 44.78 kB / 0.5648 GB, free: 9.812 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003655/0.1879, allocations: 119.8 kB / 0.5649 GB, free: 9.695 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004254/0.1883, allocations: 0.5601 MB / 0.5655 GB, free: 9.109 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.1885, allocations: 20 kB / 0.5655 GB, free: 9.09 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.721e-05/0.1886, allocations: 28 kB / 0.5655 GB, free: 9.062 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.0003307/0.1889, allocations: 229.7 kB / 0.5657 GB, free: 8.828 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.574e-05/0.189, allocations: 55.61 kB / 0.5658 GB, free: 8.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000622/0.1896, allocations: 323 kB / 0.5661 GB, free: 8.445 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.286e-06/0.1896, allocations: 7.984 kB / 0.5661 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1896, allocations: 0 / 0.5661 GB, free: 8.438 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.1897, allocations: 4 kB / 0.5661 GB, free: 8.434 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00151/0.1912, allocations: 1.055 MB / 0.5672 GB, free: 7.305 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/0.1912, allocations: 4 kB / 0.5672 GB, free: 7.301 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003452/0.1915, allocations: 80.05 kB / 0.5672 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001293/0.1917, allocations: 36.78 kB / 0.5673 GB, free: 7.184 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.1917, allocations: 15.98 kB / 0.5673 GB, free: 7.168 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003961/0.1921, allocations: 0.5485 MB / 0.5678 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.1921, allocations: 0 / 0.5678 GB, free: 6.594 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008311/0.193, allocations: 0.5567 MB / 0.5684 GB, free: 5.996 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001214/0.1931, allocations: 120.8 kB / 0.5685 GB, free: 5.859 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.97e-05/0.1932, allocations: 11.98 kB / 0.5685 GB, free: 5.848 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001471/0.1933, allocations: 16 kB / 0.5685 GB, free: 5.832 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.1934, allocations: 27.91 kB / 0.5685 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-05/0.1934, allocations: 8 kB / 0.5685 GB, free: 5.797 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0003038/0.1937, allocations: 275.1 kB / 0.5688 GB, free: 5.531 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1937, allocations: 0 / 0.5688 GB, free: 5.531 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005561/0.1943, allocations: 124 kB / 0.5689 GB, free: 5.41 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.0001973/0.1945, allocations: 126.5 kB / 0.569 GB, free: 5.277 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006916/0.1952, allocations: 337.1 kB / 0.5694 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1952, allocations: 0 / 0.5694 GB, free: 4.949 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002702/0.1955, allocations: 144.1 kB / 0.5695 GB, free: 4.809 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005424/0.196, allocations: 80.02 kB / 0.5696 GB, free: 4.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00255/0.1986, allocations: 1.642 MB / 0.5712 GB, free: 3.043 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006586/0.1993, allocations: 0.9561 MB / 0.5721 GB, free: 2.062 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.1995, allocations: 64.47 kB / 0.5722 GB, free: 2 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.998e-05/0.1996, allocations: 43.42 kB / 0.5722 GB, free: 1.957 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1996, allocations: 4 kB / 0.5722 GB, free: 1.953 MB / 430.1 MB Notification: Performance of Templates: time 0.01017/0.2097, allocations: 4.234 MB / 0.5764 GB, free: 13.75 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 5.110968175344169]