Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2") translateModel(ModelicaTest.MultiBody.Forces.FrameForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009006/0.0009006, allocations: 192.1 kB / 7.805 MB, free: 2.438 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.005/1.005, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007985/0.0007985, allocations: 98.52 kB / 261.4 MB, free: 13.54 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1463/0.1463, allocations: 43.49 MB / 352.8 MB, free: 1.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.031e-06/6.051e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.195/0.195, allocations: 58.84 MB / 476.6 MB, free: 5.316 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1092/0.3042, allocations: 104.8 MB / 0.5677 GB, free: 10.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001733/0.3044, allocations: 75.95 kB / 0.5678 GB, free: 10.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.4787/0.7831, allocations: 158.2 MB / 0.7223 GB, free: 83.81 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0002743/0.7834, allocations: 179.3 kB / 0.7224 GB, free: 83.64 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2809 * Number of variables: 2809 Notification: Performance of Generate backend data structure: time 0.01673/0.8002, allocations: 7.916 MB / 0.7302 GB, free: 75.66 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.8002, allocations: 8.031 kB / 0.7302 GB, free: 75.65 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03983/0.8401, allocations: 11.6 MB / 0.7415 GB, free: 64.02 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/0.8627, allocations: 10.93 MB / 0.7522 GB, free: 53.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003171/0.8631, allocations: 268 kB / 0.7524 GB, free: 52.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003034/0.8661, allocations: 495.7 kB / 0.7529 GB, free: 52.36 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0176/0.8838, allocations: 11.41 MB / 0.7641 GB, free: 40.95 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02487/0.9087, allocations: 16.95 MB / 0.7806 GB, free: 22.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003322/0.909, allocations: 103 kB / 0.7807 GB, free: 22.4 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001833/0.9109, allocations: 51.98 kB / 0.7808 GB, free: 22.35 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001876/0.9127, allocations: 1.856 MB / 0.7826 GB, free: 20.49 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.21/1.123, allocations: 78.64 MB / 0.8594 GB, free: 110.6 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006053/1.129, allocations: 6.422 MB / 0.8656 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003918/1.133, allocations: 4.534 MB / 0.8701 GB, free: 109.9 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01546/1.148, allocations: 13.91 MB / 0.8836 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/1.148, allocations: 70.95 kB / 0.8837 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=296): time 4.709e-06/1.148, allocations: 3.125 kB / 0.8837 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=322): time 0.04631/1.195, allocations: 29.74 MB / 0.9128 GB, free: 96.47 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.208e-05/1.195, allocations: 293.5 kB / 0.913 GB, free: 96.16 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006999/1.202, allocations: 5.484 MB / 0.9184 GB, free: 94.15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000382/1.202, allocations: 26.42 kB / 0.9184 GB, free: 94.12 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001935/1.204, allocations: 5.1 MB / 0.9234 GB, free: 90.26 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009867/1.205, allocations: 1.183 MB / 0.9246 GB, free: 89.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003401/1.205, allocations: 2.062 kB / 0.9246 GB, free: 89.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003353/1.206, allocations: 0.7144 MB / 0.9253 GB, free: 88.9 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/1.209, allocations: 3.341 MB / 0.9285 GB, free: 87.74 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005426/1.215, allocations: 9.008 MB / 0.9373 GB, free: 78.94 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006814/1.221, allocations: 5.458 MB / 0.9426 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/1.222, allocations: 61.03 kB / 0.9427 GB, free: 77.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1260) (initialization): time 0.01611/1.238, allocations: 11.88 MB / 0.9543 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/1.238, allocations: 4 kB / 0.9543 GB, free: 69.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000119/1.238, allocations: 202.6 kB / 0.9545 GB, free: 69.67 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001966/1.24, allocations: 1.007 MB / 0.9555 GB, free: 68.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00603/1.246, allocations: 2.199 MB / 0.9576 GB, free: 66.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008383/1.254, allocations: 10.39 MB / 0.9678 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006865/1.261, allocations: 302.9 kB / 0.9681 GB, free: 56.74 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007898/1.262, allocations: 0.5709 MB / 0.9686 GB, free: 56.19 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 921 * Number of states: 0 () * Number of discrete variables: 66 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1184): * Single equations (assignments): 1177 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001039/1.263, allocations: 0.6187 MB / 0.9692 GB, free: 55.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008114/1.264, allocations: 0.5823 MB / 0.9698 GB, free: 54.98 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007422/1.271, allocations: 5.573 MB / 0.9752 GB, free: 50.34 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.859e-05/1.271, allocations: 35.94 kB / 0.9753 GB, free: 50.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/1.271, allocations: 8 kB / 0.9753 GB, free: 50.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.342e-05/1.271, allocations: 14.58 kB / 0.9753 GB, free: 50.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0186/1.29, allocations: 12.85 MB / 0.9878 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/1.29, allocations: 0 / 0.9878 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002464/1.293, allocations: 0.4894 MB / 0.9883 GB, free: 39.44 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001666/1.294, allocations: 0.6667 MB / 0.989 GB, free: 38.91 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002027/1.294, allocations: 15 kB / 0.989 GB, free: 38.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007183/1.302, allocations: 9.242 MB / 0.998 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/1.302, allocations: 4.062 kB / 0.998 GB, free: 29.93 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009954/1.312, allocations: 9.643 MB / 1.007 GB, free: 21.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.314, allocations: 1.048 MB / 1.008 GB, free: 20.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007745/1.315, allocations: 4 kB / 1.008 GB, free: 20.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002307/1.317, allocations: 113.5 kB / 1.009 GB, free: 20.23 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000327/1.317, allocations: 144 kB / 1.009 GB, free: 20.15 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.317, allocations: 83.47 kB / 1.009 GB, free: 20.07 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.004488/1.322, allocations: 3.756 MB / 1.012 GB, free: 16.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006647/1.329, allocations: 1.552 MB / 1.014 GB, free: 15.26 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 262 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004377/1.329, allocations: 162.5 kB / 1.014 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0103/1.339, allocations: 8.309 MB / 1.022 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.339, allocations: 0 / 1.022 GB, free: 7.535 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.002809/1.342, allocations: 2.979 MB / 1.025 GB, free: 4.777 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003097/1.345, allocations: 0.7027 MB / 1.026 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1608/1.506, allocations: 14.49 MB / 1.04 GB, free: 134.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007764/1.514, allocations: 6.356 MB / 1.046 GB, free: 134 MB / 0.4948 GB Notification: Performance of SimCode: time 9.32e-07/1.514, allocations: 0 / 1.046 GB, free: 134 MB / 0.4948 GB Notification: Performance of Templates: time 0.1097/1.624, allocations: 65.9 MB / 1.111 GB, free: 124.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameForces2/FrameForces2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameForces2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches