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.001523/0.001523, allocations: 105.2 kB / 16.93 MB, free: 5.789 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.001729/0.001729, allocations: 191.3 kB / 17.86 MB, free: 5.152 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.396/1.396, allocations: 205.1 MB / 223.7 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2136/0.2136, allocations: 43.51 MB / 314.6 MB, free: 0.5352 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.001478/0.001478, allocations: 67.31 kB / 383.4 MB, free: 56.72 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09375/0.09524, allocations: 57.78 MB / 441.2 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01282/0.1081, allocations: 13.73 MB / 454.9 MB, free: 9.137 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009901/0.1181, allocations: 4.607 MB / 459.5 MB, free: 4.516 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0026/0.1207, allocations: 87.75 kB / 459.6 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007335/0.1281, allocations: 3.753 MB / 463.4 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006668/0.1348, allocations: 2.365 MB / 465.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00261/0.1375, allocations: 1.002 MB / 466.7 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.009156/0.1467, allocations: 5.917 MB / 472.6 MB, free: 7.355 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007236/0.1539, allocations: 4.694 MB / 477.3 MB, free: 2.594 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004107/0.1581, allocations: 2.079 MB / 479.4 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004629/0.1628, allocations: 2.823 MB / 482.2 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001752/0.1646, allocations: 444 kB / 482.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003705/0.1683, allocations: 1.467 MB / 484.1 MB, free: 11.77 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003607/0.1719, allocations: 2.618 MB / 486.8 MB, free: 9.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005114/0.1771, allocations: 2.94 MB / 489.7 MB, free: 6.191 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01116/0.1883, allocations: 9.077 MB / 498.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.882e-06/0.1883, allocations: 0 / 498.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.1883, allocations: 0 / 498.8 MB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003254/0.1887, allocations: 0 / 498.8 MB, free: 13.09 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01616/0.2048, allocations: 6.389 MB / 0.4933 GB, free: 6.621 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.2049, allocations: 11.89 kB / 0.4933 GB, free: 6.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01293/0.2178, allocations: 2.633 MB / 0.4959 GB, free: 3.965 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008919/0.2268, allocations: 3.965 MB / 0.4998 GB, free: 15.94 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.2271, allocations: 292 kB / 0.5001 GB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001468/0.2286, allocations: 399.7 kB / 0.5004 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02401/0.2527, allocations: 12.63 MB / 0.5128 GB, free: 1.781 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002552/0.253, allocations: 51.53 kB / 0.5128 GB, free: 1.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001248/0.2542, allocations: 187.8 kB / 0.513 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004334/0.2586, allocations: 2.409 MB / 0.5153 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02251/0.2811, allocations: 10.53 MB / 0.5256 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2594/0.5405, allocations: 48.82 MB / 0.5733 GB, free: 48.8 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01131/0.5519, allocations: 4.791 MB / 0.578 GB, free: 46.13 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003142/0.5551, allocations: 2.449 MB / 0.5804 GB, free: 44.82 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/0.5675, allocations: 7.165 MB / 0.5874 GB, free: 39.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.714e-05/0.5676, allocations: 47.88 kB / 0.5874 GB, free: 39.13 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 6.051e-06/0.5676, allocations: 0 / 0.5874 GB, free: 39.13 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.04925/0.6169, allocations: 17.99 MB / 0.605 GB, free: 21.02 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/0.617, allocations: 201.2 kB / 0.6052 GB, free: 20.79 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009558/0.6266, allocations: 5.835 MB / 0.6109 GB, free: 14.96 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004915/0.6271, allocations: 57.69 kB / 0.6109 GB, free: 14.9 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002519/0.6297, allocations: 3.948 MB / 0.6148 GB, free: 10.96 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001028/0.6307, allocations: 0.761 MB / 0.6155 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003327/0.634, allocations: 1.51 MB / 0.617 GB, free: 8.691 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 4.463e-05/0.6341, allocations: 305.1 kB / 0.6173 GB, free: 8.391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003835/0.6379, allocations: 2.599 MB / 0.6198 GB, free: 5.789 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006534/0.6445, allocations: 7.048 MB / 0.6267 GB, free: 12.55 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01238/0.6569, allocations: 10.34 MB / 0.6368 GB, free: 20 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001802/0.6572, allocations: 47.98 kB / 0.6369 GB, free: 15.97 MB / 446.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02139/0.6786, allocations: 10.4 MB / 0.647 GB, free: 5.555 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.6788, allocations: 76.25 kB / 0.6471 GB, free: 5.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002481/0.6791, allocations: 159.9 kB / 0.6472 GB, free: 5.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003477/0.6826, allocations: 1.226 MB / 0.6484 GB, free: 4.094 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00574/0.6883, allocations: 1.704 MB / 0.6501 GB, free: 2.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0108/0.6992, allocations: 8.351 MB / 0.6583 GB, free: 9.777 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005849/0.7051, allocations: 403.3 kB / 0.6586 GB, free: 9.383 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001304/0.7064, allocations: 454.5 kB / 0.6591 GB, free: 8.941 MB / 462.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.005329/0.7117, allocations: 2.623 MB / 0.6616 GB, free: 6.305 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001197/0.713, allocations: 481.7 kB / 0.6621 GB, free: 5.828 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008393/0.7214, allocations: 3.977 MB / 0.666 GB, free: 1.832 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-05/0.7214, allocations: 24 kB / 0.666 GB, free: 1.809 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.906e-05/0.7215, allocations: 4 kB / 0.666 GB, free: 1.805 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.15e-05/0.7215, allocations: 7.969 kB / 0.666 GB, free: 1.797 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02085/0.7424, allocations: 9.303 MB / 0.6751 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.331e-05/0.7424, allocations: 4 kB / 0.6751 GB, free: 8.426 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001903/0.7443, allocations: 359.7 kB / 0.6755 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002935/0.7473, allocations: 0.9925 MB / 0.6764 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003467/0.7477, allocations: 36 kB / 0.6765 GB, free: 7.039 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00954/0.7572, allocations: 7.686 MB / 0.684 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/0.7573, allocations: 7.938 kB / 0.684 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0116/0.7689, allocations: 6.737 MB / 0.6905 GB, free: 8.258 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003067/0.772, allocations: 0.8266 MB / 0.6914 GB, free: 7.406 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002144/0.7742, allocations: 36 kB / 0.6914 GB, free: 7.371 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/0.7775, allocations: 115.8 kB / 0.6915 GB, free: 7.258 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005618/0.7781, allocations: 117 kB / 0.6916 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003104/0.7784, allocations: 60.73 kB / 0.6917 GB, free: 7.086 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007899/0.7863, allocations: 3.729 MB / 0.6953 GB, free: 3.379 MB / 494.1 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7864, allocations: 0 / 0.6953 GB, free: 3.379 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.007484/0.7939, allocations: 1.264 MB / 0.6965 GB, free: 2.117 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.0007213/0.7946, allocations: 173.7 kB / 0.6967 GB, free: 1.941 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0136/0.8082, allocations: 7.34 MB / 0.7039 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.8083, allocations: 0 / 0.7039 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003331/0.8116, allocations: 1.886 MB / 0.7057 GB, free: 8.719 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/0.8173, allocations: 0.6146 MB / 0.7063 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02691/0.8443, allocations: 12.41 MB / 0.7184 GB, free: 11.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007767/0.8521, allocations: 3.993 MB / 0.7223 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00162/0.8538, allocations: 367.4 kB / 0.7227 GB, free: 7.262 MB / 0.5137 GB Notification: Performance of SimCode: time 1.393e-06/0.8538, allocations: 4 kB / 0.7227 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of Templates: time 0.3475/1.201, allocations: 121.2 MB / 0.8411 GB, free: 81.75 MB / 0.5137 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches