Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002179/0.002179, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 258.3 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2334/0.2334, allocations: 46.96 MB / 361.6 MB, free: 4.008 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|bearingFriction.phi|bearingFriction.w|gear2_1.phi_rel|gear2_1.w_rel|gear2_2.phi_rel|gear2_2.w_rel|inertia1.phi|inertia1.w|inertia11.phi|inertia11.w|inertia2.phi|inertia2.w|inertia20.phi|inertia20.w|inertia21.phi|inertia21.w|inertia3.phi|inertia3.w|inertia5.phi|inertia5.w|inertia7.phi|inertia7.w|inertia9.phi|inertia9.w|position.phi|position.w|position1.phi|position1.w|position2.phi|position2.w|position3.phi|position3.w|position4.phi|position4.w|position5.phi|position5.w|slidingMass.s|slidingMass.v|slidingMass1.s|slidingMass1.v|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward|gear2_1.lossyGear.mode|gear2_2.lossyGear.mode|lossyGear.mode|lossyGear1.mode",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion") translateModel(ModelicaTest.Rotational.TestBearingConversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|bearingFriction.phi|bearingFriction.w|gear2_1.phi_rel|gear2_1.w_rel|gear2_2.phi_rel|gear2_2.w_rel|inertia1.phi|inertia1.w|inertia11.phi|inertia11.w|inertia2.phi|inertia2.w|inertia20.phi|inertia20.w|inertia21.phi|inertia21.w|inertia3.phi|inertia3.w|inertia5.phi|inertia5.w|inertia7.phi|inertia7.w|inertia9.phi|inertia9.w|position.phi|position.w|position1.phi|position1.w|position2.phi|position2.w|position3.phi|position3.w|position4.phi|position4.w|position5.phi|position5.w|slidingMass.s|slidingMass.v|slidingMass1.s|slidingMass1.v|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward|brake.mode|brake.startBackward|brake.startForward|brake1.mode|brake1.startBackward|brake1.startForward|gear2_1.lossyGear.mode|gear2_2.lossyGear.mode|lossyGear.mode|lossyGear1.mode",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 63.91 kB / 0.4974 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3439, allocations: 66.04 MB / 0.5619 GB, free: 4.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.TestBearingConversion): time 0.01407/0.358, allocations: 10.51 MB / 0.5721 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009752/0.3677, allocations: 4.191 MB / 0.5762 GB, free: 5.32 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002792/0.3705, allocations: 79.5 kB / 0.5763 GB, free: 5.242 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.3722, allocations: 0.5068 MB / 0.5768 GB, free: 4.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004274/0.3765, allocations: 1.172 MB / 0.5779 GB, free: 3.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003535/0.3801, allocations: 1.385 MB / 0.5793 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006407/0.3865, allocations: 4.742 MB / 0.5839 GB, free: 13.41 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001272/0.3877, allocations: 0.7247 MB / 0.5846 GB, free: 12.63 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003397/0.3911, allocations: 1.982 MB / 0.5866 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003234/0.3944, allocations: 2.223 MB / 0.5887 GB, free: 8.41 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009504/0.3953, allocations: 404 kB / 0.5891 GB, free: 8.016 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.3966, allocations: 0.5467 MB / 0.5897 GB, free: 7.469 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009815/0.3976, allocations: 0.9932 MB / 0.5906 GB, free: 6.473 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.3998, allocations: 1.572 MB / 0.5922 GB, free: 4.895 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006001/0.4058, allocations: 4.7 MB / 0.5967 GB, free: 188 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4058, allocations: 3.984 kB / 0.5968 GB, free: 184 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.4058, allocations: 0 / 0.5968 GB, free: 184 kB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001167/0.406, allocations: 0 / 0.5968 GB, free: 184 kB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 727 * Number of variables: 727 Notification: Performance of Generate backend data structure: time 0.009357/0.4153, allocations: 3.843 MB / 0.6005 GB, free: 12.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.4154, allocations: 8.031 kB / 0.6005 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.4176, allocations: 0.5102 MB / 0.601 GB, free: 11.76 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.4208, allocations: 1.518 MB / 0.6025 GB, free: 10.2 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007936/0.4216, allocations: 0.8083 MB / 0.6033 GB, free: 9.266 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005641/0.4222, allocations: 315.8 kB / 0.6036 GB, free: 8.957 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007112/0.4293, allocations: 3.543 MB / 0.607 GB, free: 5.277 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001243/0.4294, allocations: 43.72 kB / 0.6071 GB, free: 5.234 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003136/0.4297, allocations: 116 kB / 0.6072 GB, free: 5.121 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.684e-05/0.4298, allocations: 72 kB / 0.6073 GB, free: 5.051 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00804/0.4378, allocations: 3.446 MB / 0.6106 GB, free: 1.605 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01855/0.4564, allocations: 8.824 MB / 0.6192 GB, free: 8.551 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006711/0.4631, allocations: 2.924 MB / 0.6221 GB, free: 5.48 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003775/0.4669, allocations: 1.58 MB / 0.6236 GB, free: 3.852 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002883/0.4672, allocations: 62.48 kB / 0.6237 GB, free: 3.789 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.236e-05/0.4672, allocations: 96.23 kB / 0.6238 GB, free: 3.688 MB / 462.1 MB Notification: Performance of pre-optimization done (n=364): time 7.564e-06/0.4673, allocations: 0 / 0.6238 GB, free: 3.688 MB / 462.1 MB Notification: Performance of matching and sorting (n=427): time 0.04387/0.5111, allocations: 18.95 MB / 0.6423 GB, free: 120 kB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003865/0.5115, allocations: 0.6007 MB / 0.6429 GB, free: 15.38 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002805/0.5143, allocations: 1.595 MB / 0.6445 GB, free: 13.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000823/0.5151, allocations: 121.7 kB / 0.6446 GB, free: 13.65 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009736/0.5161, allocations: 0.9827 MB / 0.6455 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001961/0.5181, allocations: 1.511 MB / 0.647 GB, free: 11.13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001491/0.5196, allocations: 0.7253 MB / 0.6477 GB, free: 10.39 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.5197, allocations: 305.1 kB / 0.648 GB, free: 10.09 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003506/0.5232, allocations: 1.453 MB / 0.6494 GB, free: 8.633 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004463/0.5277, allocations: 2.306 MB / 0.6517 GB, free: 6.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006987/0.5347, allocations: 3.362 MB / 0.655 GB, free: 2.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.511e-05/0.5347, allocations: 4 kB / 0.655 GB, free: 2.398 MB / 494.1 MB Notification: Performance of matching and sorting (n=542) (initialization): time 0.01187/0.5466, allocations: 4.804 MB / 0.6597 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.5466, allocations: 14.34 kB / 0.6597 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.064e-05/0.5467, allocations: 20 kB / 0.6597 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004984/0.5516, allocations: 1.945 MB / 0.6616 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003685/0.5553, allocations: 0.7879 MB / 0.6624 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02237/0.5777, allocations: 16.64 MB / 0.6786 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003499/0.5812, allocations: 303.8 kB / 0.6789 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006176/0.5818, allocations: 183.9 kB / 0.6791 GB, free: 8.941 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 60 (brake1.mode,$PRE.brake1.mode,brake1.locked,brake1.startBackward,$PRE.brake1.startBackward,brake1.startForward,$PRE.brake1.startForward,brake1.free,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,gear2_2.lossyGear.ideal,gear2_2.lossyGear.mode,$PRE.gear2_2.lossyGear.mode,gear2_2.lossyGear.locked,gear2_2.lossyGear.startBackward,gear2_2.lossyGear.startForward,gear2_2.lossyGear.tau_aPos,gear2_1.lossyGear.ideal,gear2_1.lossyGear.mode,$PRE.gear2_1.lossyGear.mode,gear2_1.lossyGear.locked,gear2_1.lossyGear.startBackward,gear2_1.lossyGear.startForward,gear2_1.lossyGear.tau_aPos,lossyGear1.ideal,lossyGear1.mode,$PRE.lossyGear1.mode,lossyGear1.locked,lossyGear1.startBackward,lossyGear1.startForward,lossyGear1.tau_aPos,bearingFriction.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,bearingFriction1.free,bearingFriction1.mode,$PRE.bearingFriction1.mode,bearingFriction1.locked,bearingFriction1.startBackward,$PRE.bearingFriction1.startBackward,bearingFriction1.startForward,$PRE.bearingFriction1.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (401): * Single equations (assignments): 391 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 10 * 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,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 8 systems {(1,8), (1,8), (2,22), (2,22), (2,25), (1,13), (2,24), (1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001637/0.5835, allocations: 0.6141 MB / 0.6797 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001039/0.5845, allocations: 302 kB / 0.68 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.5855, allocations: 0.5236 MB / 0.6805 GB, free: 7.488 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-05/0.5856, allocations: 23.92 kB / 0.6805 GB, free: 7.465 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.1e-05/0.5856, allocations: 4 kB / 0.6805 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00157/0.5872, allocations: 0.6454 MB / 0.6811 GB, free: 6.812 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005133/0.5877, allocations: 108 kB / 0.6812 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003123/0.5908, allocations: 331.5 kB / 0.6815 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001047/0.5918, allocations: 488.8 kB / 0.682 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01715/0.609, allocations: 6.358 MB / 0.6882 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01491/0.6239, allocations: 7.07 MB / 0.6951 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005077/0.629, allocations: 1.876 MB / 0.697 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001824/0.6308, allocations: 1.04 MB / 0.698 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of Backend: time 3.1e-07/0.6308, allocations: 0 / 0.698 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01335/0.6441, allocations: 4.107 MB / 0.702 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of SimCode: time 0.01685/0.661, allocations: 8.377 MB / 0.7102 GB, free: 9.082 MB / 0.545 GB Notification: Performance of Templates: time 0.4632/1.124, allocations: 65.82 MB / 0.7744 GB, free: 125.2 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.sim & ./ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/TestBearingConversion/TestBearingConversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Rotational.TestBearingConversion.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: 8.04359226700035]