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.001441/0.001441, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001464/0.001464, allocations: 163.8 kB / 24.99 MB, free: 9.324 MB / 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 0.9631/0.9631, allocations: 177 MB / 205.2 MB, free: 5.223 MB / 186.7 MB " [Timeout remaining time 179] 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.2832/0.2832, allocations: 34.87 MB / 296.6 MB, free: 0.5312 MB / 266.7 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.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.663e-06/1.663e-06, allocations: 0 / 378.8 MB, free: 2.406 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.118e-05/3.284e-05, allocations: 2.312 kB / 378.8 MB, free: 2.402 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.01071/0.01074, allocations: 12.61 MB / 391.4 MB, free: 5.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.007962/0.0187, allocations: 4.224 MB / 395.6 MB, free: 1.492 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0023/0.021, allocations: 91.56 kB / 395.7 MB, free: 1.402 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00489/0.02589, allocations: 3.983 MB / 399.7 MB, free: 13.41 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005899/0.03179, allocations: 2.099 MB / 401.8 MB, free: 11.3 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001852/0.03364, allocations: 0.8887 MB / 402.7 MB, free: 10.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005494/0.03914, allocations: 4.642 MB / 407.3 MB, free: 5.754 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004903/0.04404, allocations: 4.066 MB / 411.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004871/0.04891, allocations: 2.803 MB / 414.2 MB, free: 14.8 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003783/0.05269, allocations: 2.615 MB / 416.8 MB, free: 12.18 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.0538, allocations: 420 kB / 417.2 MB, free: 11.77 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002278/0.05608, allocations: 1.1 MB / 418.3 MB, free: 10.67 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002174/0.05825, allocations: 2.361 MB / 420.7 MB, free: 8.305 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002516/0.06077, allocations: 1.538 MB / 422.2 MB, free: 6.762 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006696/0.06746, allocations: 5.126 MB / 427.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.06747, allocations: 0 / 427.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.06747, allocations: 4 kB / 427.3 MB, free: 1.613 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002059/0.06768, allocations: 0 / 427.3 MB, free: 1.613 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.01618/0.08385, allocations: 6.822 MB / 434.1 MB, free: 10.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.0839, allocations: 8.031 kB / 434.2 MB, free: 10.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006266/0.09017, allocations: 2.506 MB / 436.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004386/0.09456, allocations: 2.443 MB / 439.1 MB, free: 5.723 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001973/0.09475, allocations: 295.6 kB / 439.4 MB, free: 5.434 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007724/0.09553, allocations: 403.7 kB / 439.8 MB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1796/0.2751, allocations: 7.259 MB / 447 MB, free: 94.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002103/0.2753, allocations: 44.7 kB / 447.1 MB, free: 94.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005912/0.2759, allocations: 187.9 kB / 447.3 MB, free: 94.17 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002505/0.2784, allocations: 2.188 MB / 449.5 MB, free: 94.13 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.2888, allocations: 4.268 MB / 453.7 MB, free: 93.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03647/0.3252, allocations: 47.24 MB / 0.4892 GB, free: 56.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01192/0.3371, allocations: 2.829 MB / 0.492 GB, free: 56.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.3394, allocations: 0.9573 MB / 0.4929 GB, free: 56.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005674/0.34, allocations: 247.6 kB / 0.4932 GB, free: 56.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.316e-05/0.3401, allocations: 63.17 kB / 0.4932 GB, free: 56.18 MB / 410.7 MB Notification: Performance of pre-optimization done (n=203): time 5.941e-06/0.3401, allocations: 7.875 kB / 0.4932 GB, free: 56.17 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.05908/0.3991, allocations: 17.32 MB / 0.5101 GB, free: 49.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3992, allocations: 150.5 kB / 0.5103 GB, free: 49.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003633/0.4028, allocations: 3.601 MB / 0.5138 GB, free: 45.82 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005335/0.4034, allocations: 65.7 kB / 0.5139 GB, free: 45.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.4049, allocations: 3.691 MB / 0.5175 GB, free: 42.09 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001233/0.4061, allocations: 0.9527 MB / 0.5184 GB, free: 41.15 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00149/0.4076, allocations: 1.54 MB / 0.5199 GB, free: 39.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.584e-05/0.4076, allocations: 476.8 kB / 0.5204 GB, free: 39.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/0.4092, allocations: 0.9145 MB / 0.5213 GB, free: 38.21 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002843/0.412, allocations: 6.561 MB / 0.5277 GB, free: 29.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005519/0.4175, allocations: 8.317 MB / 0.5358 GB, free: 18.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.373e-05/0.4176, allocations: 40 kB / 0.5358 GB, free: 18.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=855) (initialization): time 0.009403/0.427, allocations: 6.617 MB / 0.5423 GB, free: 11.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.729e-05/0.4271, allocations: 64.94 kB / 0.5423 GB, free: 11.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001172/0.4272, allocations: 132 kB / 0.5425 GB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/0.4286, allocations: 0.6696 MB / 0.5431 GB, free: 10.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.4319, allocations: 1.727 MB / 0.5448 GB, free: 8.922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003101/0.435, allocations: 3.342 MB / 0.5481 GB, free: 5.469 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/0.4388, allocations: 435.6 kB / 0.5485 GB, free: 5.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004997/0.4393, allocations: 463.5 kB / 0.5489 GB, free: 4.594 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 610 * 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.0018/0.4411, allocations: 0.7015 MB / 0.5496 GB, free: 3.879 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007443/0.4418, allocations: 433.6 kB / 0.55 GB, free: 3.453 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004092/0.4459, allocations: 2.811 MB / 0.5528 GB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.576e-05/0.4459, allocations: 28 kB / 0.5528 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.387e-05/0.4459, allocations: 4 kB / 0.5528 GB, free: 0.5938 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.614e-05/0.4459, allocations: 7.969 kB / 0.5528 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01301/0.459, allocations: 7.376 MB / 0.56 GB, free: 9.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-05/0.459, allocations: 4 kB / 0.56 GB, free: 9.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001837/0.4608, allocations: 0.5733 MB / 0.5606 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00133/0.4621, allocations: 0.5038 MB / 0.5611 GB, free: 8.074 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002414/0.4624, allocations: 99.89 kB / 0.5612 GB, free: 7.977 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003542/0.4659, allocations: 3.087 MB / 0.5642 GB, free: 4.777 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.4659, allocations: 4 kB / 0.5642 GB, free: 4.773 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00684/0.4728, allocations: 4.064 MB / 0.5682 GB, free: 0.6367 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0016/0.4744, allocations: 0.7512 MB / 0.5689 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004081/0.4748, allocations: 47.98 kB / 0.5689 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001281/0.4761, allocations: 203.6 kB / 0.5691 GB, free: 15.64 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004247/0.4765, allocations: 209.5 kB / 0.5693 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002017/0.4767, allocations: 119.9 kB / 0.5694 GB, free: 15.32 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002399/0.4791, allocations: 1.55 MB / 0.571 GB, free: 13.78 MB / 442.7 MB Notification: Performance of sort global known variables: time 3e-07/0.4791, allocations: 0 / 0.571 GB, free: 13.78 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004647/0.4837, allocations: 1.238 MB / 0.5722 GB, free: 12.54 MB / 442.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.0005499/0.4843, allocations: 204.3 kB / 0.5724 GB, free: 12.34 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007117/0.4914, allocations: 3.871 MB / 0.5761 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.4914, allocations: 0 / 0.5761 GB, free: 8.469 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002094/0.4935, allocations: 1.322 MB / 0.5774 GB, free: 7.129 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002484/0.496, allocations: 0.489 MB / 0.5779 GB, free: 6.652 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01513/0.5111, allocations: 9.254 MB / 0.587 GB, free: 13.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001688/0.5128, allocations: 1.413 MB / 0.5883 GB, free: 11.84 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003777/0.5166, allocations: 1.859 MB / 0.5901 GB, free: 9.969 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00123/0.5178, allocations: 456.1 kB / 0.5906 GB, free: 9.523 MB / 458.7 MB Notification: Performance of SimCode: time 2.214e-06/0.5178, allocations: 0 / 0.5906 GB, free: 9.523 MB / 458.7 MB Notification: Performance of Templates: time 0.2215/0.7393, allocations: 49.67 MB / 0.6391 GB, free: 119.3 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=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3.pipe 2>&1) [Timeout 240] 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","",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.004513444844633]