Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001611/0.001611, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002005/0.002005, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 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.66/1.66, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3597/0.3597, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 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.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 377.3 MB, free: 2.961 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.736e-05/2.903e-05, allocations: 2.312 kB / 377.3 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01268/0.01271, allocations: 8.432 MB / 385.7 MB, free: 10.48 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.008086/0.0208, allocations: 3.636 MB / 389.4 MB, free: 6.836 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001238/0.02204, allocations: 63.75 kB / 389.4 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00613/0.02816, allocations: 2.87 MB / 392.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004531/0.0327, allocations: 1.719 MB / 394 MB, free: 2.168 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001809/0.03451, allocations: 0.7872 MB / 394.8 MB, free: 1.379 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00605/0.04055, allocations: 4.28 MB / 399.1 MB, free: 13.09 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004589/0.04514, allocations: 3.104 MB / 402.2 MB, free: 9.914 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003471/0.04861, allocations: 2.14 MB / 404.3 MB, free: 7.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003297/0.05191, allocations: 2.026 MB / 406.4 MB, free: 5.738 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000832/0.05274, allocations: 324 kB / 406.7 MB, free: 5.422 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.05482, allocations: 1.139 MB / 407.8 MB, free: 4.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002041/0.05686, allocations: 1.866 MB / 409.7 MB, free: 2.41 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001693/0.05855, allocations: 1.164 MB / 410.8 MB, free: 1.242 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008846/0.0674, allocations: 6.801 MB / 417.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.06741, allocations: 0 / 417.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.06741, allocations: 0 / 417.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001283/0.06753, allocations: 0 / 417.6 MB, free: 10.42 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1367 * Number of variables: 1367 Notification: Performance of Generate backend data structure: time 0.009525/0.07706, allocations: 4.402 MB / 422 MB, free: 5.965 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.0771, allocations: 8.031 kB / 422.1 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01663/0.09373, allocations: 2.963 MB / 425 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00632/0.1, allocations: 2.396 MB / 427.4 MB, free: 0.543 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002287/0.1003, allocations: 222 kB / 427.6 MB, free: 332 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008086/0.1011, allocations: 300.2 kB / 427.9 MB, free: 32 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01572/0.1168, allocations: 8.825 MB / 436.7 MB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001257/0.1169, allocations: 47.62 kB / 436.8 MB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003968/0.1173, allocations: 135.9 kB / 436.9 MB, free: 6.375 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002968/0.1203, allocations: 1.661 MB / 438.6 MB, free: 4.707 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1636/0.2839, allocations: 7.242 MB / 445.8 MB, free: 94.96 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02883/0.3127, allocations: 31.63 MB / 477.5 MB, free: 72.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/0.3168, allocations: 1.911 MB / 479.4 MB, free: 71.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.3182, allocations: 1.208 MB / 480.6 MB, free: 71.19 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003091/0.3185, allocations: 121.5 kB / 480.7 MB, free: 71.17 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.538e-05/0.3185, allocations: 45.47 kB / 480.7 MB, free: 71.12 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 3.917e-06/0.3185, allocations: 0 / 480.7 MB, free: 71.12 MB / 410.7 MB Notification: Performance of matching and sorting (n=141): time 0.02762/0.3462, allocations: 12.19 MB / 492.9 MB, free: 66.59 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.3462, allocations: 193.2 kB / 493.1 MB, free: 66.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004233/0.3504, allocations: 3.496 MB / 496.6 MB, free: 65.12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002345/0.3507, allocations: 42.58 kB / 496.7 MB, free: 65.07 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001299/0.352, allocations: 2.925 MB / 499.6 MB, free: 62.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005315/0.3525, allocations: 0.5768 MB / 0.4884 GB, free: 62.39 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001277/0.3538, allocations: 1.089 MB / 0.4895 GB, free: 61.84 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.371e-05/0.3538, allocations: 302.5 kB / 0.4898 GB, free: 61.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00246/0.3563, allocations: 1.84 MB / 0.4916 GB, free: 60.99 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003819/0.3601, allocations: 5.249 MB / 0.4967 GB, free: 55.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007433/0.3675, allocations: 7.581 MB / 0.5041 GB, free: 48.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001326/0.3677, allocations: 36 kB / 0.5041 GB, free: 48.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=699) (initialization): time 0.0117/0.3794, allocations: 7.553 MB / 0.5115 GB, free: 42.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.029e-05/0.3794, allocations: 56 kB / 0.5116 GB, free: 42.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.616e-05/0.3795, allocations: 120 kB / 0.5117 GB, free: 42.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001608/0.3811, allocations: 0.7183 MB / 0.5124 GB, free: 41.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.3845, allocations: 1.233 MB / 0.5136 GB, free: 40.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003985/0.3884, allocations: 4.222 MB / 0.5177 GB, free: 36.74 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003969/0.3924, allocations: 333.3 kB / 0.518 GB, free: 36.46 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/0.3929, allocations: 334.4 kB / 0.5184 GB, free: 36.14 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (661): * Single equations (assignments): 657 * Array equations: 3 * 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): 1 system {(2,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002501/0.3954, allocations: 1.956 MB / 0.5203 GB, free: 34.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007575/0.3962, allocations: 322 kB / 0.5206 GB, free: 33.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003703/0.3999, allocations: 2.313 MB / 0.5228 GB, free: 31.56 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.947e-05/0.3999, allocations: 16 kB / 0.5228 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.257e-05/0.3999, allocations: 6.5 kB / 0.5228 GB, free: 31.54 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3999, allocations: 7.969 kB / 0.5229 GB, free: 31.53 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009118/0.4091, allocations: 5.398 MB / 0.5281 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-05/0.4091, allocations: 3.984 kB / 0.5281 GB, free: 26.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/0.4101, allocations: 227.6 kB / 0.5283 GB, free: 25.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001476/0.4116, allocations: 0.5353 MB / 0.5289 GB, free: 25.36 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001194/0.4117, allocations: 23.98 kB / 0.5289 GB, free: 25.33 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00366/0.4154, allocations: 3.816 MB / 0.5326 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.295e-06/0.4154, allocations: 0 / 0.5326 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006226/0.4216, allocations: 4.588 MB / 0.5371 GB, free: 16.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009269/0.4226, allocations: 289.9 kB / 0.5374 GB, free: 16.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003387/0.4229, allocations: 23.98 kB / 0.5374 GB, free: 16.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001289/0.4242, allocations: 111.8 kB / 0.5375 GB, free: 16.39 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000296/0.4245, allocations: 112.7 kB / 0.5376 GB, free: 16.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/0.4246, allocations: 39.98 kB / 0.5377 GB, free: 16.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002243/0.4268, allocations: 2.029 MB / 0.5396 GB, free: 14.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4268, allocations: 0 / 0.5396 GB, free: 14.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004273/0.4311, allocations: 0.9214 MB / 0.5405 GB, free: 13.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (108): * Single equations (assignments): 104 * Array equations: 3 * 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): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004012/0.4315, allocations: 170.5 kB / 0.5407 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005635/0.4371, allocations: 4.216 MB / 0.5448 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.4371, allocations: 0 / 0.5448 GB, free: 8.918 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001521/0.4387, allocations: 1.214 MB / 0.546 GB, free: 7.691 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002148/0.4408, allocations: 361.7 kB / 0.5463 GB, free: 7.352 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/0.4529, allocations: 8.23 MB / 0.5544 GB, free: 15.06 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/0.4583, allocations: 2.498 MB / 0.5568 GB, free: 12.53 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00432/0.4626, allocations: 1.685 MB / 0.5585 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007548/0.4634, allocations: 204.5 kB / 0.5587 GB, free: 10.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.362e-06/0.4634, allocations: 0 / 0.5587 GB, free: 10.64 MB / 426.7 MB Notification: Performance of Templates: time 0.05799/0.5214, allocations: 24.9 MB / 0.583 GB, free: 2.18 MB / 442.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.630614958005026]