Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, allocations: 107.2 kB / 20.37 MB, free: 2.105 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 199.7 kB / 23.52 MB, free: 5.402 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 252.1 MB, free: 13.41 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2194/0.2194, allocations: 44.91 MB / 352.1 MB, free: 12.3 MB / 286.1 MB [Timeout remaining time 90] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") translateModel(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|inertia4.phi|inertia4.w|bearingFriction1.mode|bearingFriction1.startBackward|bearingFriction1.startForward",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 71.89 kB / 495.6 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3807/0.383, allocations: 64.25 MB / 0.5467 GB, free: 13.23 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Rotational.ForUsersGuide.SupportTorque1): time 0.005572/0.3886, allocations: 2.265 MB / 0.5489 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.3908, allocations: 0.7436 MB / 0.5497 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002774/0.3911, allocations: 2.5 kB / 0.5497 GB, free: 10.86 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002924/0.3914, allocations: 37.31 kB / 0.5497 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003653/0.3918, allocations: 68.91 kB / 0.5498 GB, free: 10.77 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000702/0.3925, allocations: 134.7 kB / 0.5499 GB, free: 10.66 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006938/0.3932, allocations: 338.7 kB / 0.5502 GB, free: 10.46 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002225/0.3934, allocations: 54.67 kB / 0.5503 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003529/0.3937, allocations: 143.1 kB / 0.5504 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003827/0.3941, allocations: 165.8 kB / 0.5506 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.507e-05/0.3942, allocations: 26.53 kB / 0.5506 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002533/0.3945, allocations: 81 kB / 0.5507 GB, free: 10.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001332/0.3946, allocations: 61.89 kB / 0.5507 GB, free: 10.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002306/0.3948, allocations: 128.3 kB / 0.5509 GB, free: 10.06 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007088/0.3955, allocations: 345.1 kB / 0.5512 GB, free: 9.816 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3955, allocations: 4 kB / 0.5512 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.3955, allocations: 0 / 0.5512 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.3956, allocations: 0 / 0.5512 GB, free: 9.812 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.001469/0.397, allocations: 0.5659 MB / 0.5517 GB, free: 9.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.3971, allocations: 8.438 kB / 0.5518 GB, free: 9.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001323/0.3972, allocations: 26.55 kB / 0.5518 GB, free: 9.281 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/0.3978, allocations: 252.8 kB / 0.552 GB, free: 9.02 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3978, allocations: 18.22 kB / 0.552 GB, free: 9.012 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.57e-05/0.3979, allocations: 27.09 kB / 0.5521 GB, free: 9 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007458/0.3986, allocations: 261.2 kB / 0.5523 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.3987, allocations: 1.125 kB / 0.5523 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.3987, allocations: 10.31 kB / 0.5523 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.3987, allocations: 5.406 kB / 0.5523 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006952/0.3994, allocations: 236.7 kB / 0.5526 GB, free: 8.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4014, allocations: 0.7277 MB / 0.5533 GB, free: 8.125 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007879/0.4021, allocations: 226.1 kB / 0.5535 GB, free: 8.004 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.4025, allocations: 134.9 kB / 0.5536 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.4026, allocations: 2.375 kB / 0.5536 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.4026, allocations: 36.08 kB / 0.5536 GB, free: 7.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 1.944e-06/0.4026, allocations: 3.938 kB / 0.5536 GB, free: 7.887 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.004391/0.407, allocations: 1.454 MB / 0.5551 GB, free: 6.852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/0.407, allocations: 54.72 kB / 0.5551 GB, free: 6.789 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003132/0.4074, allocations: 198.5 kB / 0.5553 GB, free: 6.637 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001052/0.4075, allocations: 32.05 kB / 0.5553 GB, free: 6.602 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001622/0.4076, allocations: 138 kB / 0.5555 GB, free: 6.473 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/0.4078, allocations: 119.6 kB / 0.5556 GB, free: 6.367 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001899/0.408, allocations: 71.02 kB / 0.5557 GB, free: 6.316 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4082, allocations: 335.7 kB / 0.556 GB, free: 5.984 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003734/0.4086, allocations: 122.4 kB / 0.5561 GB, free: 5.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005375/0.4091, allocations: 167 kB / 0.5563 GB, free: 5.828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006562/0.4098, allocations: 262.1 kB / 0.5565 GB, free: 5.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4098, allocations: 0 / 0.5565 GB, free: 5.566 MB / 398.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001177/0.411, allocations: 429.9 kB / 0.5569 GB, free: 5.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.411, allocations: 8 kB / 0.5569 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/0.411, allocations: 0 / 0.5569 GB, free: 5.129 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007427/0.4117, allocations: 240.7 kB / 0.5571 GB, free: 4.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003218/0.4121, allocations: 55.91 kB / 0.5572 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001096/0.4132, allocations: 0.7476 MB / 0.5579 GB, free: 4.062 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003871/0.4136, allocations: 39.95 kB / 0.558 GB, free: 4.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.379e-05/0.4136, allocations: 8 kB / 0.558 GB, free: 4.016 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 8 (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 (30): * Single equations (assignments): 29 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0002328/0.4138, allocations: 147.9 kB / 0.5581 GB, free: 3.863 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.669e-05/0.4139, allocations: 23.86 kB / 0.5581 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.4141, allocations: 42.58 kB / 0.5582 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.4142, allocations: 4 kB / 0.5582 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.4142, allocations: 0 / 0.5582 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.4142, allocations: 0 / 0.5582 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002323/0.4165, allocations: 0.9479 MB / 0.5591 GB, free: 2.781 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4165, allocations: 4 kB / 0.5591 GB, free: 2.777 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.4168, allocations: 51.91 kB / 0.5592 GB, free: 2.727 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005916/0.4174, allocations: 212.7 kB / 0.5594 GB, free: 2.516 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.689e-05/0.4174, allocations: 8 kB / 0.5594 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001035/0.4185, allocations: 0.7317 MB / 0.5601 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4185, allocations: 0 / 0.5601 GB, free: 1.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001659/0.4201, allocations: 0.6343 MB / 0.5607 GB, free: 1.094 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001976/0.4203, allocations: 125 kB / 0.5608 GB, free: 0.9531 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.859e-05/0.4204, allocations: 11.94 kB / 0.5608 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003581/0.4208, allocations: 31.95 kB / 0.5609 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.4209, allocations: 43.94 kB / 0.5609 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.654e-05/0.4209, allocations: 15.98 kB / 0.5609 GB, free: 0.8516 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001801/0.4211, allocations: 144.5 kB / 0.5611 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4211, allocations: 0 / 0.5611 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005695/0.4217, allocations: 80 kB / 0.5611 GB, free: 0.6328 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (inertia3.phi,inertia3.w) * Number of discrete variables: 4 (bearingFriction1.startForward,bearingFriction1.startBackward,bearingFriction1.locked,bearingFriction1.mode) * Number of discrete states: 3 (bearingFriction1.mode,bearingFriction1.startBackward,bearingFriction1.startForward) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * Array equations: 0 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002657/0.422, allocations: 123.1 kB / 0.5613 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001088/0.423, allocations: 311.5 kB / 0.5616 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.423, allocations: 0 / 0.5616 GB, free: 204 kB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004823/0.4235, allocations: 152.3 kB / 0.5617 GB, free: 52 kB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.424, allocations: 39.86 kB / 0.5617 GB, free: 12 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.4259, allocations: 0.7725 MB / 0.5625 GB, free: 15.2 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.4263, allocations: 0.7525 MB / 0.5632 GB, free: 14.43 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.879e-05/0.4264, allocations: 23.44 kB / 0.5633 GB, free: 14.4 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4264, allocations: 0 / 0.5633 GB, free: 14.4 MB / 414.1 MB Notification: Performance of Templates: time 0.007351/0.4337, allocations: 4.157 MB / 0.5673 GB, free: 10.25 MB / 414.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.sim & ./ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Rotational/ForUsersGuide/SupportTorque1/SupportTorque1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Rotational.ForUsersGuide.SupportTorque1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] [Timeout remaining time 660] Reference file matches