Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.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.001101/0.001101, allocations: 82.64 kB / 21.44 MB, free: 3.059 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.001252/0.001252, allocations: 170.1 kB / 24.84 MB, free: 8.926 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 0.8916/0.8916, allocations: 158.6 MB / 186.7 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1227/0.1227, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 349 MB, free: 9.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.631e-05/1.801e-05, allocations: 2.312 kB / 349 MB, free: 9.125 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01265/0.01266, allocations: 15.92 MB / 364.9 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.02333, allocations: 5.194 MB / 370.1 MB, free: 3.926 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001896/0.02522, allocations: 131.4 kB / 370.2 MB, free: 3.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004767/0.02999, allocations: 5.373 MB / 375.6 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004188/0.03418, allocations: 2.966 MB / 378.5 MB, free: 11.42 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001877/0.03605, allocations: 1.396 MB / 379.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.00969/0.04574, allocations: 8.759 MB / 388.7 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006802/0.05255, allocations: 5.885 MB / 394.6 MB, free: 11.28 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006894/0.05944, allocations: 5.134 MB / 399.7 MB, free: 6.133 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00397/0.06341, allocations: 4.201 MB / 403.9 MB, free: 1.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006858/0.0641, allocations: 0.6094 MB / 404.5 MB, free: 1.312 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001884/0.06598, allocations: 1.58 MB / 406.1 MB, free: 15.73 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002131/0.06811, allocations: 3.705 MB / 409.8 MB, free: 12.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001736/0.06985, allocations: 2.29 MB / 412.1 MB, free: 9.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005813/0.07566, allocations: 7.691 MB / 419.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.07566, allocations: 0 / 419.8 MB, free: 2 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.173e-06/0.07567, allocations: 0 / 419.8 MB, free: 2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.036e-05/0.07573, allocations: 4 kB / 419.8 MB, free: 1.996 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.008608/0.08433, allocations: 8.441 MB / 428.2 MB, free: 9.465 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.08437, allocations: 12.02 kB / 428.2 MB, free: 9.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007173/0.09155, allocations: 2.895 MB / 431.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.09571, allocations: 3.735 MB / 434.9 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001979/0.0959, allocations: 386.4 kB / 435.3 MB, free: 2.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005681/0.09647, allocations: 0.5157 MB / 435.8 MB, free: 1.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2782/0.3747, allocations: 8.624 MB / 444.4 MB, free: 58.3 MB / 362.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001299/0.3748, allocations: 74.38 kB / 444.5 MB, free: 58.3 MB / 362.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000383/0.3752, allocations: 248.5 kB / 444.7 MB, free: 58.3 MB / 362.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002517/0.3777, allocations: 2.582 MB / 447.3 MB, free: 58.29 MB / 362.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007464/0.3852, allocations: 3.759 MB / 451.1 MB, free: 58.13 MB / 362.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03388/0.419, allocations: 65.92 MB / 0.5049 GB, free: 2.504 MB / 362.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.4237, allocations: 2.187 MB / 0.507 GB, free: 324 kB / 362.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007503/0.4244, allocations: 0.6368 MB / 0.5076 GB, free: 15.67 MB / 378.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007329/0.4317, allocations: 5.385 MB / 0.5129 GB, free: 10.54 MB / 378.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.4318, allocations: 59.12 kB / 0.5129 GB, free: 10.48 MB / 378.8 MB Notification: Performance of pre-optimization done (n=196): time 3.457e-06/0.4318, allocations: 4 kB / 0.5129 GB, free: 10.47 MB / 378.8 MB Notification: Performance of matching and sorting (n=199): time 0.01461/0.4464, allocations: 6.465 MB / 0.5192 GB, free: 4.293 MB / 378.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001608/0.4465, allocations: 252.3 kB / 0.5195 GB, free: 3.988 MB / 378.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004569/0.4511, allocations: 5.576 MB / 0.5249 GB, free: 15.57 MB / 394.8 MB Notification: Performance of collectPreVariables (initialization): time 8.917e-05/0.4512, allocations: 60.83 kB / 0.525 GB, free: 15.51 MB / 394.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002691/0.4539, allocations: 5.433 MB / 0.5303 GB, free: 10.36 MB / 394.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005331/0.4544, allocations: 0.8734 MB / 0.5311 GB, free: 9.531 MB / 394.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001523/0.456, allocations: 1.972 MB / 0.5331 GB, free: 7.738 MB / 394.8 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.4561, allocations: 480.5 kB / 0.5335 GB, free: 7.27 MB / 394.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001128/0.4572, allocations: 0.7854 MB / 0.5343 GB, free: 6.484 MB / 394.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005748/0.4629, allocations: 9.135 MB / 0.5432 GB, free: 9.867 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00904/0.472, allocations: 10.74 MB / 0.5537 GB, free: 12.17 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.4721, allocations: 56 kB / 0.5538 GB, free: 12.11 MB / 426.8 MB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.01115/0.4833, allocations: 7.035 MB / 0.5606 GB, free: 5.066 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.206e-05/0.4834, allocations: 95.94 kB / 0.5607 GB, free: 4.973 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.4835, allocations: 196 kB / 0.5609 GB, free: 4.781 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006676/0.4842, allocations: 363.5 kB / 0.5613 GB, free: 4.414 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003265/0.4874, allocations: 2.043 MB / 0.5633 GB, free: 2.367 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002579/0.49, allocations: 5.579 MB / 0.5687 GB, free: 12.47 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004223/0.4942, allocations: 400.2 kB / 0.5691 GB, free: 12.08 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004663/0.4947, allocations: 470.1 kB / 0.5695 GB, free: 11.62 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 897 * Number of states: 0 () * Number of discrete variables: 57 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.color[3],worldForce.color[2],worldForce.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1123): * Single equations (assignments): 1117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002359/0.4971, allocations: 0.8981 MB / 0.5704 GB, free: 10.71 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008528/0.4979, allocations: 0.5578 MB / 0.571 GB, free: 10.15 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/0.4997, allocations: 1.31 MB / 0.5722 GB, free: 8.809 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.639e-05/0.4997, allocations: 20 kB / 0.5723 GB, free: 8.789 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4997, allocations: 5.203 kB / 0.5723 GB, free: 8.785 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.4998, allocations: 7.969 kB / 0.5723 GB, free: 8.777 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008742/0.5085, allocations: 6.603 MB / 0.5787 GB, free: 2.922 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.5085, allocations: 8 kB / 0.5787 GB, free: 2.914 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008712/0.5094, allocations: 332.3 kB / 0.579 GB, free: 2.59 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003434/0.5097, allocations: 125.2 kB / 0.5792 GB, free: 2.457 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.575e-05/0.5098, allocations: 42.97 kB / 0.5792 GB, free: 2.418 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0027/0.5125, allocations: 5.219 MB / 0.5843 GB, free: 12.88 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.5125, allocations: 15.88 kB / 0.5843 GB, free: 12.86 MB / 458.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/0.5153, allocations: 2.719 MB / 0.587 GB, free: 10.03 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001025/0.5164, allocations: 0.6815 MB / 0.5876 GB, free: 9.344 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/0.5167, allocations: 46.56 kB / 0.5877 GB, free: 9.301 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009499/0.5177, allocations: 51.92 kB / 0.5877 GB, free: 9.25 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001872/0.5179, allocations: 136.6 kB / 0.5879 GB, free: 9.117 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.654e-05/0.5179, allocations: 51.98 kB / 0.5879 GB, free: 9.066 MB / 458.8 MB Notification: Performance of sorting global known variables: time 0.002083/0.52, allocations: 2.28 MB / 0.5901 GB, free: 7.047 MB / 458.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.52, allocations: 0 / 0.5901 GB, free: 7.047 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.004866/0.5249, allocations: 1.551 MB / 0.5916 GB, free: 5.496 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (178): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000329/0.5252, allocations: 206.5 kB / 0.5918 GB, free: 5.289 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.004459/0.5297, allocations: 4.086 MB / 0.5958 GB, free: 1.273 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.5297, allocations: 0 / 0.5958 GB, free: 1.273 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0008096/0.5305, allocations: 1.054 MB / 0.5969 GB, free: 188 kB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1549/0.6854, allocations: 0.6767 MB / 0.5975 GB, free: 136.8 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01478/0.7001, allocations: 11.96 MB / 0.6092 GB, free: 131.9 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001684/0.7018, allocations: 1.969 MB / 0.6111 GB, free: 131.7 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.001881/0.7037, allocations: 0.7454 MB / 0.6119 GB, free: 131.5 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001125/0.7048, allocations: 0.8645 MB / 0.6127 GB, free: 131.4 MB / 458.8 MB Notification: Performance of SimCode: time 2.856e-06/0.7048, allocations: 0 / 0.6127 GB, free: 131.4 MB / 458.8 MB Notification: Performance of Templates: time 0.06426/0.7691, allocations: 44 MB / 0.6557 GB, free: 101.3 MB / 458.8 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.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: 5.162524496205151]