Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.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.FrameTorques2,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.FrameTorques2") translateModel(ModelicaTest.MultiBody.Forces.FrameTorques2,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.FrameTorques2") [: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.001367/0.001367, allocations: 180.2 kB / 7.804 MB, free: 1.207 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.016/1.016, allocations: 205.2 MB / 213.4 MB, free: 8.594 MB / 178.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008252/0.000825, allocations: 92.28 kB / 261.4 MB, free: 5.09 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1528/0.1528, allocations: 43.49 MB / 352.9 MB, free: 11.36 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 5.671e-06/5.691e-06, allocations: 0 / 417.7 MB, free: 68.21 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07952/0.07954, allocations: 58.85 MB / 476.6 MB, free: 9.309 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2452/0.3248, allocations: 105 MB / 0.5679 GB, free: 7.57 MB / 386.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001913/0.325, allocations: 75.83 kB / 0.568 GB, free: 7.535 MB / 386.8 MB Notification: Performance of FrontEnd: time 0.5098/0.8348, allocations: 165.5 MB / 0.7296 GB, free: 91.68 MB / 498.8 MB Notification: Performance of Transformations before backend: time 0.0003389/0.8352, allocations: 175.7 kB / 0.7298 GB, free: 91.68 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2951 * Number of variables: 2951 Notification: Performance of Generate backend data structure: time 0.01993/0.8552, allocations: 8.177 MB / 0.7378 GB, free: 88.5 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.531e-05/0.8552, allocations: 7.125 kB / 0.7378 GB, free: 88.5 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04022/0.8954, allocations: 11.66 MB / 0.7492 GB, free: 87.9 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0227/0.9182, allocations: 11.07 MB / 0.76 GB, free: 86.74 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002912/0.9185, allocations: 276.5 kB / 0.7602 GB, free: 86.74 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002586/0.9211, allocations: 0.5086 MB / 0.7607 GB, free: 86.73 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01727/0.9384, allocations: 11.87 MB / 0.7723 GB, free: 85.2 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0295/0.9679, allocations: 17.61 MB / 0.7895 GB, free: 76 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004125/0.9684, allocations: 110.8 kB / 0.7896 GB, free: 75.94 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002137/0.9705, allocations: 51.69 kB / 0.7897 GB, free: 75.9 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/0.9726, allocations: 1.956 MB / 0.7916 GB, free: 74.31 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07239/1.045, allocations: 81.02 MB / 0.8707 GB, free: 12.66 MB / 0.5027 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00706/1.052, allocations: 6.378 MB / 0.8769 GB, free: 6.121 MB / 0.5027 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004739/1.057, allocations: 4.548 MB / 0.8814 GB, free: 1.559 MB / 0.5027 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1469/1.204, allocations: 13.99 MB / 0.895 GB, free: 149.4 MB / 0.5027 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.25e-05/1.204, allocations: 67.28 kB / 0.8951 GB, free: 149.3 MB / 0.5027 GB Notification: Performance of pre-optimization done (n=300): time 5.009e-06/1.204, allocations: 0 / 0.8951 GB, free: 149.3 MB / 0.5027 GB Notification: Performance of matching and sorting (n=327): time 0.05077/1.255, allocations: 30.9 MB / 0.9253 GB, free: 143.7 MB / 0.5027 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/1.255, allocations: 295.1 kB / 0.9256 GB, free: 143.4 MB / 0.5027 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006729/1.261, allocations: 5.647 MB / 0.9311 GB, free: 142.9 MB / 0.5027 GB Notification: Performance of collectPreVariables (initialization): time 0.0005581/1.262, allocations: 29.08 kB / 0.9311 GB, free: 142.8 MB / 0.5027 GB Notification: Performance of collectInitialEqns (initialization): time 0.002134/1.264, allocations: 5.344 MB / 0.9363 GB, free: 139.7 MB / 0.5027 GB Notification: Performance of collectInitialBindings (initialization): time 0.001187/1.265, allocations: 1.209 MB / 0.9375 GB, free: 139 MB / 0.5027 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003575/1.266, allocations: 4.312 kB / 0.9375 GB, free: 139 MB / 0.5027 GB Notification: Performance of setup shared object (initialization): time 0.0003906/1.266, allocations: 0.7283 MB / 0.9382 GB, free: 138.6 MB / 0.5027 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003732/1.27, allocations: 3.439 MB / 0.9416 GB, free: 137.4 MB / 0.5027 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005768/1.276, allocations: 9.366 MB / 0.9507 GB, free: 128.2 MB / 0.5027 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00682/1.283, allocations: 5.628 MB / 0.9562 GB, free: 126.6 MB / 0.5027 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.283, allocations: 60 kB / 0.9563 GB, free: 126.6 MB / 0.5027 GB Notification: Performance of matching and sorting (n=1307) (initialization): time 0.019/1.302, allocations: 12.28 MB / 0.9683 GB, free: 123.2 MB / 0.5027 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.302, allocations: 3.875 kB / 0.9683 GB, free: 123.2 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003679/1.302, allocations: 212.3 kB / 0.9685 GB, free: 123.2 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002357/1.304, allocations: 1.064 MB / 0.9695 GB, free: 123 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00838/1.313, allocations: 2.303 MB / 0.9718 GB, free: 122.7 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01056/1.323, allocations: 10.65 MB / 0.9822 GB, free: 115.1 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007938/1.331, allocations: 315.9 kB / 0.9825 GB, free: 114.9 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/1.333, allocations: 0.5938 MB / 0.983 GB, free: 114.3 MB / 0.5027 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * Number of states: 0 () * Number of discrete variables: 66 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1227): * Single equations (assignments): 1220 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002504/1.336, allocations: 0.6323 MB / 0.9837 GB, free: 113.6 MB / 0.5027 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001306/1.337, allocations: 0.6009 MB / 0.9843 GB, free: 113 MB / 0.5027 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008768/1.346, allocations: 5.711 MB / 0.9898 GB, free: 108.3 MB / 0.5027 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.014e-05/1.346, allocations: 32 kB / 0.9899 GB, free: 108.3 MB / 0.5027 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.723e-05/1.346, allocations: 8 kB / 0.9899 GB, free: 108.3 MB / 0.5027 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.997e-05/1.346, allocations: 19.14 kB / 0.9899 GB, free: 108.3 MB / 0.5027 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02156/1.368, allocations: 13.2 MB / 1.003 GB, free: 97.57 MB / 0.5027 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/1.368, allocations: 7.906 kB / 1.003 GB, free: 97.56 MB / 0.5027 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/1.37, allocations: 0.5137 MB / 1.003 GB, free: 97.14 MB / 0.5027 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/1.372, allocations: 0.6941 MB / 1.004 GB, free: 96.6 MB / 0.5027 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002186/1.372, allocations: 15.91 kB / 1.004 GB, free: 96.59 MB / 0.5027 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007428/1.38, allocations: 9.516 MB / 1.013 GB, free: 87.43 MB / 0.5027 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/1.38, allocations: 4 kB / 1.013 GB, free: 87.43 MB / 0.5027 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01015/1.39, allocations: 9.851 MB / 1.023 GB, free: 78.63 MB / 0.5027 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002195/1.392, allocations: 1.069 MB / 1.024 GB, free: 77.62 MB / 0.5027 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007835/1.393, allocations: 0 / 1.024 GB, free: 77.62 MB / 0.5027 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002298/1.395, allocations: 111.5 kB / 1.024 GB, free: 77.55 MB / 0.5027 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/1.396, allocations: 154.1 kB / 1.024 GB, free: 77.47 MB / 0.5027 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002136/1.396, allocations: 80 kB / 1.024 GB, free: 77.39 MB / 0.5027 GB Notification: Performance of sort global known variables: time 0.004444/1.4, allocations: 3.867 MB / 1.028 GB, free: 74.03 MB / 0.5027 GB Notification: Performance of remove unused functions: time 0.006773/1.407, allocations: 1.599 MB / 1.03 GB, free: 72.44 MB / 0.5027 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 (270): * Single equations (assignments): 263 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004066/1.407, allocations: 157.2 kB / 1.03 GB, free: 72.29 MB / 0.5027 GB Notification: Performance of simCode: created initialization part: time 0.008817/1.416, allocations: 8.578 MB / 1.038 GB, free: 64.51 MB / 0.5027 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.416, allocations: 0 / 1.038 GB, free: 64.51 MB / 0.5027 GB Notification: Performance of simCode: created simulation system equations: time 0.002907/1.419, allocations: 3.062 MB / 1.041 GB, free: 61.69 MB / 0.5027 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003019/1.422, allocations: 0.7049 MB / 1.042 GB, free: 61.1 MB / 0.5027 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02476/1.447, allocations: 14.99 MB / 1.056 GB, free: 47.71 MB / 0.5027 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008244/1.455, allocations: 6.597 MB / 1.063 GB, free: 42.79 MB / 0.5027 GB Notification: Performance of SimCode: time 1.082e-06/1.455, allocations: 0 / 1.063 GB, free: 42.79 MB / 0.5027 GB Notification: Performance of Templates: time 0.2498/1.705, allocations: 67.53 MB / 1.129 GB, free: 129.1 MB / 0.5027 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Forces/FrameTorques2/FrameTorques2.csv","../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Forces.FrameTorques2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches