Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.002708/0.002708, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 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.003034/0.003034, allocations: 165.2 kB / 23.53 MB, free: 0.8984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.363/1.363, allocations: 158.6 MB / 185.3 MB, free: 2.898 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2098/0.2098, allocations: 32.37 MB / 270 MB, free: 14.77 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 347 MB, free: 9.754 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.363e-05/2.482e-05, allocations: 2.312 kB / 347 MB, free: 9.75 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01279/0.01282, allocations: 13.19 MB / 360.2 MB, free: 12.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0119/0.02472, allocations: 4.517 MB / 364.7 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002578/0.0273, allocations: 103.5 kB / 364.8 MB, free: 7.871 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009014/0.03631, allocations: 4.034 MB / 368.8 MB, free: 3.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007658/0.04397, allocations: 2.515 MB / 371.3 MB, free: 1.293 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003052/0.04702, allocations: 1.134 MB / 372.5 MB, free: 160 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.01126/0.05828, allocations: 6.586 MB / 379.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007307/0.06559, allocations: 4.322 MB / 383.4 MB, free: 5.168 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00692/0.07251, allocations: 3.204 MB / 386.6 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006099/0.07861, allocations: 3.172 MB / 389.8 MB, free: 14.78 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001647/0.08026, allocations: 460 kB / 390.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003951/0.08421, allocations: 1.439 MB / 391.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00385/0.08806, allocations: 2.844 MB / 394.5 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003961/0.09202, allocations: 1.729 MB / 396.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.1075, allocations: 9.532 MB / 405.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.1075, allocations: 0 / 405.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.1075, allocations: 0 / 405.8 MB, free: 14.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003274/0.1078, allocations: 4 kB / 405.8 MB, free: 14.73 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02055/0.1284, allocations: 7.54 MB / 413.3 MB, free: 7.117 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.1284, allocations: 8.031 kB / 413.3 MB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01507/0.1435, allocations: 3.254 MB / 416.6 MB, free: 3.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0117/0.1552, allocations: 3.522 MB / 420.1 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003955/0.1556, allocations: 300 kB / 420.4 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001629/0.1572, allocations: 400.1 kB / 420.8 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02205/0.1793, allocations: 8.288 MB / 429.1 MB, free: 6.129 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002089/0.1795, allocations: 59.45 kB / 429.1 MB, free: 6.07 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006343/0.1801, allocations: 187.8 kB / 429.3 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004878/0.185, allocations: 2.409 MB / 431.7 MB, free: 3.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01817/0.2032, allocations: 4.525 MB / 436.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2342/0.4374, allocations: 58.97 MB / 495.2 MB, free: 51.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00895/0.4463, allocations: 2.403 MB / 497.6 MB, free: 51.19 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001671/0.448, allocations: 0.8238 MB / 498.4 MB, free: 51 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01063/0.4586, allocations: 4.932 MB / 0.4916 GB, free: 48.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.949e-05/0.4586, allocations: 60.45 kB / 0.4916 GB, free: 48.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=181): time 4.308e-06/0.4587, allocations: 0 / 0.4916 GB, free: 48.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=193): time 0.04473/0.5034, allocations: 13.59 MB / 0.5049 GB, free: 38.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.064e-05/0.5035, allocations: 201.2 kB / 0.5051 GB, free: 38.6 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006764/0.5102, allocations: 5.798 MB / 0.5107 GB, free: 32.97 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004339/0.5107, allocations: 53.7 kB / 0.5108 GB, free: 32.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002209/0.5129, allocations: 4.564 MB / 0.5152 GB, free: 28.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001029/0.5139, allocations: 0.8788 MB / 0.5161 GB, free: 27.65 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002014/0.5159, allocations: 1.906 MB / 0.518 GB, free: 25.74 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.948e-05/0.516, allocations: 492.6 kB / 0.5184 GB, free: 25.26 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001839/0.5178, allocations: 0.9396 MB / 0.5194 GB, free: 24.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004286/0.5221, allocations: 7.801 MB / 0.527 GB, free: 13.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00739/0.5295, allocations: 9.557 MB / 0.5363 GB, free: 0.9531 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001436/0.5296, allocations: 48 kB / 0.5364 GB, free: 0.9062 MB / 378.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.01839/0.548, allocations: 7.149 MB / 0.5433 GB, free: 9.75 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001357/0.5481, allocations: 72 kB / 0.5434 GB, free: 9.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000236/0.5484, allocations: 159.9 kB / 0.5436 GB, free: 9.523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/0.552, allocations: 0.8295 MB / 0.5444 GB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006745/0.5587, allocations: 1.7 MB / 0.546 GB, free: 6.984 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0103/0.569, allocations: 6.04 MB / 0.5519 GB, free: 0.7227 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009487/0.5785, allocations: 479.4 kB / 0.5524 GB, free: 260 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00253/0.5811, allocations: 450.2 kB / 0.5528 GB, free: 15.82 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (904): * Single equations (assignments): 897 * Array equations: 5 * 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,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004276/0.5853, allocations: 0.8567 MB / 0.5536 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/0.5869, allocations: 477.1 kB / 0.5541 GB, free: 14.48 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006363/0.5932, allocations: 2.11 MB / 0.5562 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.45e-05/0.5933, allocations: 21.95 kB / 0.5562 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-05/0.5933, allocations: 8 kB / 0.5562 GB, free: 12.32 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/0.5933, allocations: 7.969 kB / 0.5562 GB, free: 12.31 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02184/0.6152, allocations: 7.714 MB / 0.5637 GB, free: 4.543 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.6152, allocations: 8.031 kB / 0.5637 GB, free: 4.535 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/0.6172, allocations: 359.5 kB / 0.5641 GB, free: 4.184 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003007/0.6202, allocations: 0.5973 MB / 0.5647 GB, free: 3.578 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002146/0.6204, allocations: 35.09 kB / 0.5647 GB, free: 3.547 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008371/0.6287, allocations: 5.524 MB / 0.5701 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6288, allocations: 4 kB / 0.5701 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008901/0.6377, allocations: 3.399 MB / 0.5734 GB, free: 10.33 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002758/0.6404, allocations: 0.6805 MB / 0.5741 GB, free: 9.645 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000616/0.641, allocations: 36.03 kB / 0.5741 GB, free: 9.609 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/0.6432, allocations: 183.7 kB / 0.5743 GB, free: 9.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003756/0.6435, allocations: 121 kB / 0.5744 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001787/0.6437, allocations: 59.22 kB / 0.5745 GB, free: 9.254 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005402/0.6491, allocations: 2.381 MB / 0.5768 GB, free: 6.875 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.6491, allocations: 0 / 0.5768 GB, free: 6.875 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01025/0.6594, allocations: 1.41 MB / 0.5782 GB, free: 5.469 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (154): * Single equations (assignments): 149 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008623/0.6602, allocations: 194.8 kB / 0.5783 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.6709, allocations: 4.252 MB / 0.5825 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/0.6709, allocations: 0 / 0.5825 GB, free: 1.012 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.6733, allocations: 1.165 MB / 0.5836 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003994/0.6773, allocations: 0.5304 MB / 0.5842 GB, free: 15.28 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02174/0.6991, allocations: 9.748 MB / 0.5937 GB, free: 5.406 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006092/0.7052, allocations: 3.199 MB / 0.5968 GB, free: 2.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005464/0.7106, allocations: 1.864 MB / 0.5986 GB, free: 316 kB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001135/0.7118, allocations: 288.4 kB / 0.5989 GB, free: 24 kB / 442.7 MB Notification: Performance of SimCode: time 2.695e-06/0.7118, allocations: 4 kB / 0.5989 GB, free: 20 kB / 442.7 MB Notification: Performance of Templates: time 0.2696/0.9814, allocations: 40.7 MB / 0.6386 GB, free: 143.4 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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: 7.375740448012948]