Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.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.001728/0.001728, allocations: 111.2 kB / 21.18 MB, free: 0.6289 MB / 14.72 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.002241/0.002241, allocations: 206.8 kB / 24.48 MB, free: 4.035 MB / 14.72 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.464/1.464, allocations: 230.2 MB / 257.8 MB, free: 8.5 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2646/0.2646, allocations: 46.88 MB / 361.1 MB, free: 4.637 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-beta.om/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.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5046,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents") translateModel(ModelicaTest.Rotational.AllComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5046,variableFilter="time|accelerate.phi|accelerate.w|clutch.phi_rel|clutch.w_rel|damper.phi_rel|damper.w_rel|elastoBacklash.phi_rel|elastoBacklash.w_rel|gear2_1.phi_rel|gear2_1.w_rel|inertia13.phi|inertia13.w|inertia14.phi|inertia14.w|inertia15.phi|inertia2.phi|inertia2.w|inertia3.phi|inertia3.w|inertia8.phi|inertia8.w|position.phi|position.w|speed.phi|speed.w|springDamper.phi_rel|springDamper.w_rel|bearingFriction.mode|bearingFriction.startBackward|bearingFriction.startForward|brake.mode|brake.startBackward|brake.startForward|clutch.mode|clutch.startBackward|clutch.startForward|gear2_1.lossyGear.mode|lossyGear.mode",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002372/0.002372, allocations: 71.88 kB / 0.4968 GB, free: 7.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3051/0.3075, allocations: 65.99 MB / 0.5612 GB, free: 5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.AllComponents): time 0.01283/0.3203, allocations: 10.41 MB / 0.5714 GB, free: 10.54 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00776/0.3281, allocations: 3.506 MB / 0.5748 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001609/0.3297, allocations: 47.81 kB / 0.5749 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.3308, allocations: 404 kB / 0.5753 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002941/0.3337, allocations: 0.9279 MB / 0.5762 GB, free: 5.641 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002569/0.3363, allocations: 1.041 MB / 0.5772 GB, free: 4.602 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005265/0.3416, allocations: 3.692 MB / 0.5808 GB, free: 0.8984 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.3427, allocations: 0.6448 MB / 0.5814 GB, free: 216 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00262/0.3454, allocations: 1.499 MB / 0.5829 GB, free: 14.7 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002751/0.3481, allocations: 1.709 MB / 0.5845 GB, free: 12.99 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007054/0.3488, allocations: 308 kB / 0.5848 GB, free: 12.69 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001065/0.3499, allocations: 439.7 kB / 0.5853 GB, free: 12.26 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008008/0.3507, allocations: 0.7516 MB / 0.586 GB, free: 11.51 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001712/0.3524, allocations: 1.466 MB / 0.5874 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004627/0.357, allocations: 3.619 MB / 0.591 GB, free: 6.402 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/0.357, allocations: 0 / 0.591 GB, free: 6.402 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.357, allocations: 0 / 0.591 GB, free: 6.402 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.667e-05/0.3571, allocations: 8 kB / 0.591 GB, free: 6.395 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.009099/0.3662, allocations: 3.245 MB / 0.5941 GB, free: 3.082 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.837e-05/0.3663, allocations: 12.03 kB / 0.5941 GB, free: 3.07 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.3684, allocations: 430.9 kB / 0.5946 GB, free: 2.648 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3708, allocations: 1.266 MB / 0.5958 GB, free: 1.324 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004722/0.3713, allocations: 408.5 kB / 0.5962 GB, free: 0.8789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004555/0.3718, allocations: 263.7 kB / 0.5964 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006062/0.3778, allocations: 2.743 MB / 0.5991 GB, free: 13.78 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001082/0.3779, allocations: 35.84 kB / 0.5991 GB, free: 13.75 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000245/0.3782, allocations: 95.98 kB / 0.5992 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.3782, allocations: 56 kB / 0.5993 GB, free: 13.6 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006726/0.385, allocations: 2.703 MB / 0.6019 GB, free: 10.89 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0148/0.3998, allocations: 7.577 MB / 0.6093 GB, free: 3.188 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005496/0.4053, allocations: 2.453 MB / 0.6117 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003241/0.4085, allocations: 1.326 MB / 0.613 GB, free: 15.24 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002494/0.4087, allocations: 130.8 kB / 0.6131 GB, free: 15.09 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.261e-05/0.4088, allocations: 76.94 kB / 0.6132 GB, free: 15.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=287): time 5.069e-06/0.4088, allocations: 0 / 0.6132 GB, free: 15.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=346): time 0.03522/0.444, allocations: 15.15 MB / 0.628 GB, free: 15.26 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002113/0.4442, allocations: 351 kB / 0.6283 GB, free: 14.84 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002018/0.4463, allocations: 1.271 MB / 0.6296 GB, free: 13.55 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004728/0.4467, allocations: 101.6 kB / 0.6297 GB, free: 13.45 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000737/0.4475, allocations: 0.7865 MB / 0.6305 GB, free: 12.66 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001292/0.4488, allocations: 1.224 MB / 0.6316 GB, free: 11.42 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009169/0.4497, allocations: 0.5466 MB / 0.6322 GB, free: 10.87 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4498, allocations: 313.1 kB / 0.6325 GB, free: 10.56 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002836/0.4527, allocations: 1.131 MB / 0.6336 GB, free: 9.426 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003188/0.4558, allocations: 1.611 MB / 0.6352 GB, free: 7.672 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005636/0.4615, allocations: 2.584 MB / 0.6377 GB, free: 4.949 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4615, allocations: 0 / 0.6377 GB, free: 4.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=422) (initialization): time 0.008336/0.4698, allocations: 3.603 MB / 0.6412 GB, free: 1.324 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.32e-05/0.4699, allocations: 8 kB / 0.6412 GB, free: 1.316 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.782e-05/0.4699, allocations: 16.08 kB / 0.6412 GB, free: 1.301 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002802/0.4727, allocations: 1.15 MB / 0.6423 GB, free: 140 kB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003406/0.4761, allocations: 0.745 MB / 0.6431 GB, free: 15.39 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01075/0.4868, allocations: 8.001 MB / 0.6509 GB, free: 7.035 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002609/0.4894, allocations: 255.8 kB / 0.6511 GB, free: 6.785 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002821/0.4897, allocations: 128 kB / 0.6513 GB, free: 6.66 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 38 (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,bearingFriction.free,lossyGear.ideal,lossyGear.mode,$PRE.lossyGear.mode,lossyGear.locked,lossyGear.startBackward,lossyGear.startForward,lossyGear.tau_aPos,brake.mode,$PRE.brake.mode,brake.locked,brake.startBackward,$PRE.brake.startBackward,brake.startForward,$PRE.brake.startForward,brake.free,clutch.mode,$PRE.clutch.mode,clutch.locked,clutch.startBackward,$PRE.clutch.startBackward,clutch.startForward,$PRE.clutch.startForward,clutch.free,bearingFriction.mode,$PRE.bearingFriction.mode,bearingFriction.locked,bearingFriction.startBackward,$PRE.bearingFriction.startBackward,bearingFriction.startForward,$PRE.bearingFriction.startForward) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (347): * Single equations (assignments): 342 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 5 systems {(2,22), (2,25), (1,7), (1,9), (1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.001288/0.491, allocations: 0.4924 MB / 0.6517 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006473/0.4917, allocations: 246.4 kB / 0.652 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001313/0.493, allocations: 0.6173 MB / 0.6526 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.197e-05/0.493, allocations: 15.94 kB / 0.6526 GB, free: 5.27 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.493, allocations: 4 kB / 0.6526 GB, free: 5.266 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.4942, allocations: 0.5695 MB / 0.6531 GB, free: 4.676 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004031/0.4946, allocations: 84.17 kB / 0.6532 GB, free: 4.594 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002733/0.4973, allocations: 327.6 kB / 0.6535 GB, free: 4.273 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008442/0.4981, allocations: 373.9 kB / 0.6539 GB, free: 3.906 MB / 494.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01263/0.5108, allocations: 4.772 MB / 0.6586 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01151/0.5223, allocations: 5.477 MB / 0.6639 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003742/0.526, allocations: 1.457 MB / 0.6653 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001414/0.5274, allocations: 0.8511 MB / 0.6662 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of Backend: time 1.91e-07/0.5274, allocations: 0 / 0.6662 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008373/0.5358, allocations: 2.775 MB / 0.6689 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of SimCode: time 0.009443/0.5453, allocations: 6.521 MB / 0.6752 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of Templates: time 0.08397/0.6292, allocations: 46.67 MB / 0.7208 GB, free: 15.58 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Rotational/AllComponents/AllComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Rotational.AllComponents.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: 6.6886674403212965]