Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001096/0.001096, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001267/0.001267, allocations: 161.5 kB / 24.99 MB, free: 8.344 MB / 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 0.9844/0.9844, allocations: 177.1 MB / 205.3 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2559/0.2559, allocations: 32.8 MB / 294.6 MB, free: 1.195 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.252e-06/1.252e-06, allocations: 0 / 376 MB, free: 4.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.618e-05/2.743e-05, allocations: 2.312 kB / 376 MB, free: 4.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.00775/0.007778, allocations: 9.219 MB / 385.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005597/0.01338, allocations: 3.742 MB / 389 MB, free: 7.957 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008618/0.01424, allocations: 59.75 kB / 389 MB, free: 7.898 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003212/0.01745, allocations: 2.963 MB / 392 MB, free: 4.926 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002477/0.01993, allocations: 1.726 MB / 393.7 MB, free: 3.191 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001036/0.02096, allocations: 0.7756 MB / 394.5 MB, free: 2.414 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.00372/0.02468, allocations: 4.288 MB / 398.8 MB, free: 14.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.02721, allocations: 3.12 MB / 401.9 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00192/0.02913, allocations: 2.148 MB / 404 MB, free: 8.781 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001775/0.0309, allocations: 2.081 MB / 406.1 MB, free: 6.695 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003805/0.03129, allocations: 320 kB / 406.4 MB, free: 6.383 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001232/0.03252, allocations: 1.139 MB / 407.6 MB, free: 5.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001039/0.03356, allocations: 1.87 MB / 409.4 MB, free: 3.367 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000859/0.03441, allocations: 1.168 MB / 410.6 MB, free: 2.195 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003818/0.03823, allocations: 4.403 MB / 415 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.03824, allocations: 0 / 415 MB, free: 13.78 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.03824, allocations: 4 kB / 415 MB, free: 13.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.59e-05/0.03828, allocations: 0 / 415 MB, free: 13.77 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.004757/0.04303, allocations: 4.745 MB / 419.8 MB, free: 8.969 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.04307, allocations: 8.031 kB / 419.8 MB, free: 8.961 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008013/0.05109, allocations: 2.893 MB / 422.7 MB, free: 6.062 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002547/0.05363, allocations: 2.244 MB / 424.9 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.05374, allocations: 218 kB / 425.1 MB, free: 3.551 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003288/0.05407, allocations: 292.2 kB / 425.4 MB, free: 3.266 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00548/0.05955, allocations: 5.265 MB / 430.7 MB, free: 13.12 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-05/0.05963, allocations: 43.69 kB / 430.7 MB, free: 13.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/0.05989, allocations: 135.9 kB / 430.9 MB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001642/0.06154, allocations: 1.653 MB / 432.5 MB, free: 11.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004935/0.06647, allocations: 2.581 MB / 435.1 MB, free: 8.699 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2014/0.2679, allocations: 37.99 MB / 473.1 MB, free: 51.72 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002395/0.2703, allocations: 1.013 MB / 474.1 MB, free: 51.57 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005558/0.2709, allocations: 400.7 kB / 474.5 MB, free: 51.53 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001744/0.271, allocations: 95 kB / 474.6 MB, free: 51.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.2711, allocations: 54.78 kB / 474.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of pre-optimization done (n=122): time 3.366e-06/0.2711, allocations: 2.188 kB / 474.6 MB, free: 51.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=140): time 0.01377/0.2848, allocations: 7.683 MB / 482.3 MB, free: 48.88 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.2849, allocations: 193.7 kB / 482.5 MB, free: 48.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00333/0.2882, allocations: 3.16 MB / 485.7 MB, free: 48.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002255/0.2885, allocations: 43.42 kB / 485.7 MB, free: 48.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001481/0.2899, allocations: 3.096 MB / 488.8 MB, free: 46.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000551/0.2905, allocations: 0.5941 MB / 489.4 MB, free: 45.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001027/0.2915, allocations: 1.196 MB / 490.6 MB, free: 45.32 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.207e-05/0.2916, allocations: 483.7 kB / 491.1 MB, free: 44.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.2927, allocations: 0.5457 MB / 491.6 MB, free: 44.78 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002557/0.2952, allocations: 5.61 MB / 497.2 MB, free: 37.9 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004717/0.2999, allocations: 6.728 MB / 0.4921 GB, free: 30.79 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.917e-05/0.3, allocations: 33.66 kB / 0.4922 GB, free: 30.79 MB / 410.7 MB Notification: Performance of matching and sorting (n=701) (initialization): time 0.007568/0.3076, allocations: 4.847 MB / 0.4969 GB, free: 29.45 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.087e-05/0.3077, allocations: 55.75 kB / 0.497 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001418/0.3078, allocations: 119.6 kB / 0.4971 GB, free: 29.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001093/0.3089, allocations: 481.7 kB / 0.4975 GB, free: 29.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002436/0.3113, allocations: 1.222 MB / 0.4987 GB, free: 29.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.314, allocations: 3.031 MB / 0.5017 GB, free: 26.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002823/0.3169, allocations: 319.9 kB / 0.502 GB, free: 26.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005014/0.3174, allocations: 335 kB / 0.5023 GB, free: 26.76 MB / 410.7 MB 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.001292/0.3187, allocations: 0.6147 MB / 0.5029 GB, free: 26.27 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005076/0.3192, allocations: 323.6 kB / 0.5032 GB, free: 26.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/0.3209, allocations: 1.092 MB / 0.5043 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.966e-05/0.3209, allocations: 16.5 kB / 0.5043 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.3209, allocations: 2.75 kB / 0.5043 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.485e-06/0.3209, allocations: 8.891 kB / 0.5043 GB, free: 25.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/0.3269, allocations: 4.321 MB / 0.5085 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3269, allocations: 3.562 kB / 0.5085 GB, free: 23.91 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005178/0.3274, allocations: 201.8 kB / 0.5087 GB, free: 23.89 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007323/0.3281, allocations: 306.1 kB / 0.509 GB, free: 23.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.613e-05/0.3282, allocations: 26.42 kB / 0.509 GB, free: 23.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.33, allocations: 2.723 MB / 0.5117 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.33, allocations: 2.781 kB / 0.5117 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002586/0.3326, allocations: 2.054 MB / 0.5137 GB, free: 20.56 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005444/0.3331, allocations: 280.1 kB / 0.514 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002067/0.3333, allocations: 22.09 kB / 0.514 GB, free: 20.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006389/0.334, allocations: 103.4 kB / 0.5141 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002109/0.3342, allocations: 105 kB / 0.5142 GB, free: 20.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.3342, allocations: 45.36 kB / 0.5142 GB, free: 20.32 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001685/0.3359, allocations: 1.346 MB / 0.5156 GB, free: 19.85 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3359, allocations: 0 / 0.5156 GB, free: 19.85 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003566/0.3395, allocations: 0.9214 MB / 0.5165 GB, free: 19.74 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 (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.0003539/0.3399, allocations: 158.7 kB / 0.5166 GB, free: 19.62 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004146/0.344, allocations: 2.612 MB / 0.5192 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.344, allocations: 0 / 0.5192 GB, free: 18.67 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007486/0.3448, allocations: 0.6228 MB / 0.5198 GB, free: 18.38 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/0.3463, allocations: 372.7 kB / 0.5201 GB, free: 18.22 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/0.3557, allocations: 6.534 MB / 0.5265 GB, free: 14.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001144/0.3569, allocations: 1.13 MB / 0.5276 GB, free: 13.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002563/0.3594, allocations: 1.451 MB / 0.529 GB, free: 12.44 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004542/0.3599, allocations: 209.1 kB / 0.5292 GB, free: 12.25 MB / 410.7 MB Notification: Performance of SimCode: time 2.515e-06/0.3599, allocations: 7.5 kB / 0.5292 GB, free: 12.25 MB / 410.7 MB Notification: Performance of Templates: time 0.03639/0.3963, allocations: 25.17 MB / 0.5538 GB, free: 6.66 MB / 426.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.DifferentiationOfForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/DifferentiationOfForces/DifferentiationOfForces.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.1820213759783655]