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.001671/0.001672, allocations: 102.6 kB / 16.27 MB, free: 6.301 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.001817/0.001816, allocations: 191 kB / 17.19 MB, free: 5.93 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.471/1.471, allocations: 205.1 MB / 223.1 MB, free: 12.28 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.2168/0.2168, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.00256/0.00256, allocations: 71.2 kB / 382.7 MB, free: 56.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1408, allocations: 57.79 MB / 440.5 MB, free: 6.934 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.FrameForces): time 0.01409/0.1549, allocations: 13.72 MB / 454.2 MB, free: 9.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.1654, allocations: 4.603 MB / 458.8 MB, free: 4.527 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002853/0.1683, allocations: 87.75 kB / 458.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00742/0.1757, allocations: 3.761 MB / 462.7 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007216/0.183, allocations: 2.358 MB / 465 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002767/0.1858, allocations: 1.006 MB / 466.1 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01189/0.1977, allocations: 5.921 MB / 472 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008048/0.2058, allocations: 4.698 MB / 476.7 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005185/0.2111, allocations: 2.075 MB / 478.7 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006416/0.2175, allocations: 2.827 MB / 481.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002834/0.2204, allocations: 444 kB / 482 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00481/0.2253, allocations: 1.463 MB / 483.5 MB, free: 11.78 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004576/0.2299, allocations: 2.614 MB / 486.1 MB, free: 9.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007433/0.2374, allocations: 2.94 MB / 489 MB, free: 6.203 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01479/0.2522, allocations: 9.077 MB / 498.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.402e-05/0.2523, allocations: 0 / 498.1 MB, free: 13.1 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.464e-06/0.2523, allocations: 3.938 kB / 498.1 MB, free: 13.09 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004146/0.2527, allocations: 4 kB / 498.1 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.02097/0.2737, allocations: 6.381 MB / 0.4927 GB, free: 6.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.197e-05/0.2738, allocations: 11.89 kB / 0.4927 GB, free: 6.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/0.2872, allocations: 2.633 MB / 0.4953 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/0.2978, allocations: 3.957 MB / 0.4991 GB, free: 15.96 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003568/0.2982, allocations: 300 kB / 0.4994 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002178/0.3004, allocations: 407.6 kB / 0.4998 GB, free: 15.27 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03009/0.3305, allocations: 12.62 MB / 0.5121 GB, free: 1.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003096/0.3309, allocations: 59.52 kB / 0.5122 GB, free: 1.738 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001791/0.3327, allocations: 191.8 kB / 0.5123 GB, free: 1.551 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004442/0.3372, allocations: 2.401 MB / 0.5147 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02347/0.3607, allocations: 10.55 MB / 0.525 GB, free: 4.582 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3442/0.7049, allocations: 48.81 MB / 0.5727 GB, free: 48.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01114/0.7161, allocations: 4.789 MB / 0.5773 GB, free: 46.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003012/0.7192, allocations: 2.444 MB / 0.5797 GB, free: 44.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0124/0.7316, allocations: 7.166 MB / 0.5867 GB, free: 39.21 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.817e-05/0.7317, allocations: 55.88 kB / 0.5868 GB, free: 39.14 MB / 414.1 MB Notification: Performance of pre-optimization done (n=181): time 5.059e-06/0.7317, allocations: 0 / 0.5868 GB, free: 39.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=193): time 0.0485/0.7802, allocations: 17.98 MB / 0.6043 GB, free: 21.05 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.7804, allocations: 205.2 kB / 0.6045 GB, free: 20.81 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008434/0.7888, allocations: 5.839 MB / 0.6102 GB, free: 14.98 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005952/0.7894, allocations: 49.7 kB / 0.6103 GB, free: 14.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002165/0.7916, allocations: 3.95 MB / 0.6141 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008297/0.7925, allocations: 0.7665 MB / 0.6149 GB, free: 10.23 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00163/0.7941, allocations: 1.509 MB / 0.6164 GB, free: 8.711 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.7942, allocations: 305.1 kB / 0.6166 GB, free: 8.41 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002939/0.7971, allocations: 2.599 MB / 0.6192 GB, free: 5.809 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006109/0.8032, allocations: 7.048 MB / 0.6261 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/0.8171, allocations: 10.33 MB / 0.6362 GB, free: 44 kB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001744/0.8173, allocations: 48.05 kB / 0.6362 GB, free: 15.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.02242/0.8397, allocations: 10.41 MB / 0.6464 GB, free: 5.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001303/0.8399, allocations: 76.25 kB / 0.6464 GB, free: 5.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002173/0.8402, allocations: 159.9 kB / 0.6466 GB, free: 5.344 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003636/0.8438, allocations: 1.218 MB / 0.6478 GB, free: 4.121 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007034/0.8509, allocations: 1.712 MB / 0.6495 GB, free: 2.406 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0113/0.8622, allocations: 8.355 MB / 0.6576 GB, free: 9.797 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00742/0.8696, allocations: 403.3 kB / 0.658 GB, free: 9.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00159/0.8713, allocations: 454.1 kB / 0.6584 GB, free: 8.961 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.006018/0.8773, allocations: 2.619 MB / 0.661 GB, free: 6.328 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001374/0.8787, allocations: 481.7 kB / 0.6614 GB, free: 5.852 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/0.8863, allocations: 3.977 MB / 0.6653 GB, free: 1.855 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.36e-05/0.8864, allocations: 22.19 kB / 0.6654 GB, free: 1.836 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.027e-05/0.8864, allocations: 11.98 kB / 0.6654 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.586e-05/0.8865, allocations: 7.969 kB / 0.6654 GB, free: 1.816 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02174/0.9082, allocations: 9.302 MB / 0.6745 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.609e-05/0.9083, allocations: 7.984 kB / 0.6745 GB, free: 8.422 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001957/0.9103, allocations: 355.7 kB / 0.6748 GB, free: 8.074 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/0.9132, allocations: 0.9935 MB / 0.6758 GB, free: 7.074 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/0.9136, allocations: 32 kB / 0.6758 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009898/0.9235, allocations: 7.687 MB / 0.6833 GB, free: 15.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.817e-06/0.9236, allocations: 7.938 kB / 0.6833 GB, free: 15.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01167/0.9353, allocations: 6.737 MB / 0.6899 GB, free: 8.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00321/0.9385, allocations: 0.8266 MB / 0.6907 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001121/0.9397, allocations: 28 kB / 0.6907 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001956/0.9416, allocations: 119.8 kB / 0.6908 GB, free: 7.266 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003586/0.942, allocations: 120.9 kB / 0.691 GB, free: 7.148 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000144/0.9422, allocations: 56.83 kB / 0.691 GB, free: 7.094 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007708/0.9499, allocations: 3.729 MB / 0.6947 GB, free: 3.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9499, allocations: 0 / 0.6947 GB, free: 3.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.008612/0.9585, allocations: 1.268 MB / 0.6959 GB, free: 2.121 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.0006042/0.9592, allocations: 169.7 kB / 0.6961 GB, free: 1.949 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01349/0.9727, allocations: 7.332 MB / 0.7032 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/0.9728, allocations: 112 / 0.7032 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002996/0.9758, allocations: 1.89 MB / 0.7051 GB, free: 8.73 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004064/0.9799, allocations: 0.6261 MB / 0.7057 GB, free: 8.117 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02604/1.006, allocations: 11.9 MB / 0.7173 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004923/1.011, allocations: 4.021 MB / 0.7212 GB, free: 8.109 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.006141/1.017, allocations: 2.283 MB / 0.7235 GB, free: 5.816 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009271/1.018, allocations: 315.4 kB / 0.7238 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of SimCode: time 1.312e-06/1.018, allocations: 0 / 0.7238 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of Templates: time 0.3876/1.406, allocations: 49.16 MB / 0.7718 GB, free: 153.4 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces/FrameForces.csv","/var/lib/jenkins/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