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.001032/0.001032, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.00119/0.00119, allocations: 160.5 kB / 24.55 MB, free: 20 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 0.9462/0.9462, allocations: 177 MB / 204.8 MB, free: 5.598 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.2586/0.2586, allocations: 34.87 MB / 296.3 MB, free: 0.5352 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.142e-06/1.142e-06, allocations: 0 / 378.8 MB, free: 2.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.362e-05/1.476e-05, allocations: 2.875 kB / 378.8 MB, free: 2.09 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3): time 0.009788/0.009803, allocations: 12.68 MB / 391.4 MB, free: 5.359 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00666/0.01646, allocations: 4.232 MB / 395.7 MB, free: 1.113 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.01783, allocations: 91.56 kB / 395.8 MB, free: 1.023 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003902/0.02173, allocations: 3.991 MB / 399.8 MB, free: 13.02 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003474/0.0252, allocations: 2.107 MB / 401.9 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.02657, allocations: 0.8887 MB / 402.8 MB, free: 10.01 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.004391/0.03096, allocations: 4.642 MB / 407.4 MB, free: 5.355 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003516/0.03447, allocations: 4.066 MB / 411.5 MB, free: 1.215 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002835/0.03731, allocations: 2.943 MB / 414.4 MB, free: 14.27 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002365/0.03967, allocations: 2.502 MB / 416.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004678/0.04014, allocations: 412 kB / 417.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001255/0.0414, allocations: 1.084 MB / 418.4 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001232/0.04263, allocations: 2.345 MB / 420.7 MB, free: 7.918 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001/0.04363, allocations: 1.515 MB / 422.3 MB, free: 6.398 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.0473, allocations: 5.075 MB / 427.3 MB, free: 1.305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.0473, allocations: 0 / 427.3 MB, free: 1.305 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.0473, allocations: 0 / 427.3 MB, free: 1.305 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.586e-05/0.04738, allocations: 0 / 427.3 MB, free: 1.305 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.007055/0.05443, allocations: 6.611 MB / 433.9 MB, free: 10.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.05447, allocations: 12.03 kB / 434 MB, free: 10.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004035/0.05851, allocations: 2.502 MB / 436.5 MB, free: 8.109 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.06096, allocations: 2.404 MB / 438.9 MB, free: 5.656 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.06111, allocations: 295.6 kB / 439.2 MB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004107/0.06152, allocations: 391.8 kB / 439.5 MB, free: 4.984 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1617/0.2233, allocations: 6.796 MB / 446.3 MB, free: 88.19 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001352/0.2234, allocations: 45.95 kB / 446.4 MB, free: 88.19 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003252/0.2237, allocations: 182.3 kB / 446.6 MB, free: 88.19 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001501/0.2252, allocations: 1.955 MB / 448.5 MB, free: 88.18 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007032/0.2322, allocations: 3.476 MB / 452 MB, free: 88.12 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02832/0.2606, allocations: 46.62 MB / 498.6 MB, free: 51.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004063/0.2646, allocations: 1.871 MB / 0.4887 GB, free: 51.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006799/0.2653, allocations: 0.59 MB / 0.4893 GB, free: 51.35 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006008/0.2713, allocations: 4.852 MB / 0.4941 GB, free: 48.95 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.2714, allocations: 56.61 kB / 0.4941 GB, free: 48.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=149): time 4.338e-06/0.2714, allocations: 0 / 0.4941 GB, free: 48.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=158): time 0.01754/0.2889, allocations: 9.835 MB / 0.5037 GB, free: 44.97 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.228e-05/0.2889, allocations: 145.8 kB / 0.5039 GB, free: 44.81 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004048/0.293, allocations: 3.8 MB / 0.5076 GB, free: 43.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.724e-05/0.2931, allocations: 49.08 kB / 0.5076 GB, free: 43.25 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001738/0.2948, allocations: 3.861 MB / 0.5114 GB, free: 40.27 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00044/0.2953, allocations: 0.6846 MB / 0.5121 GB, free: 39.77 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001079/0.2963, allocations: 1.379 MB / 0.5134 GB, free: 39.03 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.352e-05/0.2964, allocations: 481.5 kB / 0.5139 GB, free: 38.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001073/0.2974, allocations: 0.6401 MB / 0.5145 GB, free: 38.47 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003144/0.3006, allocations: 6.679 MB / 0.521 GB, free: 30.19 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004848/0.3054, allocations: 8.101 MB / 0.5289 GB, free: 19.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.716e-05/0.3055, allocations: 44 kB / 0.529 GB, free: 19.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=828) (initialization): time 0.007861/0.3134, allocations: 5.551 MB / 0.5344 GB, free: 14.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.002e-05/0.3135, allocations: 68 kB / 0.5344 GB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001331/0.3136, allocations: 144 kB / 0.5346 GB, free: 14.27 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005507/0.3141, allocations: 294.9 kB / 0.5349 GB, free: 14.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003166/0.3173, allocations: 1.525 MB / 0.5364 GB, free: 12.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/0.3188, allocations: 2.242 MB / 0.5385 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003151/0.3219, allocations: 366.1 kB / 0.5389 GB, free: 10.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003608/0.3223, allocations: 391.7 kB / 0.5393 GB, free: 9.762 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 661 * 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 (802): * Single equations (assignments): 798 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00135/0.3236, allocations: 0.7038 MB / 0.54 GB, free: 9.051 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004416/0.3241, allocations: 395.2 kB / 0.5403 GB, free: 8.664 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001779/0.3259, allocations: 1.13 MB / 0.5414 GB, free: 7.746 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/0.3259, allocations: 23.98 kB / 0.5415 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.3259, allocations: 0 / 0.5415 GB, free: 7.723 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.252e-05/0.3259, allocations: 15.55 kB / 0.5415 GB, free: 7.715 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008014/0.3339, allocations: 5.352 MB / 0.5467 GB, free: 2.945 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3339, allocations: 11.94 kB / 0.5467 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009238/0.3349, allocations: 291.6 kB / 0.547 GB, free: 2.652 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003638/0.3352, allocations: 111.5 kB / 0.5471 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.941e-05/0.3353, allocations: 35.98 kB / 0.5471 GB, free: 2.504 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/0.3365, allocations: 1.966 MB / 0.549 GB, free: 432 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-06/0.3365, allocations: 8.484 kB / 0.5491 GB, free: 424 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.3396, allocations: 2.406 MB / 0.5514 GB, free: 13.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007801/0.3404, allocations: 0.4896 MB / 0.5519 GB, free: 13.41 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.3407, allocations: 31.98 kB / 0.5519 GB, free: 13.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00091/0.3416, allocations: 99.88 kB / 0.552 GB, free: 13.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/0.3418, allocations: 116.6 kB / 0.5521 GB, free: 13.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.55e-05/0.3419, allocations: 59.42 kB / 0.5522 GB, free: 13.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002145/0.344, allocations: 1.613 MB / 0.5538 GB, free: 11.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.344, allocations: 4 kB / 0.5538 GB, free: 11.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004508/0.3485, allocations: 1.027 MB / 0.5548 GB, free: 10.48 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (143): * Single equations (assignments): 139 * 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 {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.3489, allocations: 179.5 kB / 0.5549 GB, free: 10.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004652/0.3536, allocations: 3.047 MB / 0.5579 GB, free: 7.258 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.3536, allocations: 8.312 kB / 0.5579 GB, free: 7.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001051/0.3546, allocations: 0.7459 MB / 0.5586 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.3564, allocations: 437.5 kB / 0.5591 GB, free: 6.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01215/0.3686, allocations: 8.371 MB / 0.5672 GB, free: 13.52 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001497/0.3701, allocations: 1.366 MB / 0.5686 GB, free: 12.13 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003284/0.3734, allocations: 1.671 MB / 0.5702 GB, free: 10.46 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005407/0.3739, allocations: 243 kB / 0.5704 GB, free: 10.22 MB / 442.7 MB Notification: Performance of SimCode: time 1.623e-06/0.3739, allocations: 0 / 0.5704 GB, free: 10.22 MB / 442.7 MB Notification: Performance of Templates: time 0.04268/0.4166, allocations: 28.38 MB / 0.5981 GB, free: 14.41 MB / 474.7 MB " [Timeout remaining time 660] 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: 4.492802836000919]