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.00135/0.00135, allocations: 110.6 kB / 18.45 MB, free: 4.484 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.001266/0.001266, allocations: 191.1 kB / 19.39 MB, free: 3.555 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.361/1.361, allocations: 222.9 MB / 243.1 MB, free: 15.05 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.2071/0.2071, allocations: 44.19 MB / 337.4 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 59.91 kB / 471.2 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3497, allocations: 60.81 MB / 0.5196 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01362/0.3634, allocations: 12.87 MB / 0.5321 GB, free: 10.42 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.009805/0.3733, allocations: 4.506 MB / 0.5365 GB, free: 6.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002358/0.3756, allocations: 86.75 kB / 0.5366 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00674/0.3824, allocations: 3.73 MB / 0.5403 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006231/0.3887, allocations: 2.317 MB / 0.5425 GB, free: 2.711 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002429/0.3911, allocations: 1.001 MB / 0.5435 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.008812/0.4, allocations: 6.031 MB / 0.5494 GB, free: 13.46 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005807/0.4058, allocations: 4.6 MB / 0.5539 GB, free: 8.797 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.4093, allocations: 1.994 MB / 0.5558 GB, free: 6.797 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004003/0.4134, allocations: 2.66 MB / 0.5584 GB, free: 4.129 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001456/0.4148, allocations: 416 kB / 0.5588 GB, free: 3.723 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004282/0.4191, allocations: 1.451 MB / 0.5603 GB, free: 2.27 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003591/0.4228, allocations: 2.513 MB / 0.5627 GB, free: 15.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0056/0.4284, allocations: 2.789 MB / 0.5654 GB, free: 12.95 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01364/0.4421, allocations: 8.914 MB / 0.5741 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.4421, allocations: 0 / 0.5741 GB, free: 3.996 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.4421, allocations: 0 / 0.5741 GB, free: 3.996 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004087/0.4425, allocations: 0 / 0.5741 GB, free: 3.996 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.01655/0.4591, allocations: 6.292 MB / 0.5803 GB, free: 13.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.4592, allocations: 8.031 kB / 0.5803 GB, free: 13.61 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01167/0.4708, allocations: 2.626 MB / 0.5829 GB, free: 10.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009793/0.4807, allocations: 3.857 MB / 0.5866 GB, free: 7.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002826/0.481, allocations: 283.6 kB / 0.5869 GB, free: 6.793 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001528/0.4825, allocations: 383.7 kB / 0.5873 GB, free: 6.418 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02588/0.5084, allocations: 11.98 MB / 0.5989 GB, free: 9.586 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/0.5088, allocations: 63.52 kB / 0.599 GB, free: 9.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001381/0.5102, allocations: 175.8 kB / 0.5992 GB, free: 9.352 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00387/0.514, allocations: 2.268 MB / 0.6014 GB, free: 7.082 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02032/0.5344, allocations: 9.935 MB / 0.6111 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06285/0.5973, allocations: 46.55 MB / 0.6566 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01028/0.6076, allocations: 3.925 MB / 0.6604 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002997/0.6106, allocations: 2.169 MB / 0.6625 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01168/0.6223, allocations: 6.553 MB / 0.6689 GB, free: 388 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.413e-05/0.6224, allocations: 47.56 kB / 0.6689 GB, free: 332 kB / 0.5137 GB Notification: Performance of pre-optimization done (n=154): time 6.082e-06/0.6225, allocations: 0 / 0.6689 GB, free: 332 kB / 0.5137 GB Notification: Performance of matching and sorting (n=166): time 0.04529/0.6678, allocations: 16.88 MB / 0.6854 GB, free: 15.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.6679, allocations: 196.9 kB / 0.6856 GB, free: 15.11 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/0.678, allocations: 5.669 MB / 0.6912 GB, free: 9.457 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0003883/0.6784, allocations: 57.69 kB / 0.6912 GB, free: 9.395 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.002932/0.6814, allocations: 3.923 MB / 0.695 GB, free: 5.438 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009935/0.6824, allocations: 0.698 MB / 0.6957 GB, free: 4.734 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002571/0.685, allocations: 1.44 MB / 0.6971 GB, free: 3.285 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.859e-05/0.6851, allocations: 305.1 kB / 0.6974 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003439/0.6885, allocations: 2.321 MB / 0.6997 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006358/0.6949, allocations: 6.627 MB / 0.7062 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01103/0.706, allocations: 9.625 MB / 0.7156 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001491/0.7061, allocations: 44 kB / 0.7156 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=908) (initialization): time 0.0164/0.7225, allocations: 9.696 MB / 0.7251 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/0.7227, allocations: 72 kB / 0.7251 GB, free: 2.312 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002215/0.7229, allocations: 152.5 kB / 0.7253 GB, free: 2.164 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003087/0.726, allocations: 1.211 MB / 0.7265 GB, free: 0.9492 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2833/1.009, allocations: 1.577 MB / 0.728 GB, free: 177 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01022/1.02, allocations: 8.334 MB / 0.7361 GB, free: 173 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005485/1.025, allocations: 370.8 kB / 0.7365 GB, free: 172.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001127/1.026, allocations: 426.6 kB / 0.7369 GB, free: 172.8 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.004037/1.03, allocations: 2.514 MB / 0.7394 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008748/1.031, allocations: 487.9 kB / 0.7398 GB, free: 171.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005979/1.037, allocations: 3.437 MB / 0.7432 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/1.037, allocations: 8.594 kB / 0.7432 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/1.037, allocations: 3.094 kB / 0.7432 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.038, allocations: 0.5373 MB / 0.7437 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005386/1.039, allocations: 33.55 kB / 0.7438 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001412/1.04, allocations: 95.78 kB / 0.7438 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002594/1.041, allocations: 105 kB / 0.7439 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006428/1.047, allocations: 3.886 MB / 0.7477 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005077/1.052, allocations: 4.987 MB / 0.7526 GB, free: 167.3 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001239/1.053, allocations: 1.217 MB / 0.7538 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00507/1.058, allocations: 3.603 MB / 0.7573 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of Backend: time 1.152e-06/1.058, allocations: 3.906 kB / 0.7573 GB, free: 165.7 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.009871/1.068, allocations: 4.772 MB / 0.762 GB, free: 164 MB / 0.5762 GB Notification: Performance of SimCode: time 0.0156/1.084, allocations: 11.49 MB / 0.7732 GB, free: 153.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.08407/1.168, allocations: 54.46 MB / 0.8264 GB, free: 99.61 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