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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, allocations: 112.9 kB / 17.08 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001242, allocations: 197.2 kB / 18.02 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.352/1.352, allocations: 205.1 MB / 223.9 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2074/0.2074, allocations: 43.52 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001637/0.001637, allocations: 77.97 kB / 442.5 MB, free: 5.602 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1062, allocations: 57.79 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01748/0.1237, allocations: 16.96 MB / 0.5051 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01264/0.1364, allocations: 5.284 MB / 0.5103 GB, free: 5.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003387/0.1398, allocations: 111.7 kB / 0.5104 GB, free: 5.293 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009682/0.1496, allocations: 5.07 MB / 0.5154 GB, free: 212 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007983/0.1576, allocations: 2.774 MB / 0.5181 GB, free: 13.42 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003377/0.161, allocations: 1.244 MB / 0.5193 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.1724, allocations: 7.745 MB / 0.5269 GB, free: 4.41 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2481/0.4205, allocations: 6.145 MB / 0.5329 GB, free: 8.23 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006747/0.4274, allocations: 2.698 MB / 0.5355 GB, free: 8.078 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007547/0.4349, allocations: 3.747 MB / 0.5391 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002945/0.4379, allocations: 0.588 MB / 0.5397 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005549/0.4435, allocations: 1.599 MB / 0.5413 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007268/0.4508, allocations: 3.448 MB / 0.5446 GB, free: 7.383 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01091/0.4618, allocations: 3.807 MB / 0.5484 GB, free: 6.09 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01954/0.4813, allocations: 11.91 MB / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.416e-06/0.4814, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.4814, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005271/0.4819, allocations: 0 / 0.56 GB, free: 2.578 MB / 414.1 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.02934/0.5113, allocations: 8.061 MB / 0.5679 GB, free: 13.26 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/0.5114, allocations: 8.906 kB / 0.5679 GB, free: 13.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/0.5287, allocations: 3.182 MB / 0.571 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01314/0.5419, allocations: 5.23 MB / 0.5761 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003834/0.5423, allocations: 393.3 kB / 0.5765 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002864/0.5452, allocations: 0.5183 MB / 0.577 GB, free: 8.477 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03778/0.583, allocations: 15.78 MB / 0.5924 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002969/0.5833, allocations: 76.11 kB / 0.5925 GB, free: 10.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00149/0.5848, allocations: 249 kB / 0.5927 GB, free: 9.855 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005276/0.5901, allocations: 2.937 MB / 0.5956 GB, free: 6.961 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02854/0.6187, allocations: 13.15 MB / 0.6084 GB, free: 10.07 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08329/0.702, allocations: 60.12 MB / 0.6671 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01452/0.7166, allocations: 6.08 MB / 0.6731 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005077/0.7217, allocations: 3.385 MB / 0.6764 GB, free: 3.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002336/0.722, allocations: 52.77 kB / 0.6764 GB, free: 3.629 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.774e-05/0.7221, allocations: 56.12 kB / 0.6765 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 7.013e-06/0.7221, allocations: 448 / 0.6765 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of matching and sorting (n=260): time 0.07444/0.7965, allocations: 25.88 MB / 0.7017 GB, free: 9.508 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001567/0.7967, allocations: 264.2 kB / 0.702 GB, free: 9.199 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01413/0.8109, allocations: 6.965 MB / 0.7088 GB, free: 2.246 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0008759/0.8118, allocations: 65.7 kB / 0.7089 GB, free: 2.176 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.004461/0.8163, allocations: 4.803 MB / 0.7135 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001663/0.818, allocations: 1.014 MB / 0.7145 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003618/0.8216, allocations: 1.802 MB / 0.7163 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8217, allocations: 309.1 kB / 0.7166 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00584/0.8276, allocations: 3.312 MB / 0.7198 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01042/0.838, allocations: 8.486 MB / 0.7281 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01547/0.8536, allocations: 12.65 MB / 0.7405 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001651/0.8538, allocations: 52 kB / 0.7405 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.02705/0.8809, allocations: 13.09 MB / 0.7533 GB, free: 212 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.000142/0.881, allocations: 84 kB / 0.7534 GB, free: 128 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.273/1.154, allocations: 184.9 kB / 0.7535 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005372/1.159, allocations: 1.77 MB / 0.7553 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008373/1.168, allocations: 2.109 MB / 0.7573 GB, free: 196.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01608/1.184, allocations: 12.42 MB / 0.7695 GB, free: 192 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00994/1.194, allocations: 495.6 kB / 0.7699 GB, free: 191.9 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002567/1.197, allocations: 0.5151 MB / 0.7704 GB, free: 191.8 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 825 * 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 (1087): * Single equations (assignments): 1081 * 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 {(2,12,100.0%), (2,12,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009109/1.206, allocations: 3.219 MB / 0.7736 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001533/1.207, allocations: 0.5839 MB / 0.7742 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01132/1.219, allocations: 5.798 MB / 0.7798 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.284e-05/1.219, allocations: 27.56 kB / 0.7798 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.891e-05/1.219, allocations: 9.344 kB / 0.7798 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.327e-05/1.219, allocations: 11.48 kB / 0.7799 GB, free: 188.4 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02556/1.244, allocations: 12.89 MB / 0.7924 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-05/1.244, allocations: 2.344 kB / 0.7924 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/1.247, allocations: 0.5125 MB / 0.7929 GB, free: 183.9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003971/1.251, allocations: 1.474 MB / 0.7944 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005845/1.252, allocations: 48.89 kB / 0.7944 GB, free: 183.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/1.263, allocations: 11.49 MB / 0.8057 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.263, allocations: 4.031 kB / 0.8057 GB, free: 174.9 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0148/1.278, allocations: 9.443 MB / 0.8149 GB, free: 167.1 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003903/1.282, allocations: 1.055 MB / 0.8159 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/1.284, allocations: 46.5 kB / 0.816 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003748/1.288, allocations: 166.6 kB / 0.8161 GB, free: 166.2 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007697/1.288, allocations: 151.9 kB / 0.8163 GB, free: 166.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002341/1.289, allocations: 66.95 kB / 0.8163 GB, free: 166 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008376/1.297, allocations: 4.456 MB / 0.8207 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 4.91e-07/1.297, allocations: 0 / 0.8207 GB, free: 161.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00974/1.307, allocations: 1.626 MB / 0.8223 GB, free: 160 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.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 (215): * Single equations (assignments): 209 * 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,10,100.0%), (1,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008994/1.308, allocations: 185.5 kB / 0.8224 GB, free: 159.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01226/1.32, allocations: 8.114 MB / 0.8304 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.679e-06/1.32, allocations: 4 kB / 0.8304 GB, free: 151.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.003537/1.324, allocations: 2.725 MB / 0.833 GB, free: 149.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006144/1.33, allocations: 0.7921 MB / 0.8338 GB, free: 148.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03033/1.36, allocations: 15.69 MB / 0.8491 GB, free: 132.6 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008545/1.369, allocations: 4.857 MB / 0.8539 GB, free: 127.7 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/1.371, allocations: 451.4 kB / 0.8543 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of SimCode: time 1.222e-06/1.371, allocations: 0 / 0.8543 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of Templates: time 0.4783/1.849, allocations: 183.4 MB / 1.033 GB, free: 160.4 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.makefile (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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/WorldForces2/WorldForces2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.WorldForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches