Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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.001412/0.001412, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.00145/0.00145, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 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.502/1.502, allocations: 177 MB / 204.4 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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(Modelica.Mechanics.Rotational.Examples.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="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") translateModel(Modelica.Mechanics.Rotational.Examples.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="Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.284e-05/3.451e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs): time 0.008241/0.008276, allocations: 4.858 MB / 277 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004697/0.01297, allocations: 2.052 MB / 279.1 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007022/0.01367, allocations: 51.56 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005585/0.01423, allocations: 206.2 kB / 279.3 MB, free: 10.61 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005051/0.01474, allocations: 190.2 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.01588, allocations: 403 kB / 279.9 MB, free: 10.03 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.01717, allocations: 1.04 MB / 281 MB, free: 8.988 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007161/0.01789, allocations: 397.6 kB / 281.4 MB, free: 8.574 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007931/0.01868, allocations: 0.5224 MB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.01906, allocations: 263.2 kB / 282.1 MB, free: 7.793 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001289/0.01919, allocations: 92 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002868/0.01948, allocations: 163.8 kB / 282.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.0197, allocations: 207.3 kB / 282.6 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003402/0.02004, allocations: 291.3 kB / 282.9 MB, free: 7.055 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.02157, allocations: 1.207 MB / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.02157, allocations: 0 / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.02157, allocations: 0 / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.212e-05/0.02158, allocations: 0 / 284.1 MB, free: 5.844 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001568/0.02315, allocations: 0.9725 MB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.02319, allocations: 15.98 kB / 285.1 MB, free: 4.824 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003668/0.02356, allocations: 164.4 kB / 285.2 MB, free: 4.664 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.02441, allocations: 483.6 kB / 285.7 MB, free: 4.164 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.02449, allocations: 62.38 kB / 285.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/0.02463, allocations: 92.33 kB / 285.9 MB, free: 4.012 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.02615, allocations: 0.7972 MB / 286.6 MB, free: 3.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.556e-05/0.02619, allocations: 8.188 kB / 286.7 MB, free: 3.172 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.169e-05/0.02626, allocations: 36.36 kB / 286.7 MB, free: 3.137 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.02629, allocations: 23.94 kB / 286.7 MB, free: 3.113 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.02739, allocations: 0.4957 MB / 287.2 MB, free: 2.613 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.131/0.1584, allocations: 2.514 MB / 289.7 MB, free: 27.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006771/0.1591, allocations: 200.4 kB / 289.9 MB, free: 27.86 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/0.1593, allocations: 92.52 kB / 290 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001322/0.1594, allocations: 20.41 kB / 290 MB, free: 27.85 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.1594, allocations: 36.09 kB / 290.1 MB, free: 27.81 MB / 266.7 MB Notification: Performance of pre-optimization done (n=30): time 1.563e-06/0.1594, allocations: 1.094 kB / 290.1 MB, free: 27.81 MB / 266.7 MB Notification: Performance of matching and sorting (n=35): time 0.002302/0.1617, allocations: 1.139 MB / 291.2 MB, free: 27.48 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.1618, allocations: 56.02 kB / 291.3 MB, free: 27.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.1621, allocations: 318.2 kB / 291.6 MB, free: 27.31 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.1621, allocations: 31.98 kB / 291.6 MB, free: 27.28 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.1623, allocations: 410.2 kB / 292 MB, free: 27.08 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.49e-05/0.1624, allocations: 142.8 kB / 292.1 MB, free: 27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001076/0.1625, allocations: 82.72 kB / 292.2 MB, free: 26.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.345e-05/0.1626, allocations: 353.9 kB / 292.6 MB, free: 26.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001977/0.1628, allocations: 106.4 kB / 292.7 MB, free: 26.59 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002563/0.163, allocations: 252.6 kB / 292.9 MB, free: 26.38 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005147/0.1635, allocations: 388.7 kB / 293.3 MB, free: 26.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1635, allocations: 2.469 kB / 293.3 MB, free: 26.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007513/0.1643, allocations: 488.3 kB / 293.8 MB, free: 25.9 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.1643, allocations: 11.19 kB / 293.8 MB, free: 25.9 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.1643, allocations: 5.062 kB / 293.8 MB, free: 25.9 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000211/0.1645, allocations: 35.25 kB / 293.8 MB, free: 25.89 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003586/0.1649, allocations: 110.6 kB / 293.9 MB, free: 25.88 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003111/0.1652, allocations: 0.5523 MB / 294.5 MB, free: 25.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.1654, allocations: 16.17 kB / 294.5 MB, free: 25.33 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.494e-05/0.1655, allocations: 22.3 kB / 294.5 MB, free: 25.33 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (60): * Single equations (assignments): 59 * 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.0002828/0.1657, allocations: 229 kB / 294.8 MB, free: 25.14 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.063e-05/0.1658, allocations: 52.8 kB / 294.8 MB, free: 25.11 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.1664, allocations: 324.5 kB / 295.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1664, allocations: 3.219 kB / 295.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1664, allocations: 0 / 295.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.793e-06/0.1665, allocations: 5.562 kB / 295.1 MB, free: 24.96 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.1678, allocations: 0.8476 MB / 296 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.1678, allocations: 8.031 kB / 296 MB, free: 24.45 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003688/0.1682, allocations: 80.77 kB / 296.1 MB, free: 24.44 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000126/0.1683, allocations: 32.72 kB / 296.1 MB, free: 24.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.641e-05/0.1684, allocations: 9.984 kB / 296.1 MB, free: 24.42 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002324/0.1686, allocations: 0.5454 MB / 296.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.1686, allocations: 4.062 kB / 296.7 MB, free: 23.89 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007391/0.1693, allocations: 0.5543 MB / 297.2 MB, free: 23.55 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.663e-05/0.1694, allocations: 35.3 kB / 297.2 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.504e-05/0.1694, allocations: 8.578 kB / 297.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001511/0.1696, allocations: 8.906 kB / 297.3 MB, free: 23.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.1697, allocations: 33.48 kB / 297.3 MB, free: 23.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.611e-05/0.1697, allocations: 15.02 kB / 297.3 MB, free: 23.5 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001948/0.1699, allocations: 213.1 kB / 297.5 MB, free: 23.38 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1699, allocations: 5.469 kB / 297.5 MB, free: 23.38 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.1704, allocations: 117.3 kB / 297.6 MB, free: 23.37 MB / 266.7 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.phi,inertia2b.w,torqueToAngle2b.phi,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.0001538/0.1706, allocations: 120 kB / 297.8 MB, free: 23.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005852/0.1712, allocations: 290.5 kB / 298 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1712, allocations: 1.719 kB / 298 MB, free: 23.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002492/0.1714, allocations: 132.7 kB / 298.2 MB, free: 23.14 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005534/0.172, allocations: 78.5 kB / 298.2 MB, free: 23.11 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002419/0.1744, allocations: 1.399 MB / 299.6 MB, free: 22.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004761/0.1749, allocations: 330.8 kB / 300 MB, free: 22.12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001882/0.1751, allocations: 49.52 kB / 300 MB, free: 22.11 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.772e-05/0.1751, allocations: 33.61 kB / 300 MB, free: 22.09 MB / 266.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1751, allocations: 0 / 300 MB, free: 22.09 MB / 266.7 MB Notification: Performance of Templates: time 0.01029/0.1854, allocations: 3.559 MB / 303.6 MB, free: 21.32 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.sim & ./Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.Rotational.Examples.GenerationOfFMUs_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/Rotational/Examples/GenerationOfFMUs/GenerationOfFMUs.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.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: 4.35008626896888]