Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.002046/0.002046, allocations: 96.3 kB / 21.73 MB, free: 2.699 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.002326/0.002326, allocations: 161.3 kB / 25.02 MB, free: 8.422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.362/1.362, allocations: 158.6 MB / 186.8 MB, free: 2.84 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 250.4 MB, free: 3.922 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.517e-05, allocations: 2.312 kB / 250.4 MB, free: 3.918 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque): time 0.01845/0.01848, allocations: 10.95 MB / 261.3 MB, free: 8.914 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.01009/0.02857, allocations: 4.003 MB / 265.3 MB, free: 4.898 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001964/0.03054, allocations: 91.62 kB / 265.4 MB, free: 4.809 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007511/0.03805, allocations: 3.36 MB / 268.8 MB, free: 1.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006516/0.04456, allocations: 2.224 MB / 271 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.04692, allocations: 0.8965 MB / 271.9 MB, free: 14.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.007965/0.05488, allocations: 4.931 MB / 276.8 MB, free: 9.363 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00565/0.06053, allocations: 3.591 MB / 280.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005657/0.06619, allocations: 2.654 MB / 283.1 MB, free: 3.043 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/0.0714, allocations: 2.474 MB / 285.6 MB, free: 0.5625 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001308/0.07271, allocations: 396 kB / 285.9 MB, free: 180 kB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003024/0.07573, allocations: 1.24 MB / 287.2 MB, free: 14.93 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003171/0.0789, allocations: 2.38 MB / 289.6 MB, free: 12.55 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003026/0.08193, allocations: 1.46 MB / 291 MB, free: 11.08 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01264/0.09457, allocations: 8.372 MB / 299.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.09458, allocations: 0 / 299.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.09458, allocations: 0 / 299.4 MB, free: 2.684 MB / 282.7 MB Notification: Performance of Transformations before backend: time 0.0002533/0.09483, allocations: 4 kB / 299.4 MB, free: 2.68 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1737 * Number of variables: 1737 Notification: Performance of Generate backend data structure: time 0.1164/0.2113, allocations: 5.592 MB / 305 MB, free: 54.73 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.2113, allocations: 13.89 kB / 305 MB, free: 54.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.011/0.2223, allocations: 2.855 MB / 307.9 MB, free: 54.14 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006796/0.2291, allocations: 2.936 MB / 310.8 MB, free: 52.72 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002523/0.2294, allocations: 268.3 kB / 311.1 MB, free: 52.64 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001076/0.2304, allocations: 349.1 kB / 311.4 MB, free: 52.56 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.2475, allocations: 11.72 MB / 323.1 MB, free: 41.14 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001093/0.2476, allocations: 43.62 kB / 323.2 MB, free: 41.09 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004544/0.2481, allocations: 172.8 kB / 323.3 MB, free: 40.95 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003069/0.2511, allocations: 2.334 MB / 325.7 MB, free: 38.61 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01574/0.2669, allocations: 9.959 MB / 335.6 MB, free: 28.64 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04842/0.3153, allocations: 41.88 MB / 377.5 MB, free: 1.934 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01464/0.33, allocations: 4.692 MB / 382.2 MB, free: 13.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004314/0.3343, allocations: 2.583 MB / 384.8 MB, free: 10.61 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01487/0.3491, allocations: 7.129 MB / 391.9 MB, free: 3.496 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.926e-05/0.3492, allocations: 59.81 kB / 392 MB, free: 3.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=214): time 5.51e-06/0.3492, allocations: 0 / 392 MB, free: 3.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=235): time 0.0605/0.4097, allocations: 21.76 MB / 413.7 MB, free: 13.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001519/0.4099, allocations: 176.2 kB / 413.9 MB, free: 13.39 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006402/0.4163, allocations: 4.184 MB / 418.1 MB, free: 9.215 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000432/0.4167, allocations: 61.7 kB / 418.1 MB, free: 9.148 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003506/0.4202, allocations: 3.52 MB / 421.7 MB, free: 5.602 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001374/0.4216, allocations: 0.9147 MB / 422.6 MB, free: 4.68 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002179/0.4237, allocations: 1.362 MB / 423.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.4239, allocations: 305.1 kB / 424.2 MB, free: 3.008 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004901/0.4288, allocations: 2.723 MB / 427 MB, free: 288 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009133/0.4379, allocations: 6.636 MB / 433.6 MB, free: 7.719 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1414/0.5794, allocations: 10.08 MB / 443.7 MB, free: 114.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001551/0.5795, allocations: 38.28 kB / 443.7 MB, free: 114.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=888) (initialization): time 0.01995/0.5995, allocations: 10.49 MB / 454.2 MB, free: 111.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.249e-05/0.5996, allocations: 65.47 kB / 454.3 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001378/0.5997, allocations: 136.9 kB / 454.4 MB, free: 111.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004349/0.604, allocations: 1.297 MB / 455.7 MB, free: 110.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005302/0.6093, allocations: 1.604 MB / 457.3 MB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007896/0.6172, allocations: 7.174 MB / 464.5 MB, free: 106.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005376/0.6226, allocations: 429.7 kB / 464.9 MB, free: 106.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001069/0.6237, allocations: 407.6 kB / 465.3 MB, free: 106.2 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 621 * Number of states: 0 () * Number of discrete variables: 42 (fixed2.color[3],fixed2.color[2],fixed2.color[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],forceAndTorque.connectionLineColor[3],forceAndTorque.connectionLineColor[2],forceAndTorque.connectionLineColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (830): * Single equations (assignments): 824 * Array equations: 5 * 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,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003561/0.6272, allocations: 2.37 MB / 467.7 MB, free: 104.2 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001012/0.6283, allocations: 434.9 kB / 468.1 MB, free: 104 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007212/0.6355, allocations: 4.749 MB / 472.8 MB, free: 99.57 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-05/0.6355, allocations: 27.91 kB / 472.9 MB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.389e-05/0.6355, allocations: 7.938 kB / 472.9 MB, free: 99.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.388e-05/0.6355, allocations: 11.97 kB / 472.9 MB, free: 99.52 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01601/0.6516, allocations: 9.639 MB / 482.5 MB, free: 89.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.257e-05/0.6516, allocations: 8 kB / 482.5 MB, free: 89.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001908/0.6535, allocations: 427.3 kB / 482.9 MB, free: 89.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002656/0.6561, allocations: 1.114 MB / 484.1 MB, free: 88.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002386/0.6564, allocations: 49.7 kB / 484.1 MB, free: 88.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007262/0.6636, allocations: 6.75 MB / 490.9 MB, free: 81.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.6637, allocations: 8 kB / 490.9 MB, free: 81.51 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01014/0.6738, allocations: 8.233 MB / 499.1 MB, free: 73.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001679/0.6755, allocations: 0.7183 MB / 499.8 MB, free: 72.78 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004547/0.6759, allocations: 47.98 kB / 499.9 MB, free: 72.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001777/0.6777, allocations: 185.5 kB / 0.4883 GB, free: 72.55 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003811/0.6781, allocations: 156.8 kB / 0.4885 GB, free: 72.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.6783, allocations: 69.92 kB / 0.4885 GB, free: 72.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00268/0.6809, allocations: 2.442 MB / 0.4909 GB, free: 69.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.6809, allocations: 4 kB / 0.4909 GB, free: 69.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0046/0.6855, allocations: 1.278 MB / 0.4922 GB, free: 68.64 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 (revolute2.phi,revolute2.w,revolute1.phi,revolute1.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 (196): * Single equations (assignments): 192 * 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 {(4,18,75.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004543/0.686, allocations: 215.5 kB / 0.4924 GB, free: 68.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007439/0.6934, allocations: 6.25 MB / 0.4985 GB, free: 62.2 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.6934, allocations: 0 / 0.4985 GB, free: 62.2 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003038/0.6965, allocations: 2.245 MB / 0.5007 GB, free: 59.94 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002506/0.699, allocations: 443.7 kB / 0.5011 GB, free: 59.52 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01532/0.7143, allocations: 11.4 MB / 0.5122 GB, free: 48 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003186/0.7175, allocations: 3.16 MB / 0.5153 GB, free: 44.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.004561/0.7221, allocations: 2.125 MB / 0.5174 GB, free: 42.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000902/0.723, allocations: 268.4 kB / 0.5177 GB, free: 42.42 MB / 362.7 MB Notification: Performance of SimCode: time 1.222e-06/0.723, allocations: 0 / 0.5177 GB, free: 42.42 MB / 362.7 MB Notification: Performance of Templates: time 0.06019/0.7832, allocations: 38.27 MB / 0.555 GB, free: 4.172 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/ForceAndTorque/ForceAndTorque.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque.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.737495652982034]