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.001164/0.001164, allocations: 96.14 kB / 15.87 MB, free: 16 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 203.1 kB / 16.79 MB, free: 6.84 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.536/1.536, allocations: 205.1 MB / 222.6 MB, free: 4.758 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3829/0.3829, allocations: 43.5 MB / 313.5 MB, free: 8.531 MB / 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.001649/0.001649, allocations: 63.91 kB / 382 MB, free: 8.754 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1594, allocations: 57.79 MB / 439.8 MB, free: 14.86 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.3491/0.5085, allocations: 73.18 MB / 0.501 GB, free: 3.254 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.04504/0.5536, allocations: 14.49 MB / 0.5151 GB, free: 9.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0262/0.5799, allocations: 316.4 kB / 0.5154 GB, free: 9.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009271/0.5892, allocations: 3.755 MB / 0.5191 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009/0.5983, allocations: 2.218 MB / 0.5213 GB, free: 6.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003149/0.6014, allocations: 0.9354 MB / 0.5222 GB, free: 6.422 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.01665/0.6181, allocations: 8.57 MB / 0.5305 GB, free: 3.547 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009133/0.6273, allocations: 4.63 MB / 0.5351 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005857/0.6332, allocations: 1.845 MB / 0.5369 GB, free: 13.99 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006278/0.6395, allocations: 3.03 MB / 0.5398 GB, free: 10.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001994/0.6415, allocations: 308 kB / 0.5401 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004698/0.6462, allocations: 1.428 MB / 0.5415 GB, free: 9.223 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004655/0.6509, allocations: 2.525 MB / 0.544 GB, free: 6.691 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007344/0.6583, allocations: 2.819 MB / 0.5467 GB, free: 3.855 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0141/0.6724, allocations: 8.964 MB / 0.5555 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.6725, allocations: 0 / 0.5555 GB, free: 10.86 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.287e-06/0.6725, allocations: 0 / 0.5555 GB, free: 10.86 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0004179/0.6729, allocations: 3.938 kB / 0.5555 GB, free: 10.86 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02113/0.6941, allocations: 6.389 MB / 0.5617 GB, free: 4.395 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.6941, allocations: 12.03 kB / 0.5617 GB, free: 4.383 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01199/0.7061, allocations: 2.637 MB / 0.5643 GB, free: 1.734 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009072/0.7152, allocations: 3.946 MB / 0.5682 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002506/0.7155, allocations: 300.2 kB / 0.5685 GB, free: 13.44 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00141/0.717, allocations: 415.5 kB / 0.5689 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/0.7403, allocations: 12.61 MB / 0.5812 GB, free: 15.56 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001641/0.7405, allocations: 55.53 kB / 0.5812 GB, free: 15.5 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005182/0.741, allocations: 191.8 kB / 0.5814 GB, free: 15.32 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003809/0.7448, allocations: 2.405 MB / 0.5838 GB, free: 12.91 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02263/0.7675, allocations: 10.53 MB / 0.594 GB, free: 2.359 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3763/1.144, allocations: 48.81 MB / 0.6417 GB, free: 110.4 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01089/1.155, allocations: 4.795 MB / 0.6464 GB, free: 109.8 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00318/1.158, allocations: 2.441 MB / 0.6488 GB, free: 109.7 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01329/1.171, allocations: 7.177 MB / 0.6558 GB, free: 106.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/1.171, allocations: 59.3 kB / 0.6558 GB, free: 106.7 MB / 494.1 MB Notification: Performance of pre-optimization done (n=181): time 6.593e-06/1.171, allocations: 2.109 kB / 0.6558 GB, free: 106.7 MB / 494.1 MB Notification: Performance of matching and sorting (n=193): time 0.05097/1.222, allocations: 17.99 MB / 0.6734 GB, free: 100.1 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.223, allocations: 210.5 kB / 0.6736 GB, free: 99.83 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0124/1.235, allocations: 5.833 MB / 0.6793 GB, free: 97.8 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0007009/1.236, allocations: 51.52 kB / 0.6793 GB, free: 97.75 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003566/1.239, allocations: 3.953 MB / 0.6832 GB, free: 94.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001513/1.241, allocations: 0.7654 MB / 0.684 GB, free: 94.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002667/1.244, allocations: 1.508 MB / 0.6854 GB, free: 93.43 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.949e-05/1.244, allocations: 307.4 kB / 0.6857 GB, free: 93.14 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004435/1.248, allocations: 2.598 MB / 0.6883 GB, free: 92.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00645/1.255, allocations: 7.041 MB / 0.6951 GB, free: 85.54 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01169/1.266, allocations: 10.34 MB / 0.7052 GB, free: 77.14 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002748/1.267, allocations: 49.09 kB / 0.7053 GB, free: 77.13 MB / 494.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02128/1.288, allocations: 10.39 MB / 0.7154 GB, free: 72.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001787/1.288, allocations: 75.75 kB / 0.7155 GB, free: 71.98 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002875/1.288, allocations: 156.1 kB / 0.7157 GB, free: 71.83 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003006/1.291, allocations: 1.225 MB / 0.7168 GB, free: 70.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005697/1.297, allocations: 1.704 MB / 0.7185 GB, free: 68.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009771/1.307, allocations: 7.77 MB / 0.7261 GB, free: 60.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00932/1.316, allocations: 407.4 kB / 0.7265 GB, free: 60.58 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001723/1.318, allocations: 451.3 kB / 0.7269 GB, free: 60.14 MB / 494.1 MB 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.006271/1.324, allocations: 2.635 MB / 0.7295 GB, free: 57.5 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.326, allocations: 481.7 kB / 0.73 GB, free: 57.02 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007687/1.334, allocations: 3.974 MB / 0.7338 GB, free: 53.03 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-05/1.334, allocations: 24 kB / 0.7339 GB, free: 53 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.224e-05/1.334, allocations: 4 kB / 0.7339 GB, free: 53 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.978e-05/1.334, allocations: 7.969 kB / 0.7339 GB, free: 52.99 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01965/1.353, allocations: 9.298 MB / 0.7429 GB, free: 43.64 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.358e-05/1.353, allocations: 0 / 0.7429 GB, free: 43.64 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.355, allocations: 366 kB / 0.7433 GB, free: 43.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00256/1.358, allocations: 0.9924 MB / 0.7443 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002288/1.358, allocations: 36 kB / 0.7443 GB, free: 42.25 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00695/1.365, allocations: 7.096 MB / 0.7512 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.466e-06/1.365, allocations: 0 / 0.7512 GB, free: 34.89 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009486/1.375, allocations: 6.748 MB / 0.7578 GB, free: 28.09 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003052/1.378, allocations: 0.8228 MB / 0.7586 GB, free: 27.24 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001771/1.379, allocations: 35.98 kB / 0.7587 GB, free: 27.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002582/1.382, allocations: 115.8 kB / 0.7588 GB, free: 27.09 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003702/1.382, allocations: 113 kB / 0.7589 GB, free: 26.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/1.383, allocations: 55.98 kB / 0.7589 GB, free: 26.93 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005426/1.388, allocations: 3.733 MB / 0.7626 GB, free: 23.22 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/1.388, allocations: 0.8438 kB / 0.7626 GB, free: 23.22 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007958/1.396, allocations: 1.264 MB / 0.7638 GB, free: 21.96 MB / 494.1 MB 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.0005154/1.396, allocations: 177 kB / 0.764 GB, free: 21.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00936/1.406, allocations: 6.22 MB / 0.7701 GB, free: 15.57 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/1.406, allocations: 4 kB / 0.7701 GB, free: 15.56 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002302/1.408, allocations: 1.887 MB / 0.7719 GB, free: 13.65 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/1.413, allocations: 0.5933 MB / 0.7725 GB, free: 13.08 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0225/1.435, allocations: 14.28 MB / 0.7864 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005936/1.441, allocations: 4.024 MB / 0.7904 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006738/1.448, allocations: 2.281 MB / 0.7926 GB, free: 8.406 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001314/1.449, allocations: 319.3 kB / 0.7929 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of SimCode: time 1.413e-06/1.449, allocations: 0 / 0.7929 GB, free: 8.094 MB / 0.4981 GB Notification: Performance of Templates: time 0.352/1.801, allocations: 47.31 MB / 0.8391 GB, free: 170.4 MB / 0.5294 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","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches