Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001243/0.001243, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.00132/0.00132, allocations: 192 kB / 18.56 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 242.2 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2118/0.2118, allocations: 44.18 MB / 336.6 MB, free: 2.777 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.001351, allocations: 65.3 kB / 408.4 MB, free: 27.26 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 60.82 MB / 469.3 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01516/0.1313, allocations: 12.85 MB / 482.1 MB, free: 1.492 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009278/0.1406, allocations: 4.528 MB / 486.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002533/0.1432, allocations: 87.69 kB / 486.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007229/0.1504, allocations: 3.726 MB / 490.4 MB, free: 9.125 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008975/0.1595, allocations: 2.257 MB / 492.7 MB, free: 6.859 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.163, allocations: 0.9981 MB / 493.7 MB, free: 5.859 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01049/0.1735, allocations: 6.026 MB / 499.7 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007705/0.1812, allocations: 4.608 MB / 0.4925 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004569/0.1858, allocations: 1.986 MB / 0.4944 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.1904, allocations: 2.648 MB / 0.497 GB, free: 6.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001955/0.1924, allocations: 416 kB / 0.4974 GB, free: 6.09 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/0.1966, allocations: 1.459 MB / 0.4989 GB, free: 4.629 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003736/0.2003, allocations: 2.49 MB / 0.5013 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2629/0.4632, allocations: 2.786 MB / 0.504 GB, free: 21.1 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01398/0.4772, allocations: 8.604 MB / 0.5124 GB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.117e-06/0.4773, allocations: 0 / 0.5124 GB, free: 20.55 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4773, allocations: 1.719 kB / 0.5124 GB, free: 20.55 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003449/0.4776, allocations: 0 / 0.5124 GB, free: 20.55 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.02247/0.5001, allocations: 6.124 MB / 0.5184 GB, free: 18.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.776e-05/0.5002, allocations: 8.375 kB / 0.5184 GB, free: 18.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01392/0.5141, allocations: 2.593 MB / 0.5209 GB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01025/0.5244, allocations: 3.767 MB / 0.5246 GB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.5247, allocations: 284.8 kB / 0.5249 GB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002431/0.5272, allocations: 383.6 kB / 0.5252 GB, free: 17.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02143/0.5486, allocations: 11.98 MB / 0.5369 GB, free: 10.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001667/0.5488, allocations: 59.64 kB / 0.537 GB, free: 10.42 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005527/0.5494, allocations: 184 kB / 0.5372 GB, free: 10.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003274/0.5527, allocations: 2.264 MB / 0.5394 GB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01908/0.5717, allocations: 9.935 MB / 0.5491 GB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06038/0.6322, allocations: 46.67 MB / 0.5947 GB, free: 2.488 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01003/0.6422, allocations: 3.927 MB / 0.5985 GB, free: 14.41 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002814/0.6451, allocations: 2.166 MB / 0.6006 GB, free: 12.23 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0112/0.6563, allocations: 6.531 MB / 0.607 GB, free: 5.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.961e-05/0.6564, allocations: 46.19 kB / 0.607 GB, free: 5.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=154): time 4.198e-06/0.6564, allocations: 0 / 0.607 GB, free: 5.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=166): time 0.04288/0.6993, allocations: 16.59 MB / 0.6232 GB, free: 4.918 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.6994, allocations: 207.9 kB / 0.6234 GB, free: 4.676 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008367/0.7078, allocations: 5.656 MB / 0.629 GB, free: 15.04 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006977/0.7085, allocations: 53.7 kB / 0.629 GB, free: 14.98 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003073/0.7116, allocations: 3.777 MB / 0.6327 GB, free: 11.21 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009672/0.7126, allocations: 0.6741 MB / 0.6334 GB, free: 10.54 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001942/0.7145, allocations: 1.434 MB / 0.6348 GB, free: 9.102 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.7146, allocations: 305.1 kB / 0.635 GB, free: 8.801 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/0.7179, allocations: 2.317 MB / 0.6373 GB, free: 6.48 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006134/0.724, allocations: 6.633 MB / 0.6438 GB, free: 13.79 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01168/0.7357, allocations: 9.618 MB / 0.6532 GB, free: 2.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000137/0.7359, allocations: 44 kB / 0.6532 GB, free: 2.621 MB / 494.1 MB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01839/0.7543, allocations: 9.677 MB / 0.6627 GB, free: 9.234 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.433e-05/0.7544, allocations: 75.94 kB / 0.6627 GB, free: 9.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/0.7546, allocations: 152 kB / 0.6629 GB, free: 9.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002923/0.7575, allocations: 1.214 MB / 0.6641 GB, free: 7.793 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004627/0.7622, allocations: 1.583 MB / 0.6656 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/0.7722, allocations: 8.332 MB / 0.6738 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006167/0.7784, allocations: 375.2 kB / 0.6741 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001298/0.7797, allocations: 428.1 kB / 0.6745 GB, free: 12.82 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 692 * Number of states: 0 () * Number of discrete variables: 49 (frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,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 (848): * Single equations (assignments): 841 * 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%), (1,13,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005921/0.7857, allocations: 2.514 MB / 0.677 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001227/0.7869, allocations: 461.9 kB / 0.6774 GB, free: 9.836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008542/0.7954, allocations: 3.429 MB / 0.6808 GB, free: 6.391 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.884e-05/0.7955, allocations: 20 kB / 0.6808 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.543e-05/0.7956, allocations: 7.828 kB / 0.6808 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.64e-05/0.7956, allocations: 11.97 kB / 0.6808 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/0.8151, allocations: 8.303 MB / 0.6889 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.63e-05/0.8151, allocations: 4 kB / 0.6889 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001488/0.8166, allocations: 299.8 kB / 0.6892 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002807/0.8194, allocations: 0.9886 MB / 0.6902 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002091/0.8197, allocations: 34.19 kB / 0.6902 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009721/0.8294, allocations: 7.675 MB / 0.6977 GB, free: 4.715 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.835e-06/0.8294, allocations: 4 kB / 0.6977 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2912/1.121, allocations: 5.873 MB / 0.7034 GB, free: 168.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001884/1.123, allocations: 0.5213 MB / 0.7039 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/1.124, allocations: 28.72 kB / 0.704 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.126, allocations: 96.94 kB / 0.7041 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003355/1.126, allocations: 91.62 kB / 0.7042 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001337/1.126, allocations: 50.86 kB / 0.7042 GB, free: 168.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.008167/1.135, allocations: 3.623 MB / 0.7077 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of sort global known variables: time 3.7e-07/1.135, allocations: 1.312 kB / 0.7077 GB, free: 168.3 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.009224/1.144, allocations: 1.191 MB / 0.7089 GB, free: 168.3 MB / 0.5294 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 (126): * Single equations (assignments): 121 * 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.0006134/1.144, allocations: 157.9 kB / 0.7091 GB, free: 168.2 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01137/1.156, allocations: 6.321 MB / 0.7152 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.692e-05/1.156, allocations: 1.656 kB / 0.7152 GB, free: 167.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.002043/1.158, allocations: 1.623 MB / 0.7168 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004201/1.162, allocations: 0.6172 MB / 0.7174 GB, free: 166.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.179, allocations: 11.12 MB / 0.7283 GB, free: 161.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003368/1.183, allocations: 3.851 MB / 0.732 GB, free: 160.4 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004399/1.187, allocations: 2.138 MB / 0.7341 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006967/1.188, allocations: 300.3 kB / 0.7344 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of SimCode: time 1.994e-06/1.188, allocations: 0 / 0.7344 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of Templates: time 0.07833/1.266, allocations: 46.33 MB / 0.7797 GB, free: 115.4 MB / 0.5294 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches