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.001144/0.001144, allocations: 113 kB / 17.09 MB, free: 5.965 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.001208/0.001208, allocations: 195.3 kB / 18.02 MB, free: 5.047 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.427/1.427, allocations: 205.1 MB / 223.9 MB, free: 12.26 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.213/0.213, allocations: 43.53 MB / 314.8 MB, free: 452 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.001593/0.001593, allocations: 69.45 kB / 442.5 MB, free: 5.598 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1116, allocations: 57.79 MB / 0.4886 GB, free: 11.74 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForces2): time 0.01642/0.128, allocations: 16.95 MB / 0.5051 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01033/0.1384, allocations: 5.296 MB / 0.5103 GB, free: 5.398 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.1411, allocations: 111.7 kB / 0.5104 GB, free: 5.289 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009006/0.1501, allocations: 5.077 MB / 0.5154 GB, free: 200 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009298/0.1595, allocations: 2.77 MB / 0.5181 GB, free: 13.41 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003913/0.1635, allocations: 1.244 MB / 0.5193 GB, free: 12.17 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.01085/0.1744, allocations: 7.733 MB / 0.5269 GB, free: 4.414 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2394/0.4138, allocations: 6.149 MB / 0.5329 GB, free: 8.215 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005251/0.419, allocations: 2.697 MB / 0.5355 GB, free: 8.062 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006749/0.4258, allocations: 3.747 MB / 0.5392 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002576/0.4284, allocations: 0.591 MB / 0.5397 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004774/0.4332, allocations: 1.594 MB / 0.5413 GB, free: 7.691 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005564/0.4388, allocations: 3.452 MB / 0.5447 GB, free: 7.367 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008673/0.4475, allocations: 3.804 MB / 0.5484 GB, free: 6.074 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01532/0.4629, allocations: 11.91 MB / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.373e-06/0.4629, allocations: 0 / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.4629, allocations: 0 / 0.56 GB, free: 2.574 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005028/0.4634, allocations: 1.188 kB / 0.56 GB, free: 2.574 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.02584/0.4893, allocations: 8.067 MB / 0.5679 GB, free: 13.25 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4893, allocations: 6.094 kB / 0.5679 GB, free: 13.25 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01613/0.5055, allocations: 3.178 MB / 0.571 GB, free: 11.66 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/0.5187, allocations: 5.227 MB / 0.5761 GB, free: 8.746 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003935/0.5191, allocations: 387.2 kB / 0.5765 GB, free: 8.617 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003057/0.5222, allocations: 0.5281 MB / 0.577 GB, free: 8.473 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03698/0.5592, allocations: 15.78 MB / 0.5924 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004/0.5597, allocations: 73.47 kB / 0.5925 GB, free: 10.09 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002479/0.5622, allocations: 246.2 kB / 0.5927 GB, free: 9.898 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005491/0.5677, allocations: 2.926 MB / 0.5956 GB, free: 7.008 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02806/0.5957, allocations: 13.16 MB / 0.6084 GB, free: 10.11 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08626/0.682, allocations: 60.12 MB / 0.6671 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01473/0.6968, allocations: 6.09 MB / 0.6731 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004915/0.7018, allocations: 3.373 MB / 0.6764 GB, free: 3.707 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000238/0.702, allocations: 49.5 kB / 0.6764 GB, free: 3.676 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.7021, allocations: 67.2 kB / 0.6765 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=242): time 6.312e-06/0.7021, allocations: 4 kB / 0.6765 GB, free: 3.605 MB / 0.5137 GB Notification: Performance of matching and sorting (n=260): time 0.07879/0.7809, allocations: 25.87 MB / 0.7017 GB, free: 9.555 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001468/0.7811, allocations: 264.1 kB / 0.702 GB, free: 9.246 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01734/0.7985, allocations: 6.969 MB / 0.7088 GB, free: 2.289 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000921/0.7994, allocations: 65.7 kB / 0.7089 GB, free: 2.219 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.005334/0.8048, allocations: 4.802 MB / 0.7135 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.001954/0.8068, allocations: 1.007 MB / 0.7145 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005575/0.8123, allocations: 1.804 MB / 0.7163 GB, free: 10.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.8125, allocations: 301.1 kB / 0.7166 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006062/0.8185, allocations: 3.32 MB / 0.7198 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01023/0.8288, allocations: 8.485 MB / 0.7281 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01617/0.845, allocations: 12.64 MB / 0.7405 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001921/0.8453, allocations: 52 kB / 0.7405 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1150) (initialization): time 0.03013/0.8754, allocations: 13.09 MB / 0.7533 GB, free: 256 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002486/0.8757, allocations: 84.03 kB / 0.7534 GB, free: 172 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2812/1.157, allocations: 181.5 kB / 0.7535 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007247/1.164, allocations: 1.769 MB / 0.7553 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008395/1.173, allocations: 2.11 MB / 0.7573 GB, free: 196.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01567/1.188, allocations: 12.43 MB / 0.7695 GB, free: 191.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009376/1.198, allocations: 0.4891 MB / 0.7699 GB, free: 191.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002443/1.2, allocations: 0.5173 MB / 0.7704 GB, free: 191.4 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.008371/1.209, allocations: 3.211 MB / 0.7736 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001486/1.21, allocations: 0.5772 MB / 0.7741 GB, free: 190 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01092/1.221, allocations: 5.805 MB / 0.7798 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.602e-05/1.221, allocations: 15.23 kB / 0.7798 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/1.221, allocations: 1 kB / 0.7798 GB, free: 188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002571/1.224, allocations: 1.054 MB / 0.7809 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000989/1.225, allocations: 46 kB / 0.7809 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00219/1.227, allocations: 175.1 kB / 0.7811 GB, free: 187.7 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004591/1.227, allocations: 178.6 kB / 0.7812 GB, free: 187.6 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01006/1.237, allocations: 6.286 MB / 0.7874 GB, free: 185.6 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008934/1.246, allocations: 8.047 MB / 0.7952 GB, free: 182.5 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002234/1.249, allocations: 2.113 MB / 0.7973 GB, free: 181.7 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.008071/1.257, allocations: 4.45 MB / 0.8016 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of Backend: time 5.21e-07/1.257, allocations: 0 / 0.8016 GB, free: 178.9 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01845/1.275, allocations: 6.495 MB / 0.808 GB, free: 173.2 MB / 0.5919 GB Notification: Performance of SimCode: time 0.02803/1.303, allocations: 14.8 MB / 0.8224 GB, free: 159.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.1173/1.421, allocations: 74.34 MB / 0.895 GB, free: 86.27 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