Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.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.001424/0.001424, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001717/0.001717, allocations: 206.4 kB / 23.72 MB, free: 4.391 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.515/1.515, allocations: 230.5 MB / 257.4 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.296/0.296, allocations: 46.94 MB / 360.8 MB, free: 3.926 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002455/0.002455, allocations: 75.88 kB / 0.4966 GB, free: 7.039 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3608, allocations: 66.09 MB / 0.5612 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01138/0.3722, allocations: 8.418 MB / 0.5694 GB, free: 11.48 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009469/0.3817, allocations: 3.625 MB / 0.5729 GB, free: 7.84 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001619/0.3833, allocations: 67.69 kB / 0.573 GB, free: 7.773 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005677/0.389, allocations: 2.683 MB / 0.5756 GB, free: 5.082 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005331/0.3943, allocations: 1.658 MB / 0.5772 GB, free: 3.418 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001903/0.3962, allocations: 0.7213 MB / 0.578 GB, free: 2.695 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006289/0.4025, allocations: 3.895 MB / 0.5818 GB, free: 14.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004733/0.4072, allocations: 2.756 MB / 0.5844 GB, free: 11.97 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003454/0.4107, allocations: 1.433 MB / 0.5858 GB, free: 10.54 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003877/0.4146, allocations: 1.931 MB / 0.5877 GB, free: 8.598 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001196/0.4158, allocations: 312 kB / 0.588 GB, free: 8.293 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002807/0.4186, allocations: 1.096 MB / 0.5891 GB, free: 7.195 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002875/0.4214, allocations: 1.78 MB / 0.5908 GB, free: 5.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003559/0.425, allocations: 1.487 MB / 0.5923 GB, free: 3.914 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01119/0.4362, allocations: 6.72 MB / 0.5989 GB, free: 13.17 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.4362, allocations: 0 / 0.5989 GB, free: 13.17 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.4362, allocations: 0 / 0.5989 GB, free: 13.17 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002544/0.4365, allocations: 0 / 0.5989 GB, free: 13.17 MB / 446.1 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.01144/0.4479, allocations: 4.379 MB / 0.6031 GB, free: 8.734 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.4479, allocations: 8.031 kB / 0.6031 GB, free: 8.727 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/0.4645, allocations: 2.463 MB / 0.6055 GB, free: 6.258 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007228/0.4717, allocations: 2.416 MB / 0.6079 GB, free: 3.789 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002231/0.4719, allocations: 218 kB / 0.6081 GB, free: 3.574 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001081/0.473, allocations: 299.9 kB / 0.6084 GB, free: 3.281 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01557/0.4886, allocations: 8.774 MB / 0.617 GB, free: 9.852 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001213/0.4887, allocations: 35.7 kB / 0.617 GB, free: 9.816 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004005/0.4891, allocations: 139.9 kB / 0.6171 GB, free: 9.68 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002961/0.492, allocations: 1.653 MB / 0.6187 GB, free: 8.023 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0143/0.5063, allocations: 7.199 MB / 0.6258 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04385/0.5502, allocations: 31.27 MB / 0.6563 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005015/0.5552, allocations: 1.891 MB / 0.6582 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.5572, allocations: 1.189 MB / 0.6593 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003119/0.5575, allocations: 96.23 kB / 0.6594 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.5576, allocations: 51 kB / 0.6595 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.787e-06/0.5576, allocations: 0 / 0.6595 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03218/0.5897, allocations: 11.43 MB / 0.6706 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.5899, allocations: 192.6 kB / 0.6708 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005903/0.5958, allocations: 3.422 MB / 0.6741 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004266/0.5962, allocations: 41.7 kB / 0.6742 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002875/0.5991, allocations: 2.961 MB / 0.6771 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.000936/0.6, allocations: 0.5777 MB / 0.6776 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001796/0.6018, allocations: 1.119 MB / 0.6787 GB, free: 9.363 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001614/0.602, allocations: 305.2 kB / 0.679 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003306/0.6053, allocations: 1.806 MB / 0.6808 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007083/0.6124, allocations: 5.244 MB / 0.6859 GB, free: 300 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01155/0.6239, allocations: 7.511 MB / 0.6932 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001538/0.6241, allocations: 36 kB / 0.6933 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01684/0.6409, allocations: 7.207 MB / 0.7003 GB, free: 15.85 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001618/0.6411, allocations: 56 kB / 0.7004 GB, free: 15.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000244/0.6413, allocations: 120 kB / 0.7005 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002028/0.6434, allocations: 0.6784 MB / 0.7012 GB, free: 15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.6479, allocations: 1.236 MB / 0.7024 GB, free: 13.76 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006581/0.6545, allocations: 4.173 MB / 0.7064 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005079/0.6596, allocations: 303.6 kB / 0.7067 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001268/0.6608, allocations: 340 kB / 0.707 GB, free: 8.859 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 544 * 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 (663): * Single equations (assignments): 659 * 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.005051/0.6659, allocations: 1.947 MB / 0.7089 GB, free: 6.898 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008934/0.6668, allocations: 286.1 kB / 0.7092 GB, free: 6.617 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005425/0.6722, allocations: 2.222 MB / 0.7114 GB, free: 4.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.105e-05/0.6722, allocations: 16 kB / 0.7114 GB, free: 4.367 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.527e-05/0.6723, allocations: 4 kB / 0.7114 GB, free: 4.363 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.193e-05/0.6723, allocations: 11.97 kB / 0.7114 GB, free: 4.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.6865, allocations: 5.216 MB / 0.7165 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.434e-05/0.6865, allocations: 0 / 0.7165 GB, free: 15.08 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001183/0.6877, allocations: 215.7 kB / 0.7167 GB, free: 14.87 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001598/0.6893, allocations: 0.504 MB / 0.7172 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001774/0.6894, allocations: 27.98 kB / 0.7172 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005646/0.6951, allocations: 3.761 MB / 0.7209 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.6951, allocations: 288 / 0.7209 GB, free: 10.48 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008208/0.7033, allocations: 4.387 MB / 0.7252 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009234/0.7042, allocations: 257.9 kB / 0.7254 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005457/0.7048, allocations: 23.94 kB / 0.7255 GB, free: 5.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.7062, allocations: 83.89 kB / 0.7255 GB, free: 5.699 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000306/0.7065, allocations: 100.5 kB / 0.7256 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/0.7066, allocations: 39.98 kB / 0.7257 GB, free: 5.562 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003924/0.7105, allocations: 1.966 MB / 0.7276 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7105, allocations: 0 / 0.7276 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004678/0.7152, allocations: 0.8475 MB / 0.7284 GB, free: 2.75 MB / 0.5606 GB 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 (107): * Single equations (assignments): 103 * 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.0004708/0.7157, allocations: 155.1 kB / 0.7286 GB, free: 2.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2808/0.9965, allocations: 4.138 MB / 0.7326 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.9965, allocations: 1.656 kB / 0.7326 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/0.9984, allocations: 1.166 MB / 0.7338 GB, free: 155.5 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002142/1.001, allocations: 346.7 kB / 0.7341 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01191/1.012, allocations: 8.108 MB / 0.742 GB, free: 152.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002565/1.015, allocations: 2.497 MB / 0.7444 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00317/1.018, allocations: 1.671 MB / 0.7461 GB, free: 150.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/1.019, allocations: 195.2 kB / 0.7463 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of SimCode: time 8.71e-07/1.019, allocations: 0 / 0.7463 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.04348/1.062, allocations: 27.7 MB / 0.7733 GB, free: 123.6 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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: 7.024717953056097]