Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.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.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 107.7 kB / 16.41 MB, free: 6.406 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.002102/0.002102, allocations: 189.5 kB / 17.34 MB, free: 5.695 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.419/1.419, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2124/0.2124, allocations: 43.53 MB / 314.1 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.001287/0.001287, allocations: 65.62 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1329, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01977/0.1527, allocations: 13.74 MB / 0.5013 GB, free: 13.97 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.01023/0.1629, allocations: 4.607 MB / 0.5058 GB, free: 9.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0027/0.1657, allocations: 87.75 kB / 0.5059 GB, free: 9.262 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007436/0.1731, allocations: 3.765 MB / 0.5096 GB, free: 5.484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00673/0.18, allocations: 2.366 MB / 0.5119 GB, free: 3.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002529/0.1825, allocations: 0.9943 MB / 0.5129 GB, free: 2.113 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.00875/0.1913, allocations: 5.913 MB / 0.5186 GB, free: 12.18 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006279/0.1976, allocations: 4.69 MB / 0.5232 GB, free: 7.426 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003821/0.2014, allocations: 2.087 MB / 0.5253 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004591/0.2061, allocations: 2.815 MB / 0.528 GB, free: 2.508 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.2078, allocations: 444 kB / 0.5284 GB, free: 2.074 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004258/0.2121, allocations: 1.471 MB / 0.5299 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.3532/0.5654, allocations: 2.61 MB / 0.5324 GB, free: 12.47 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007983/0.5734, allocations: 2.936 MB / 0.5353 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01972/0.5932, allocations: 9.408 MB / 0.5445 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.211e-05/0.5932, allocations: 0.6094 kB / 0.5445 GB, free: 10.18 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.5932, allocations: 0.75 kB / 0.5445 GB, free: 10.18 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000538/0.5938, allocations: 0 / 0.5445 GB, free: 10.18 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02908/0.6229, allocations: 6.563 MB / 0.5509 GB, free: 7.52 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.623, allocations: 13.48 kB / 0.5509 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01525/0.6382, allocations: 2.668 MB / 0.5535 GB, free: 7.113 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01225/0.6505, allocations: 4.045 MB / 0.5575 GB, free: 6.227 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000347/0.6509, allocations: 301.1 kB / 0.5577 GB, free: 6.133 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002574/0.6535, allocations: 399.2 kB / 0.5581 GB, free: 6.035 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02674/0.6802, allocations: 12.62 MB / 0.5704 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001827/0.6805, allocations: 61.47 kB / 0.5705 GB, free: 15.22 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006879/0.6812, allocations: 189.4 kB / 0.5707 GB, free: 15.13 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004617/0.6858, allocations: 2.406 MB / 0.573 GB, free: 14.23 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02497/0.7108, allocations: 10.53 MB / 0.5833 GB, free: 6.422 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07441/0.7852, allocations: 48.69 MB / 0.6309 GB, free: 5.133 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.012/0.7973, allocations: 4.787 MB / 0.6356 GB, free: 212 kB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003681/0.801, allocations: 2.432 MB / 0.6379 GB, free: 13.77 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01376/0.8148, allocations: 7.194 MB / 0.645 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.626e-05/0.8149, allocations: 62.72 kB / 0.645 GB, free: 6.469 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 4.689e-06/0.8149, allocations: 0 / 0.645 GB, free: 6.469 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.04918/0.8641, allocations: 18.29 MB / 0.6629 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001544/0.8643, allocations: 205.1 kB / 0.6631 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/0.8745, allocations: 5.846 MB / 0.6688 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0006092/0.8752, allocations: 56.59 kB / 0.6688 GB, free: 14 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.00335/0.8785, allocations: 4.095 MB / 0.6728 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001319/0.8798, allocations: 0.7958 MB / 0.6736 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002321/0.8822, allocations: 1.528 MB / 0.6751 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.8823, allocations: 301.1 kB / 0.6754 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004083/0.8864, allocations: 2.603 MB / 0.6779 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007586/0.894, allocations: 7.041 MB / 0.6848 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01383/0.9079, allocations: 10.34 MB / 0.6949 GB, free: 15.66 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001872/0.9081, allocations: 44 kB / 0.6949 GB, free: 15.62 MB / 0.545 GB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02451/0.9326, allocations: 10.43 MB / 0.7051 GB, free: 5.406 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/0.9329, allocations: 72 kB / 0.7052 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003129/0.9332, allocations: 156.9 kB / 0.7054 GB, free: 5.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003606/0.9368, allocations: 1.223 MB / 0.7065 GB, free: 3.953 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006954/0.9438, allocations: 1.7 MB / 0.7082 GB, free: 2.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01167/0.9555, allocations: 8.36 MB / 0.7164 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007391/0.9629, allocations: 415.5 kB / 0.7168 GB, free: 9.223 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001937/0.9649, allocations: 448 kB / 0.7172 GB, free: 8.785 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 712 * Number of states: 0 () * Number of discrete variables: 45 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],frameForce1.color[3],frameForce1.color[2],frameForce1.color[1],fixed1.color[3],fixed1.color[2],fixed1.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 (904): * Single equations (assignments): 897 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,13,100.0%), (2,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.007443/0.9724, allocations: 2.622 MB / 0.7198 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001798/0.9742, allocations: 0.4927 MB / 0.7202 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009183/0.9834, allocations: 3.974 MB / 0.7241 GB, free: 1.656 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.297e-05/0.9835, allocations: 20 kB / 0.7241 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.9835, allocations: 8 kB / 0.7241 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/0.9835, allocations: 7.969 kB / 0.7242 GB, free: 1.621 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02098/1.004, allocations: 9.269 MB / 0.7332 GB, free: 8.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/1.005, allocations: 4 kB / 0.7332 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.006, allocations: 363.7 kB / 0.7336 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/1.009, allocations: 0.9847 MB / 0.7345 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002667/1.01, allocations: 36.8 kB / 0.7346 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009799/1.019, allocations: 7.69 MB / 0.7421 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.019, allocations: 4 kB / 0.7421 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01162/1.031, allocations: 6.773 MB / 0.7487 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002933/1.034, allocations: 0.8412 MB / 0.7495 GB, free: 7.242 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009334/1.035, allocations: 42.8 kB / 0.7495 GB, free: 7.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002058/1.037, allocations: 115.8 kB / 0.7497 GB, free: 7.09 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/1.037, allocations: 109 kB / 0.7498 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/1.038, allocations: 55.98 kB / 0.7498 GB, free: 6.93 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.00789/1.046, allocations: 3.733 MB / 0.7535 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of sort global known variables: time 5.21e-07/1.046, allocations: 3.938 kB / 0.7535 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.009238/1.055, allocations: 1.269 MB / 0.7547 GB, free: 1.953 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (154): * Single equations (assignments): 149 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(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.0006554/1.056, allocations: 169.2 kB / 0.7549 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3283/1.384, allocations: 6.236 MB / 0.7609 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.164e-05/1.384, allocations: 8.469 kB / 0.761 GB, free: 211.4 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.00374/1.388, allocations: 1.877 MB / 0.7628 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005276/1.393, allocations: 0.6254 MB / 0.7634 GB, free: 211.1 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02744/1.42, allocations: 11.95 MB / 0.7751 GB, free: 207.1 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005109/1.426, allocations: 4.016 MB / 0.779 GB, free: 205.6 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005459/1.431, allocations: 2.287 MB / 0.7812 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000939/1.432, allocations: 311 kB / 0.7815 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of SimCode: time 2.244e-06/1.432, allocations: 4 kB / 0.7815 GB, free: 205.4 MB / 0.5919 GB Notification: Performance of Templates: time 0.08573/1.518, allocations: 44.71 MB / 0.8252 GB, free: 164.7 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches