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.001012/0.001012, allocations: 95.42 kB / 16.99 MB, free: 5.941 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.001076/0.001076, allocations: 177.9 kB / 17.87 MB, free: 5.609 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.481/1.481, allocations: 223.2 MB / 241.8 MB, free: 14.63 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.2136/0.2136, allocations: 44.23 MB / 337.1 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003396/0.0003401, allocations: 8.75 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1288, allocations: 61.93 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3374/0.4663, allocations: 62 MB / 0.521 GB, free: 9.859 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04353/0.5099, allocations: 14.36 MB / 0.535 GB, free: 8.078 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02141/0.5313, allocations: 309.8 kB / 0.5353 GB, free: 8.031 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01315/0.5445, allocations: 3.129 MB / 0.5383 GB, free: 6.867 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03627/0.5809, allocations: 8.978 MB / 0.5471 GB, free: 2.406 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00583/0.5867, allocations: 0.7857 MB / 0.5479 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0751/0.6618, allocations: 48.52 MB / 0.5952 GB, free: 4.949 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01056/0.6725, allocations: 5.369 MB / 0.6005 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003672/0.6762, allocations: 1.296 MB / 0.6018 GB, free: 14.22 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003502/0.6797, allocations: 1.694 MB / 0.6034 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001239/0.681, allocations: 172 kB / 0.6036 GB, free: 12.35 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003592/0.6846, allocations: 1.073 MB / 0.6046 GB, free: 11.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003346/0.688, allocations: 2.034 MB / 0.6066 GB, free: 9.238 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002213/0.6902, allocations: 1.03 MB / 0.6076 GB, free: 8.199 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01041/0.7006, allocations: 6.94 MB / 0.6144 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.7007, allocations: 0 / 0.6144 GB, free: 1.242 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.866e-06/0.7007, allocations: 3.938 kB / 0.6144 GB, free: 1.238 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003645/0.7011, allocations: 0 / 0.6144 GB, free: 1.238 MB / 446.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.01712/0.7182, allocations: 5.413 MB / 0.6197 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.483e-05/0.7183, allocations: 12.55 kB / 0.6197 GB, free: 11.74 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0461/0.7644, allocations: 8.028 MB / 0.6275 GB, free: 3.691 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01256/0.777, allocations: 3.857 MB / 0.6313 GB, free: 15.78 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004081/0.7775, allocations: 279.2 kB / 0.6316 GB, free: 15.51 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00243/0.7799, allocations: 383.7 kB / 0.6319 GB, free: 15.13 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02811/0.8081, allocations: 11.94 MB / 0.6436 GB, free: 2.34 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/0.8083, allocations: 55.44 kB / 0.6436 GB, free: 2.285 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000861/0.8092, allocations: 183.8 kB / 0.6438 GB, free: 2.105 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004097/0.8133, allocations: 2.272 MB / 0.646 GB, free: 15.83 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0238/0.8371, allocations: 9.779 MB / 0.6556 GB, free: 6.031 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07582/0.913, allocations: 46.39 MB / 0.7009 GB, free: 6.328 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.9236, allocations: 3.807 MB / 0.7046 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2869/1.211, allocations: 6.318 MB / 0.7108 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.799e-05/1.211, allocations: 52.86 kB / 0.7108 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=154): time 5.891e-06/1.211, allocations: 1.812 kB / 0.7108 GB, free: 192.1 MB / 0.5294 GB Notification: Performance of matching and sorting (n=166): time 0.03884/1.249, allocations: 15.09 MB / 0.7256 GB, free: 186.6 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/1.25, allocations: 200.5 kB / 0.7258 GB, free: 186.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00675/1.256, allocations: 5.891 MB / 0.7315 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001978/1.257, allocations: 52.61 kB / 0.7316 GB, free: 184.3 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001862/1.258, allocations: 3.826 MB / 0.7353 GB, free: 181.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005481/1.259, allocations: 0.6664 MB / 0.7359 GB, free: 180.8 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000223/1.259, allocations: 132.2 kB / 0.7361 GB, free: 180.7 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000255/1.259, allocations: 0.5884 MB / 0.7367 GB, free: 180.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002411/1.262, allocations: 2.076 MB / 0.7387 GB, free: 179.7 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004089/1.266, allocations: 6.342 MB / 0.7449 GB, free: 173.1 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003791/1.27, allocations: 3.553 MB / 0.7483 GB, free: 169.9 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.974e-05/1.27, allocations: 48 kB / 0.7484 GB, free: 169.8 MB / 0.5294 GB Notification: Performance of matching and sorting (n=870) (initialization): time 0.01188/1.282, allocations: 8.63 MB / 0.7568 GB, free: 161.2 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-05/1.282, allocations: 72 kB / 0.7569 GB, free: 161.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001499/1.282, allocations: 155.8 kB / 0.757 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001668/1.284, allocations: 0.7273 MB / 0.7577 GB, free: 160.2 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004524/1.288, allocations: 1.528 MB / 0.7592 GB, free: 158.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005971/1.294, allocations: 6.429 MB / 0.7655 GB, free: 152 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005145/1.299, allocations: 349.4 kB / 0.7658 GB, free: 151.7 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007882/1.3, allocations: 419.9 kB / 0.7662 GB, free: 151.3 MB / 0.5294 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 (810): * Single equations (assignments): 803 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004237/1.304, allocations: 2.511 MB / 0.7687 GB, free: 148.7 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000992/1.305, allocations: 465.9 kB / 0.7691 GB, free: 148.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004332/1.31, allocations: 2.699 MB / 0.7718 GB, free: 145.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.31, allocations: 19.94 kB / 0.7718 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.275e-05/1.31, allocations: 4 kB / 0.7718 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.31, allocations: 11.97 kB / 0.7718 GB, free: 145.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01217/1.322, allocations: 7.577 MB / 0.7792 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-05/1.322, allocations: 8.828 kB / 0.7792 GB, free: 137.9 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.323, allocations: 299.5 kB / 0.7795 GB, free: 137.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001226/1.325, allocations: 489.5 kB / 0.78 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.325, allocations: 30.97 kB / 0.78 GB, free: 137.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005089/1.33, allocations: 5.797 MB / 0.7857 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.33, allocations: 4 kB / 0.7857 GB, free: 131 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007162/1.337, allocations: 5.403 MB / 0.7909 GB, free: 125.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002479/1.34, allocations: 0.5459 MB / 0.7915 GB, free: 125 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001737/1.341, allocations: 31.94 kB / 0.7915 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002614/1.344, allocations: 84.98 kB / 0.7916 GB, free: 124.9 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003022/1.344, allocations: 92.81 kB / 0.7917 GB, free: 124.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001443/1.344, allocations: 52.78 kB / 0.7917 GB, free: 124.7 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.007989/1.352, allocations: 3.806 MB / 0.7954 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.61e-07/1.353, allocations: 0 / 0.7954 GB, free: 120.9 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.008941/1.361, allocations: 1.15 MB / 0.7966 GB, free: 119.8 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007853/1.362, allocations: 176 kB / 0.7967 GB, free: 119.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.008476/1.371, allocations: 5.15 MB / 0.8018 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/1.371, allocations: 0 / 0.8018 GB, free: 114.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001983/1.373, allocations: 1.48 MB / 0.8032 GB, free: 113 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004555/1.377, allocations: 0.6017 MB / 0.8038 GB, free: 112.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01986/1.397, allocations: 12.58 MB / 0.8161 GB, free: 99.73 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004942/1.402, allocations: 3.959 MB / 0.8199 GB, free: 95.74 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.005353/1.408, allocations: 2.164 MB / 0.8221 GB, free: 93.57 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/1.409, allocations: 299.4 kB / 0.8223 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of SimCode: time 1.052e-06/1.409, allocations: 0 / 0.8223 GB, free: 93.27 MB / 0.5294 GB Notification: Performance of Templates: time 0.07492/1.484, allocations: 41.98 MB / 0.8633 GB, free: 51.53 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","../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches