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.001477/0.001477, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001666/0.001666, allocations: 203.7 kB / 23.73 MB, free: 4.379 MB / 14.72 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: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 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.2513/0.2513, allocations: 46.96 MB / 360.9 MB, free: 4.047 MB / 286.1 MB " [Timeout remaining time 179] 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 0.001994/0.001994, allocations: 71.89 kB / 0.4966 GB, free: 7.227 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3327, allocations: 66.03 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01109/0.3438, allocations: 8.422 MB / 0.5693 GB, free: 11.71 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007805/0.3516, allocations: 3.629 MB / 0.5728 GB, free: 8.07 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.3529, allocations: 67.75 kB / 0.5729 GB, free: 8.004 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005265/0.3581, allocations: 2.683 MB / 0.5755 GB, free: 5.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.3623, allocations: 1.662 MB / 0.5772 GB, free: 3.645 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001591/0.3639, allocations: 0.7252 MB / 0.5779 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005468/0.3694, allocations: 3.891 MB / 0.5817 GB, free: 15.02 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003293/0.3727, allocations: 2.763 MB / 0.5844 GB, free: 12.19 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002118/0.3748, allocations: 1.429 MB / 0.5858 GB, free: 10.76 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003254/0.378, allocations: 2.048 MB / 0.5878 GB, free: 8.703 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009711/0.379, allocations: 316 kB / 0.5881 GB, free: 8.395 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3815, allocations: 1.1 MB / 0.5891 GB, free: 7.293 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001956/0.3835, allocations: 1.784 MB / 0.5909 GB, free: 5.504 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002389/0.3859, allocations: 1.487 MB / 0.5923 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01009/0.396, allocations: 6.72 MB / 0.5989 GB, free: 13.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.664e-06/0.396, allocations: 0 / 0.5989 GB, free: 13.26 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.396, allocations: 3.938 kB / 0.5989 GB, free: 13.26 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000182/0.3962, allocations: 4 kB / 0.5989 GB, free: 13.25 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.009917/0.4061, allocations: 4.371 MB / 0.6032 GB, free: 8.828 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.4061, allocations: 8.031 kB / 0.6032 GB, free: 8.82 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01621/0.4223, allocations: 2.471 MB / 0.6056 GB, free: 6.344 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007497/0.4298, allocations: 2.405 MB / 0.6079 GB, free: 3.887 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002421/0.4301, allocations: 218 kB / 0.6081 GB, free: 3.672 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001178/0.4313, allocations: 296 kB / 0.6084 GB, free: 3.383 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4476, allocations: 8.785 MB / 0.617 GB, free: 9.941 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.4477, allocations: 43.64 kB / 0.617 GB, free: 9.898 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004461/0.4481, allocations: 139.9 kB / 0.6172 GB, free: 9.762 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002901/0.451, allocations: 1.65 MB / 0.6188 GB, free: 8.109 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0145/0.4655, allocations: 7.195 MB / 0.6258 GB, free: 0.9102 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04531/0.5109, allocations: 31.25 MB / 0.6563 GB, free: 0.6719 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005002/0.5159, allocations: 1.895 MB / 0.6582 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001851/0.5177, allocations: 1.189 MB / 0.6594 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000298/0.518, allocations: 104.1 kB / 0.6595 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.441e-05/0.5181, allocations: 47.06 kB / 0.6595 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 3.897e-06/0.5181, allocations: 112 / 0.6595 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.03135/0.5494, allocations: 11.43 MB / 0.6707 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001604/0.5496, allocations: 200.5 kB / 0.6709 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005326/0.5549, allocations: 3.422 MB / 0.6742 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003827/0.5553, allocations: 49.7 kB / 0.6742 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002744/0.558, allocations: 2.965 MB / 0.6771 GB, free: 11.15 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009715/0.559, allocations: 0.5738 MB / 0.6777 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001902/0.5609, allocations: 1.111 MB / 0.6788 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001586/0.5611, allocations: 305.1 kB / 0.6791 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003273/0.5643, allocations: 1.802 MB / 0.6808 GB, free: 7.34 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007448/0.5718, allocations: 5.237 MB / 0.6859 GB, free: 400 kB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01117/0.583, allocations: 7.52 MB / 0.6933 GB, free: 7.191 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001506/0.5831, allocations: 36 kB / 0.6933 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01622/0.5993, allocations: 7.211 MB / 0.7004 GB, free: 15.93 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/0.5994, allocations: 58.34 kB / 0.7004 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001971/0.5996, allocations: 116 kB / 0.7005 GB, free: 15.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001943/0.6016, allocations: 0.676 MB / 0.7012 GB, free: 15.09 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004543/0.6061, allocations: 1.236 MB / 0.7024 GB, free: 13.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005984/0.6121, allocations: 4.174 MB / 0.7065 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0041/0.6162, allocations: 299.8 kB / 0.7068 GB, free: 9.285 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008029/0.617, allocations: 332 kB / 0.7071 GB, free: 8.961 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.003479/0.6205, allocations: 1.959 MB / 0.709 GB, free: 6.988 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006759/0.6212, allocations: 286.1 kB / 0.7093 GB, free: 6.707 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004787/0.626, allocations: 2.222 MB / 0.7114 GB, free: 4.473 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.474e-05/0.626, allocations: 19.98 kB / 0.7115 GB, free: 4.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-05/0.626, allocations: 4 kB / 0.7115 GB, free: 4.449 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-05/0.626, allocations: 3.984 kB / 0.7115 GB, free: 4.445 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/0.6389, allocations: 5.23 MB / 0.7166 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.6389, allocations: 0 / 0.7166 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001182/0.6401, allocations: 207.7 kB / 0.7168 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001613/0.6417, allocations: 0.5118 MB / 0.7173 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001722/0.6418, allocations: 27.98 kB / 0.7173 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005403/0.6472, allocations: 3.751 MB / 0.721 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.181e-06/0.6472, allocations: 4.031 kB / 0.721 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007961/0.6552, allocations: 4.383 MB / 0.7252 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6562, allocations: 254 kB / 0.7255 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003453/0.6566, allocations: 20 kB / 0.7255 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.6577, allocations: 83.89 kB / 0.7256 GB, free: 5.801 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003113/0.658, allocations: 96.47 kB / 0.7257 GB, free: 5.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.6581, allocations: 44.05 kB / 0.7257 GB, free: 5.664 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003319/0.6615, allocations: 1.974 MB / 0.7276 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6615, allocations: 3.938 kB / 0.7276 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004463/0.6659, allocations: 0.8475 MB / 0.7285 GB, free: 2.84 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.0004082/0.6663, allocations: 142 kB / 0.7286 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3049/0.9712, allocations: 4.148 MB / 0.7327 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9712, allocations: 0.75 kB / 0.7327 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/0.9731, allocations: 1.166 MB / 0.7338 GB, free: 155.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.9751, allocations: 336.9 kB / 0.7341 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01228/0.9874, allocations: 8.109 MB / 0.742 GB, free: 152.3 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002533/0.9899, allocations: 2.494 MB / 0.7445 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003252/0.9932, allocations: 1.665 MB / 0.7461 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005453/0.9937, allocations: 203.1 kB / 0.7463 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of SimCode: time 1.142e-06/0.9937, allocations: 0 / 0.7463 GB, free: 150.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.05066/1.044, allocations: 30 MB / 0.7756 GB, free: 121.6 MB / 0.5606 GB " [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: 7.168228701688349]