Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.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.0009815/0.0009815, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001279/0.001279, allocations: 168.4 kB / 25.61 MB, free: 8.879 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 1.008/1.008, allocations: 177 MB / 205.9 MB, free: 4.453 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.1794/0.1794, allocations: 34.88 MB / 297.4 MB, free: 13.19 MB / 282.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.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gearConstraint.actuatedRevolute_b.phi|gearConstraint.actuatedRevolute_b.w|inertia2.phi|inertia2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 380 MB, free: 22.71 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.978e-05/4.218e-05, allocations: 4 kB / 380 MB, free: 22.7 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D): time 0.01056/0.0106, allocations: 12.67 MB / 392.7 MB, free: 9.98 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.009938/0.02054, allocations: 4.448 MB / 397.1 MB, free: 5.52 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003551/0.02409, allocations: 111.4 kB / 397.2 MB, free: 5.41 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005768/0.02986, allocations: 4.424 MB / 401.7 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007038/0.0369, allocations: 2.263 MB / 403.9 MB, free: 14.7 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003154/0.04005, allocations: 1.025 MB / 405 MB, free: 13.67 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01026/0.05031, allocations: 6.838 MB / 411.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007022/0.05733, allocations: 4.636 MB / 416.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006583/0.06391, allocations: 4.265 MB / 420.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004143/0.06806, allocations: 3.098 MB / 423.8 MB, free: 10.74 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001669/0.06973, allocations: 476 kB / 424.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003512/0.07324, allocations: 1.303 MB / 425.6 MB, free: 8.969 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002971/0.07621, allocations: 2.692 MB / 428.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002324/0.07853, allocations: 1.71 MB / 430 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005592/0.08412, allocations: 5.812 MB / 435.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.08413, allocations: 0 / 435.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.08413, allocations: 0 / 435.8 MB, free: 14.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.038e-05/0.08421, allocations: 0 / 435.8 MB, free: 14.72 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1722 * Number of variables: 1722 Notification: Performance of Generate backend data structure: time 0.007151/0.09136, allocations: 6.385 MB / 442.2 MB, free: 8.266 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.922e-05/0.0914, allocations: 8.031 kB / 442.2 MB, free: 8.258 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005233/0.09663, allocations: 2.167 MB / 444.3 MB, free: 6.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003768/0.1004, allocations: 2.847 MB / 447.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001411/0.1005, allocations: 300.1 kB / 447.5 MB, free: 2.895 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004297/0.101, allocations: 404.1 kB / 447.9 MB, free: 2.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008323/0.1093, allocations: 6.262 MB / 454.1 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001356/0.1094, allocations: 51.61 kB / 454.2 MB, free: 11.15 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004087/0.1098, allocations: 191.8 kB / 454.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001497/0.1113, allocations: 1.773 MB / 456.1 MB, free: 9.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00624/0.1176, allocations: 2.66 MB / 458.8 MB, free: 6.496 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2218/0.3394, allocations: 47.69 MB / 0.4946 GB, free: 73.67 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005638/0.3451, allocations: 1.588 MB / 0.4962 GB, free: 73.52 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008762/0.3459, allocations: 474.9 kB / 0.4966 GB, free: 73.48 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007836/0.3538, allocations: 4.193 MB / 0.5007 GB, free: 72.61 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.319e-05/0.3538, allocations: 56.73 kB / 0.5008 GB, free: 72.57 MB / 410.7 MB Notification: Performance of pre-optimization done (n=138): time 7.434e-06/0.3538, allocations: 0 / 0.5008 GB, free: 72.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=151): time 0.01963/0.3735, allocations: 6.197 MB / 0.5068 GB, free: 71.77 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3735, allocations: 196.1 kB / 0.507 GB, free: 71.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004017/0.3775, allocations: 4.163 MB / 0.5111 GB, free: 70.91 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/0.3777, allocations: 50.58 kB / 0.5111 GB, free: 70.88 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001666/0.3794, allocations: 4.015 MB / 0.515 GB, free: 68.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000504/0.3799, allocations: 0.665 MB / 0.5157 GB, free: 67.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001088/0.381, allocations: 1.44 MB / 0.5171 GB, free: 66.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.77e-05/0.381, allocations: 488.1 kB / 0.5176 GB, free: 66.32 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008897/0.3819, allocations: 0.5512 MB / 0.5181 GB, free: 65.77 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002542/0.3844, allocations: 6.63 MB / 0.5246 GB, free: 56.43 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004454/0.3889, allocations: 7.822 MB / 0.5322 GB, free: 46.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001302/0.389, allocations: 44 kB / 0.5323 GB, free: 46.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.007735/0.3968, allocations: 5.183 MB / 0.5373 GB, free: 41.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.762e-05/0.3968, allocations: 68 kB / 0.5374 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001266/0.397, allocations: 144 kB / 0.5375 GB, free: 41.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008388/0.3978, allocations: 396.9 kB / 0.5379 GB, free: 40.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002641/0.4004, allocations: 1.447 MB / 0.5393 GB, free: 39.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002383/0.4028, allocations: 4.478 MB / 0.5437 GB, free: 34.56 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004096/0.4069, allocations: 291.7 kB / 0.544 GB, free: 34.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006025/0.4075, allocations: 340 kB / 0.5443 GB, free: 33.95 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 652 * Number of states: 0 () * Number of discrete variables: 47 (torque1.torqueArrow.twoHeadedArrow,torque1.torqueArrow.headAtOrigin,fixed.color[3],fixed.color[2],fixed.color[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],cyl2.color[3],cyl2.color[2],cyl2.color[1],cyl2.body.sphereColor[3],cyl2.body.sphereColor[2],cyl2.body.sphereColor[1],cyl1.color[3],cyl1.color[2],cyl1.color[1],cyl1.body.sphereColor[3],cyl1.body.sphereColor[2],cyl1.body.sphereColor[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],gearConstraint.fixedTranslation2.color[3],gearConstraint.fixedTranslation2.color[2],gearConstraint.fixedTranslation2.color[1],gearConstraint.fixedTranslation1.color[3],gearConstraint.fixedTranslation1.color[2],gearConstraint.fixedTranslation1.color[1],gearConstraint.actuatedRevolute_b.cylinderColor[3],gearConstraint.actuatedRevolute_b.cylinderColor[2],gearConstraint.actuatedRevolute_b.cylinderColor[1],gearConstraint.actuatedRevolute_a.cylinderColor[3],gearConstraint.actuatedRevolute_a.cylinderColor[2],gearConstraint.actuatedRevolute_a.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (801): * Single equations (assignments): 796 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,11,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001847/0.4094, allocations: 0.7056 MB / 0.545 GB, free: 33.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007698/0.4101, allocations: 425.4 kB / 0.5454 GB, free: 32.81 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001355/0.4115, allocations: 0.951 MB / 0.5463 GB, free: 31.83 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.213e-05/0.4115, allocations: 16 kB / 0.5463 GB, free: 31.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.4115, allocations: 4 kB / 0.5463 GB, free: 31.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4115, allocations: 7.969 kB / 0.5463 GB, free: 31.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008451/0.42, allocations: 4.976 MB / 0.5512 GB, free: 26.68 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-05/0.42, allocations: 12.56 kB / 0.5512 GB, free: 26.67 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006357/0.4206, allocations: 223.7 kB / 0.5514 GB, free: 26.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005803/0.4212, allocations: 214 kB / 0.5516 GB, free: 26.24 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.576e-05/0.4213, allocations: 35.98 kB / 0.5517 GB, free: 26.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001985/0.4233, allocations: 3.87 MB / 0.5554 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.4233, allocations: 11.94 kB / 0.5555 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002972/0.4263, allocations: 2.106 MB / 0.5575 GB, free: 19.88 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001086/0.4274, allocations: 374.5 kB / 0.5579 GB, free: 19.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004739/0.4278, allocations: 31.98 kB / 0.5579 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008053/0.4286, allocations: 36 kB / 0.5579 GB, free: 19.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001831/0.4288, allocations: 113.2 kB / 0.558 GB, free: 19.33 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.985e-05/0.4289, allocations: 39.98 kB / 0.5581 GB, free: 19.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00209/0.431, allocations: 1.701 MB / 0.5597 GB, free: 17.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.431, allocations: 0 / 0.5597 GB, free: 17.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00534/0.4363, allocations: 1.129 MB / 0.5608 GB, free: 16.45 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 4 (gearConstraint.actuatedRevolute_b.phi,gearConstraint.actuatedRevolute_b.w,inertia1.phi,inertia1.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 (123): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,9,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005629/0.4369, allocations: 181.7 kB / 0.561 GB, free: 16.27 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005124/0.442, allocations: 3.001 MB / 0.5639 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/0.442, allocations: 0 / 0.5639 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008796/0.4429, allocations: 0.8026 MB / 0.5647 GB, free: 12.42 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.4459, allocations: 493.8 kB / 0.5652 GB, free: 11.96 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01252/0.4584, allocations: 8.711 MB / 0.5737 GB, free: 3.082 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001492/0.4599, allocations: 1.476 MB / 0.5752 GB, free: 1.578 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001702/0.4616, allocations: 0.5366 MB / 0.5757 GB, free: 1.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007473/0.4623, allocations: 0.6426 MB / 0.5763 GB, free: 408 kB / 410.7 MB Notification: Performance of SimCode: time 1.783e-06/0.4623, allocations: 0 / 0.5763 GB, free: 408 kB / 410.7 MB Notification: Performance of Templates: time 0.05744/0.5198, allocations: 32.51 MB / 0.6081 GB, free: 472 kB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Bevel1D_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/Rotor1D/Bevel1D/Bevel1D.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.820141972973943]