Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.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.001132/0.001132, allocations: 81.08 kB / 20.65 MB, free: 3.84 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.001968/0.001968, allocations: 177.4 kB / 24.06 MB, free: 452 kB / 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 0.9483/0.9483, allocations: 158.6 MB / 186 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.1383/0.1383, allocations: 32.37 MB / 270.7 MB, free: 14.54 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.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") translateModel(ModelicaTest.MultiBody.Forces.Force,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 348.2 MB, free: 9.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.758e-05, allocations: 2.312 kB / 348.2 MB, free: 9.121 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Force): time 0.01151/0.01153, allocations: 15.64 MB / 363.8 MB, free: 9.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01038/0.02191, allocations: 4.955 MB / 368.8 MB, free: 4.445 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002422/0.02433, allocations: 127.4 kB / 368.9 MB, free: 4.32 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005549/0.02988, allocations: 5.362 MB / 374.3 MB, free: 14.94 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005054/0.03493, allocations: 2.857 MB / 377.1 MB, free: 12.07 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002024/0.03695, allocations: 1.228 MB / 378.3 MB, free: 10.84 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00739/0.04434, allocations: 7.488 MB / 385.8 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005418/0.04976, allocations: 5.326 MB / 391.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005823/0.05559, allocations: 4.565 MB / 395.7 MB, free: 9.355 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003509/0.05909, allocations: 3.679 MB / 399.4 MB, free: 5.668 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008256/0.05992, allocations: 0.543 MB / 399.9 MB, free: 5.125 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.06163, allocations: 1.401 MB / 401.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001943/0.06358, allocations: 3.409 MB / 404.7 MB, free: 312 kB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001797/0.06538, allocations: 2.119 MB / 406.9 MB, free: 14.18 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00575/0.07112, allocations: 7.185 MB / 414.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.07113, allocations: 0 / 414.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.07113, allocations: 0 / 414.1 MB, free: 6.965 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001131/0.07124, allocations: 3.938 kB / 414.1 MB, free: 6.961 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: 2323 * Number of variables: 2323 Notification: Performance of Generate backend data structure: time 0.008178/0.07942, allocations: 8.119 MB / 422.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.07946, allocations: 12.03 kB / 422.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005613/0.08508, allocations: 2.517 MB / 424.7 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003852/0.08893, allocations: 3.405 MB / 428.1 MB, free: 8.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.08912, allocations: 378 kB / 428.5 MB, free: 8.352 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005158/0.08963, allocations: 0.4922 MB / 429 MB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009122/0.09875, allocations: 8.475 MB / 437.4 MB, free: 14.02 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001086/0.09886, allocations: 67.45 kB / 437.5 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003659/0.09923, allocations: 235.8 kB / 437.7 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002064/0.1013, allocations: 2.595 MB / 440.3 MB, free: 11.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006487/0.1078, allocations: 3.848 MB / 444.2 MB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1891/0.2968, allocations: 64.18 MB / 0.4965 GB, free: 42.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00623/0.3031, allocations: 2.979 MB / 0.4994 GB, free: 42.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007782/0.3038, allocations: 0.7649 MB / 0.5001 GB, free: 42.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005504/0.3094, allocations: 5.638 MB / 0.5056 GB, free: 37.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.3094, allocations: 60.73 kB / 0.5057 GB, free: 37.76 MB / 378.7 MB Notification: Performance of pre-optimization done (n=218): time 3.697e-06/0.3094, allocations: 0 / 0.5057 GB, free: 37.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=227): time 0.02246/0.3319, allocations: 10.23 MB / 0.5157 GB, free: 27.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.3319, allocations: 233.8 kB / 0.5159 GB, free: 27.64 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004163/0.3361, allocations: 5.456 MB / 0.5212 GB, free: 22.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001076/0.3362, allocations: 69.41 kB / 0.5213 GB, free: 22.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.3379, allocations: 5.283 MB / 0.5264 GB, free: 17.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000594/0.3385, allocations: 0.9811 MB / 0.5274 GB, free: 16.53 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.3398, allocations: 2 MB / 0.5294 GB, free: 14.51 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.913e-05/0.3399, allocations: 480.8 kB / 0.5298 GB, free: 14.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001193/0.3411, allocations: 0.8803 MB / 0.5307 GB, free: 13.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003254/0.3443, allocations: 9.161 MB / 0.5396 GB, free: 320 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007814/0.3521, allocations: 10.92 MB / 0.5503 GB, free: 1.871 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-05/0.3522, allocations: 56 kB / 0.5503 GB, free: 1.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=1179) (initialization): time 0.0093/0.3615, allocations: 7.437 MB / 0.5576 GB, free: 10.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/0.3616, allocations: 88 kB / 0.5577 GB, free: 10.28 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001886/0.3618, allocations: 192 kB / 0.5579 GB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001433/0.3632, allocations: 0.615 MB / 0.5585 GB, free: 9.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003249/0.3665, allocations: 2.031 MB / 0.5604 GB, free: 7.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004157/0.3706, allocations: 5.379 MB / 0.5657 GB, free: 1.848 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003652/0.3743, allocations: 399.6 kB / 0.5661 GB, free: 1.457 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004131/0.3747, allocations: 472 kB / 0.5665 GB, free: 0.9961 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 888 * Number of states: 0 () * Number of discrete variables: 63 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],force2.connectionLineColor[3],force2.connectionLineColor[2],force2.connectionLineColor[1],force2.forceColor[3],force2.forceColor[2],force2.forceColor[1],force1.connectionLineColor[3],force1.connectionLineColor[2],force1.connectionLineColor[1],force1.forceColor[3],force1.forceColor[2],force1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1127): * Single equations (assignments): 1120 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001632/0.3763, allocations: 0.9049 MB / 0.5674 GB, free: 80 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006717/0.377, allocations: 0.5593 MB / 0.568 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002399/0.3794, allocations: 1.769 MB / 0.5697 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/0.3794, allocations: 24 kB / 0.5697 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.3794, allocations: 4 kB / 0.5697 GB, free: 13.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.401e-05/0.3795, allocations: 16.02 kB / 0.5697 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01015/0.3896, allocations: 7.413 MB / 0.577 GB, free: 6.098 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.717e-05/0.3896, allocations: 9.375 kB / 0.577 GB, free: 6.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009861/0.3906, allocations: 339.6 kB / 0.5773 GB, free: 5.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001206/0.3918, allocations: 379.5 kB / 0.5777 GB, free: 5.379 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001565/0.392, allocations: 44 kB / 0.5777 GB, free: 5.336 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003708/0.3957, allocations: 4.985 MB / 0.5826 GB, free: 132 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.338e-06/0.3957, allocations: 19.7 kB / 0.5826 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.3999, allocations: 3.226 MB / 0.5857 GB, free: 12.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/0.4016, allocations: 0.6877 MB / 0.5864 GB, free: 12.05 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004191/0.402, allocations: 40 kB / 0.5865 GB, free: 12.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.403, allocations: 51.98 kB / 0.5865 GB, free: 11.96 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002634/0.4033, allocations: 157.1 kB / 0.5867 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.07e-05/0.4033, allocations: 55.98 kB / 0.5867 GB, free: 11.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002502/0.4058, allocations: 2.196 MB / 0.5889 GB, free: 9.582 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4058, allocations: 0 / 0.5889 GB, free: 9.582 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006417/0.4123, allocations: 1.625 MB / 0.5904 GB, free: 7.957 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.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 (193): * Single equations (assignments): 188 * 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 {(2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000514/0.4128, allocations: 210.7 kB / 0.5906 GB, free: 7.742 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.007086/0.4199, allocations: 4.227 MB / 0.5948 GB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/0.4199, allocations: 0 / 0.5948 GB, free: 3.512 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00201/0.4219, allocations: 1.104 MB / 0.5958 GB, free: 2.375 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/0.4268, allocations: 0.6186 MB / 0.5964 GB, free: 1.773 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02845/0.4552, allocations: 11.74 MB / 0.6079 GB, free: 5.809 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003408/0.4586, allocations: 1.918 MB / 0.6098 GB, free: 3.863 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002363/0.461, allocations: 0.7296 MB / 0.6105 GB, free: 3.129 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.4623, allocations: 0.8222 MB / 0.6113 GB, free: 2.305 MB / 458.7 MB Notification: Performance of SimCode: time 2.124e-06/0.4623, allocations: 0 / 0.6113 GB, free: 2.305 MB / 458.7 MB Notification: Performance of Templates: time 0.202/0.6643, allocations: 49.02 MB / 0.6592 GB, free: 124.3 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.Force_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/Force/Force.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.849674295634031]