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.001316/0.001322, allocations: 113.9 kB / 18.46 MB, free: 4.613 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.001378/0.001378, allocations: 182 kB / 19.38 MB, free: 3.695 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.304/1.304, allocations: 222.9 MB / 243.1 MB, free: 15.06 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.2025/0.2025, allocations: 44.19 MB / 337.4 MB, free: 2.641 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 63.89 kB / 471.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3323, allocations: 60.81 MB / 0.5196 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01276/0.3451, allocations: 12.87 MB / 0.5321 GB, free: 10.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009408/0.3545, allocations: 4.51 MB / 0.5366 GB, free: 6.859 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00217/0.3567, allocations: 86.25 kB / 0.5366 GB, free: 6.844 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00683/0.3636, allocations: 3.73 MB / 0.5403 GB, free: 4.348 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006002/0.3696, allocations: 2.317 MB / 0.5425 GB, free: 2.691 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002165/0.3718, allocations: 1 MB / 0.5435 GB, free: 2.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008178/0.38, allocations: 6.025 MB / 0.5494 GB, free: 13.43 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005524/0.3855, allocations: 4.608 MB / 0.5539 GB, free: 8.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.3887, allocations: 1.99 MB / 0.5558 GB, free: 6.758 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003401/0.3921, allocations: 2.652 MB / 0.5584 GB, free: 4.098 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008503/0.393, allocations: 419.9 kB / 0.5588 GB, free: 3.688 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002621/0.3956, allocations: 1.459 MB / 0.5603 GB, free: 2.227 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002332/0.3979, allocations: 2.513 MB / 0.5627 GB, free: 15.71 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003193/0.4012, allocations: 2.785 MB / 0.5654 GB, free: 12.91 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01054/0.4117, allocations: 8.91 MB / 0.5741 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4117, allocations: 0 / 0.5741 GB, free: 3.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.4118, allocations: 0 / 0.5741 GB, free: 3.961 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002477/0.412, allocations: 0 / 0.5741 GB, free: 3.961 MB / 430.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.01235/0.4244, allocations: 6.289 MB / 0.5803 GB, free: 13.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4244, allocations: 12.03 kB / 0.5803 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/0.4364, allocations: 2.63 MB / 0.5829 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007713/0.4441, allocations: 3.857 MB / 0.5866 GB, free: 7.031 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002025/0.4444, allocations: 287.6 kB / 0.5869 GB, free: 6.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009066/0.4453, allocations: 383.7 kB / 0.5873 GB, free: 6.375 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0183/0.4636, allocations: 11.97 MB / 0.5989 GB, free: 9.551 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4638, allocations: 59.53 kB / 0.599 GB, free: 9.492 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004551/0.4642, allocations: 183.8 kB / 0.5992 GB, free: 9.312 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003727/0.4679, allocations: 2.268 MB / 0.6014 GB, free: 7.043 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01883/0.4868, allocations: 9.942 MB / 0.6111 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05976/0.5466, allocations: 46.54 MB / 0.6566 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.5572, allocations: 3.932 MB / 0.6604 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002958/0.5602, allocations: 2.162 MB / 0.6625 GB, free: 6.988 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01235/0.5725, allocations: 6.556 MB / 0.6689 GB, free: 344 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.5726, allocations: 51.56 kB / 0.669 GB, free: 284 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 5.49e-06/0.5727, allocations: 0 / 0.669 GB, free: 284 kB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04858/0.6212, allocations: 16.87 MB / 0.6854 GB, free: 15.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.814e-05/0.6214, allocations: 196.9 kB / 0.6856 GB, free: 15.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009318/0.6307, allocations: 5.677 MB / 0.6912 GB, free: 9.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.000376/0.6311, allocations: 45.7 kB / 0.6912 GB, free: 9.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002963/0.6341, allocations: 3.927 MB / 0.695 GB, free: 5.402 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/0.6351, allocations: 0.6941 MB / 0.6957 GB, free: 4.703 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002815/0.6379, allocations: 1.44 MB / 0.6971 GB, free: 3.254 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.638, allocations: 309 kB / 0.6974 GB, free: 2.949 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00364/0.6417, allocations: 2.321 MB / 0.6997 GB, free: 0.625 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006535/0.6482, allocations: 6.624 MB / 0.7062 GB, free: 7.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01123/0.6595, allocations: 9.633 MB / 0.7156 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000143/0.6597, allocations: 40 kB / 0.7156 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.01893/0.6786, allocations: 9.694 MB / 0.7251 GB, free: 2.348 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.6788, allocations: 70.66 kB / 0.7251 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002632/0.6791, allocations: 152 kB / 0.7253 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003447/0.6826, allocations: 1.215 MB / 0.7265 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.267/0.9496, allocations: 1.573 MB / 0.728 GB, free: 176.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009538/0.9592, allocations: 8.341 MB / 0.7362 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00509/0.9643, allocations: 373.3 kB / 0.7365 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008739/0.9652, allocations: 425.4 kB / 0.7369 GB, free: 172.7 MB / 0.5762 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.003839/0.969, allocations: 2.517 MB / 0.7394 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/0.9701, allocations: 485.3 kB / 0.7398 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006327/0.9764, allocations: 3.435 MB / 0.7432 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.925e-05/0.9765, allocations: 11.92 kB / 0.7432 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.393e-06/0.9765, allocations: 1.375 kB / 0.7432 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.9776, allocations: 0.5413 MB / 0.7437 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004844/0.9781, allocations: 28.81 kB / 0.7438 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001473/0.9795, allocations: 99 kB / 0.7439 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002561/0.9798, allocations: 107.1 kB / 0.744 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006735/0.9865, allocations: 3.88 MB / 0.7477 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004901/0.9915, allocations: 4.976 MB / 0.7526 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001228/0.9927, allocations: 1.226 MB / 0.7538 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.004553/0.9973, allocations: 3.599 MB / 0.7573 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of Backend: time 8.82e-07/0.9973, allocations: 3.469 kB / 0.7573 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009446/1.007, allocations: 4.777 MB / 0.762 GB, free: 163.9 MB / 0.5762 GB Notification: Performance of SimCode: time 0.01825/1.025, allocations: 11.49 MB / 0.7732 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.08315/1.108, allocations: 54.48 MB / 0.8264 GB, free: 99.54 MB / 0.5762 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/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