Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_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.001398/0.001398, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001458/0.001458, allocations: 212 kB / 24.54 MB, free: 4.016 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.509/1.509, allocations: 230.3 MB / 258 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.245/0.245, allocations: 46.93 MB / 361.3 MB, free: 4.402 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-beta.om/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_4.1.0-beta.om_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-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0024/0.0024, allocations: 79.86 kB / 0.4972 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3876/0.39, allocations: 66.04 MB / 0.5617 GB, free: 4.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.01337/0.4034, allocations: 9.586 MB / 0.571 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008995/0.4124, allocations: 3.87 MB / 0.5748 GB, free: 7.027 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001908/0.4143, allocations: 67.69 kB / 0.5749 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005719/0.42, allocations: 2.8 MB / 0.5776 GB, free: 4.152 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00488/0.4249, allocations: 1.658 MB / 0.5792 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001976/0.4268, allocations: 0.7251 MB / 0.5799 GB, free: 1.762 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006304/0.4331, allocations: 3.892 MB / 0.5837 GB, free: 13.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003628/0.4368, allocations: 2.553 MB / 0.5862 GB, free: 11.25 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002488/0.4393, allocations: 1.433 MB / 0.5876 GB, free: 9.809 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0032/0.4425, allocations: 2.048 MB / 0.5896 GB, free: 7.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006943/0.4432, allocations: 312 kB / 0.5899 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002301/0.4455, allocations: 1.221 MB / 0.5911 GB, free: 6.227 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001934/0.4474, allocations: 1.788 MB / 0.5929 GB, free: 4.434 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002716/0.4501, allocations: 2.012 MB / 0.5948 GB, free: 2.41 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009843/0.4599, allocations: 6.697 MB / 0.6014 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.46, allocations: 4 kB / 0.6014 GB, free: 11.68 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.46, allocations: 0 / 0.6014 GB, free: 11.68 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001896/0.4601, allocations: 0 / 0.6014 GB, free: 11.68 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.01476/0.4749, allocations: 4.375 MB / 0.6056 GB, free: 7.254 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.4749, allocations: 8.031 kB / 0.6056 GB, free: 7.246 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0158/0.4908, allocations: 2.463 MB / 0.608 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006818/0.4976, allocations: 2.405 MB / 0.6104 GB, free: 2.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002408/0.4978, allocations: 210 kB / 0.6106 GB, free: 2.113 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001138/0.4989, allocations: 300 kB / 0.6109 GB, free: 1.82 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0172/0.5161, allocations: 8.727 MB / 0.6194 GB, free: 8.449 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001491/0.5163, allocations: 43.64 kB / 0.6194 GB, free: 8.406 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/0.5167, allocations: 139.9 kB / 0.6196 GB, free: 8.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002827/0.5196, allocations: 1.657 MB / 0.6212 GB, free: 6.609 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01604/0.5356, allocations: 7.211 MB / 0.6282 GB, free: 15.39 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04822/0.5838, allocations: 33.33 MB / 0.6608 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004919/0.5887, allocations: 1.901 MB / 0.6626 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001985/0.5907, allocations: 1.184 MB / 0.6638 GB, free: 9.914 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003331/0.591, allocations: 100.2 kB / 0.6639 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.216e-05/0.5911, allocations: 55.05 kB / 0.664 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=122): time 4.197e-06/0.5911, allocations: 0 / 0.664 GB, free: 9.754 MB / 0.4981 GB Notification: Performance of matching and sorting (n=140): time 0.02946/0.6206, allocations: 11.42 MB / 0.6751 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.6207, allocations: 196.5 kB / 0.6753 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005429/0.6261, allocations: 3.59 MB / 0.6788 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002949/0.6264, allocations: 45.7 kB / 0.6788 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.629, allocations: 2.928 MB / 0.6817 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007765/0.6298, allocations: 0.5816 MB / 0.6823 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001548/0.6313, allocations: 1.111 MB / 0.6834 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6315, allocations: 305.1 kB / 0.6836 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003052/0.6345, allocations: 1.802 MB / 0.6854 GB, free: 3.613 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006603/0.6411, allocations: 5.186 MB / 0.6905 GB, free: 12.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/0.6523, allocations: 7.526 MB / 0.6978 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/0.6524, allocations: 36 kB / 0.6979 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=701) (initialization): time 0.01485/0.6673, allocations: 7.234 MB / 0.7049 GB, free: 12.24 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.141e-05/0.6674, allocations: 56 kB / 0.705 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001333/0.6675, allocations: 116 kB / 0.7051 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00175/0.6692, allocations: 0.6763 MB / 0.7057 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.6733, allocations: 1.24 MB / 0.707 GB, free: 10.15 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005874/0.6792, allocations: 4.247 MB / 0.7111 GB, free: 5.793 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004001/0.6832, allocations: 295.8 kB / 0.7114 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007054/0.6839, allocations: 336 kB / 0.7117 GB, free: 5.176 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.003441/0.6873, allocations: 1.959 MB / 0.7136 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006725/0.688, allocations: 313.9 kB / 0.7139 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004689/0.6927, allocations: 2.241 MB / 0.7161 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/0.6927, allocations: 20 kB / 0.7161 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.6927, allocations: 4.375 kB / 0.7161 GB, free: 0.6172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.679e-05/0.6928, allocations: 7.969 kB / 0.7161 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01246/0.7052, allocations: 6.107 MB / 0.7221 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/0.7052, allocations: 0 / 0.7221 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001139/0.7064, allocations: 215.7 kB / 0.7223 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001513/0.7079, allocations: 0.5117 MB / 0.7228 GB, free: 9.707 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000118/0.708, allocations: 27.98 kB / 0.7228 GB, free: 9.68 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005543/0.7135, allocations: 3.817 MB / 0.7266 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.7135, allocations: 0 / 0.7266 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008595/0.7221, allocations: 4.408 MB / 0.7309 GB, free: 1.316 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/0.7236, allocations: 289.7 kB / 0.7311 GB, free: 1.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.724, allocations: 20 kB / 0.7312 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/0.7252, allocations: 91.89 kB / 0.7312 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000354/0.7255, allocations: 96.47 kB / 0.7313 GB, free: 0.8281 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000116/0.7256, allocations: 39.98 kB / 0.7314 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.3178/1.043, allocations: 2.229 MB / 0.7336 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.31e-07/1.043, allocations: 0.5 kB / 0.7336 GB, free: 151.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005196/1.049, allocations: 0.8498 MB / 0.7344 GB, free: 151.9 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.0003928/1.049, allocations: 148.1 kB / 0.7345 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005996/1.055, allocations: 4.151 MB / 0.7386 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/1.055, allocations: 0 / 0.7386 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001547/1.057, allocations: 1.167 MB / 0.7397 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.059, allocations: 383.6 kB / 0.7401 GB, free: 150 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/1.07, allocations: 8.148 MB / 0.748 GB, free: 146.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002407/1.073, allocations: 3.029 MB / 0.751 GB, free: 145.1 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003045/1.076, allocations: 1.709 MB / 0.7527 GB, free: 144.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004733/1.076, allocations: 215.6 kB / 0.7529 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/1.076, allocations: 0 / 0.7529 GB, free: 143.9 MB / 0.5606 GB Notification: Performance of Templates: time 0.04882/1.125, allocations: 30.91 MB / 0.7831 GB, free: 113.9 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_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-beta.om_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.128077754750848]