Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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.001452/0.001452, allocations: 92.27 kB / 20.96 MB, free: 3.441 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.0017/0.0017, allocations: 160.9 kB / 24.26 MB, free: 144 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.498/1.498, allocations: 177 MB / 204.4 MB, free: 5.605 MB / 186.7 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.3685/0.3685, allocations: 34.25 MB / 295.2 MB, free: 0.6406 MB / 266.7 MB " [Timeout remaining time 179] 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.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 377.2 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.887e-05/3.061e-05, allocations: 2.312 kB / 377.2 MB, free: 2.883 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01653/0.01656, allocations: 11.41 MB / 388.6 MB, free: 7.418 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01054/0.0271, allocations: 4.111 MB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002524/0.02962, allocations: 99.5 kB / 392.8 MB, free: 3.195 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008306/0.03793, allocations: 3.851 MB / 396.7 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006816/0.04474, allocations: 2.107 MB / 398.8 MB, free: 13.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002662/0.0474, allocations: 0.8809 MB / 399.7 MB, free: 12.33 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.009107/0.05651, allocations: 4.637 MB / 404.3 MB, free: 7.684 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007718/0.06423, allocations: 4.059 MB / 408.4 MB, free: 3.551 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007723/0.07195, allocations: 2.787 MB / 411.2 MB, free: 0.7578 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005435/0.07739, allocations: 2.506 MB / 413.7 MB, free: 14.24 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001528/0.07891, allocations: 428 kB / 414.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003262/0.08218, allocations: 1.092 MB / 415.2 MB, free: 12.73 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003953/0.08613, allocations: 2.361 MB / 417.5 MB, free: 10.36 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004067/0.0902, allocations: 1.523 MB / 419.1 MB, free: 8.836 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01489/0.1051, allocations: 8.146 MB / 427.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.1051, allocations: 0 / 427.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1051, allocations: 0 / 427.2 MB, free: 0.6641 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003406/0.1054, allocations: 3.938 kB / 427.2 MB, free: 0.6602 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1736 * Number of variables: 1736 Notification: Performance of Generate backend data structure: time 0.02592/0.1313, allocations: 6.42 MB / 433.6 MB, free: 10.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/0.1314, allocations: 8.031 kB / 433.6 MB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0102/0.1416, allocations: 2.58 MB / 436.2 MB, free: 7.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007768/0.1494, allocations: 2.651 MB / 438.9 MB, free: 4.891 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003921/0.1498, allocations: 295.6 kB / 439.2 MB, free: 4.602 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002046/0.1518, allocations: 391.8 kB / 439.5 MB, free: 4.219 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2033/0.3551, allocations: 12.3 MB / 451.8 MB, free: 92.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001337/0.3552, allocations: 47.89 kB / 451.9 MB, free: 92.64 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005044/0.3557, allocations: 185.9 kB / 452.1 MB, free: 92.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003462/0.3592, allocations: 2.193 MB / 454.3 MB, free: 92.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02031/0.3795, allocations: 11.26 MB / 465.5 MB, free: 88.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0594/0.4389, allocations: 42.73 MB / 0.4963 GB, free: 60.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01721/0.4561, allocations: 5.081 MB / 0.5013 GB, free: 56.56 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003611/0.4597, allocations: 3.191 MB / 0.5044 GB, free: 53.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007831/0.4605, allocations: 247.7 kB / 0.5046 GB, free: 53.57 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.909e-05/0.4605, allocations: 51.88 kB / 0.5047 GB, free: 53.52 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 5.18e-06/0.4605, allocations: 0 / 0.5047 GB, free: 53.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.07249/0.533, allocations: 28.51 MB / 0.5325 GB, free: 25.36 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.256e-05/0.5331, allocations: 156.8 kB / 0.5327 GB, free: 25.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/0.5375, allocations: 4.001 MB / 0.5366 GB, free: 21.34 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000431/0.538, allocations: 61.7 kB / 0.5367 GB, free: 21.28 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001232/0.5392, allocations: 3.506 MB / 0.5401 GB, free: 17.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007532/0.5399, allocations: 0.9095 MB / 0.541 GB, free: 16.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001553/0.5415, allocations: 1.439 MB / 0.5424 GB, free: 15.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.802e-05/0.5415, allocations: 301.1 kB / 0.5427 GB, free: 15.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.5451, allocations: 3.292 MB / 0.5459 GB, free: 11.86 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004863/0.55, allocations: 7.091 MB / 0.5528 GB, free: 2.895 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/0.5654, allocations: 11.16 MB / 0.5637 GB, free: 5.863 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/0.5656, allocations: 40 kB / 0.5637 GB, free: 5.824 MB / 426.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.0284/0.594, allocations: 11.65 MB / 0.5751 GB, free: 10.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.5942, allocations: 64 kB / 0.5752 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002877/0.5945, allocations: 132 kB / 0.5753 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003517/0.598, allocations: 1.134 MB / 0.5764 GB, free: 8.836 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007539/0.6055, allocations: 1.727 MB / 0.5781 GB, free: 7.105 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/0.6157, allocations: 6.185 MB / 0.5841 GB, free: 0.8242 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006658/0.6224, allocations: 442.6 kB / 0.5846 GB, free: 404 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001847/0.6242, allocations: 455.8 kB / 0.585 GB, free: 15.95 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 607 * Number of states: 0 () * Number of discrete variables: 44 (torque.torqueArrow.twoHeadedArrow,torque.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (816): * Single equations (assignments): 812 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005973/0.6302, allocations: 2.311 MB / 0.5873 GB, free: 13.62 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001902/0.6321, allocations: 441.4 kB / 0.5877 GB, free: 13.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01315/0.6453, allocations: 6.173 MB / 0.5937 GB, free: 7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.071e-05/0.6453, allocations: 31.98 kB / 0.5937 GB, free: 6.969 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.407e-05/0.6454, allocations: 4 kB / 0.5937 GB, free: 6.965 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.844e-05/0.6454, allocations: 11.95 kB / 0.5937 GB, free: 6.953 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2024/0.8478, allocations: 11.27 MB / 0.6047 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.037e-05/0.8478, allocations: 2.875 kB / 0.6048 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002927/0.8507, allocations: 0.586 MB / 0.6053 GB, free: 129.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002509/0.8533, allocations: 0.9732 MB / 0.6063 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004937/0.8537, allocations: 99.66 kB / 0.6064 GB, free: 129 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006367/0.8601, allocations: 5.926 MB / 0.6122 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.8601, allocations: 5.844 kB / 0.6122 GB, free: 126.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01309/0.8732, allocations: 10.55 MB / 0.6225 GB, free: 122.5 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/0.8753, allocations: 0.8037 MB / 0.6233 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006561/0.8759, allocations: 47.12 kB / 0.6233 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002254/0.8782, allocations: 209.1 kB / 0.6235 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005221/0.8787, allocations: 209.2 kB / 0.6237 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000245/0.8789, allocations: 114.8 kB / 0.6238 GB, free: 122.2 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002813/0.8818, allocations: 2.338 MB / 0.6261 GB, free: 121.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.8818, allocations: 3.5 kB / 0.6261 GB, free: 121.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005252/0.887, allocations: 1.236 MB / 0.6273 GB, free: 121.3 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.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 (206): * Single equations (assignments): 202 * Array equations: 3 * 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 {(3,13,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006194/0.8876, allocations: 203.1 kB / 0.6275 GB, free: 121.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01125/0.8989, allocations: 7.504 MB / 0.6348 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.175e-06/0.8989, allocations: 0 / 0.6348 GB, free: 118.8 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004016/0.9029, allocations: 2.867 MB / 0.6376 GB, free: 117.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/0.9063, allocations: 0.4886 MB / 0.6381 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01775/0.924, allocations: 12.27 MB / 0.6501 GB, free: 112.3 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004213/0.9282, allocations: 3.105 MB / 0.6531 GB, free: 110 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004623/0.9328, allocations: 2.19 MB / 0.6553 GB, free: 108.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001367/0.9342, allocations: 447.8 kB / 0.6557 GB, free: 108.2 MB / 458.7 MB Notification: Performance of SimCode: time 1.533e-06/0.9342, allocations: 0 / 0.6557 GB, free: 108.2 MB / 458.7 MB Notification: Performance of Templates: time 0.07057/1.005, allocations: 49.33 MB / 0.7039 GB, free: 61.47 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Rotor1D_3/Rotor1D_3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.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: 7.735590839991346]