Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2") [: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 trunk/package.mo): time 0.00117/0.00117, allocations: 190.8 kB / 8.533 MB, free: 1.844 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 225.5 MB / 234.4 MB, free: 3.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009524/0.0009523, allocations: 91.48 kB / 286.3 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2058/0.2058, allocations: 45.14 MB / 383.3 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.265e-06/8.286e-06, allocations: 0 / 452.6 MB, free: 76.23 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1193, allocations: 63.24 MB / 0.5038 GB, free: 13.06 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3636/0.4829, allocations: 110.5 MB / 0.6117 GB, free: 8.77 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002445/0.4832, allocations: 72.64 kB / 0.6117 GB, free: 8.734 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.3093/0.7925, allocations: 118.1 MB / 0.7271 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0005871/0.7931, allocations: 120 kB / 0.7272 GB, free: 10.61 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1982 * Number of variables: 1982 Notification: Performance of Generate backend data structure: time 0.02225/0.8154, allocations: 5.893 MB / 0.733 GB, free: 4.645 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.8155, allocations: 12.03 kB / 0.733 GB, free: 4.633 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02823/0.8437, allocations: 6.602 MB / 0.7394 GB, free: 14.01 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01837/0.8621, allocations: 6.737 MB / 0.746 GB, free: 7.191 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003758/0.8625, allocations: 184 kB / 0.7462 GB, free: 7.012 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002825/0.8654, allocations: 347.7 kB / 0.7465 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2087/1.074, allocations: 8.253 MB / 0.7546 GB, free: 178.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02309/1.097, allocations: 12.41 MB / 0.7667 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002874/1.098, allocations: 85.75 kB / 0.7668 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00105/1.099, allocations: 37.69 kB / 0.7668 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001546/1.1, allocations: 1.367 MB / 0.7682 GB, free: 175.5 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06791/1.168, allocations: 60 MB / 0.8268 GB, free: 141.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007575/1.176, allocations: 5.017 MB / 0.8316 GB, free: 138.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004199/1.18, allocations: 3.49 MB / 0.8351 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01722/1.197, allocations: 9.639 MB / 0.8445 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.049e-05/1.197, allocations: 64.34 kB / 0.8445 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=239): time 7.304e-06/1.197, allocations: 2.156 kB / 0.8445 GB, free: 132.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=306): time 0.0693/1.267, allocations: 28.2 MB / 0.8721 GB, free: 120 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001369/1.267, allocations: 268.6 kB / 0.8723 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01073/1.278, allocations: 3.909 MB / 0.8762 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008896/1.279, allocations: 28.95 kB / 0.8762 GB, free: 116.3 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002591/1.281, allocations: 3.626 MB / 0.8797 GB, free: 113.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.00184/1.283, allocations: 1.105 MB / 0.8808 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/1.284, allocations: 0 / 0.8808 GB, free: 112.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0008696/1.285, allocations: 0.626 MB / 0.8814 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005138/1.29, allocations: 3.172 MB / 0.8845 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006926/1.297, allocations: 7.43 MB / 0.8918 GB, free: 99.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007642/1.305, allocations: 4.845 MB / 0.8965 GB, free: 95.76 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001738/1.305, allocations: 44 kB / 0.8965 GB, free: 95.72 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.02322/1.328, allocations: 11.4 MB / 0.9077 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/1.329, allocations: 4 kB / 0.9077 GB, free: 85.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000393/1.329, allocations: 152 kB / 0.9078 GB, free: 85.73 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005327/1.334, allocations: 2.092 MB / 0.9099 GB, free: 84.09 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006406/1.341, allocations: 1.726 MB / 0.9115 GB, free: 82.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01756/1.358, allocations: 13.2 MB / 0.9244 GB, free: 70.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007159/1.365, allocations: 247.8 kB / 0.9247 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00177/1.367, allocations: 454 kB / 0.9251 GB, free: 70.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 687 * Number of states: 0 () * Number of discrete variables: 44 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 20,(7,46.9%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002279/1.37, allocations: 497.7 kB / 0.9256 GB, free: 69.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.371, allocations: 446.3 kB / 0.926 GB, free: 69.27 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01138/1.382, allocations: 6.674 MB / 0.9325 GB, free: 63.77 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.382, allocations: 28 kB / 0.9325 GB, free: 63.74 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.65e-05/1.382, allocations: 12 kB / 0.9326 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.59e-05/1.382, allocations: 13.69 kB / 0.9326 GB, free: 63.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03343/1.416, allocations: 14.16 MB / 0.9464 GB, free: 51.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.851e-05/1.416, allocations: 8 kB / 0.9464 GB, free: 51.58 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002691/1.419, allocations: 459.3 kB / 0.9468 GB, free: 51.13 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004761/1.423, allocations: 1.766 MB / 0.9486 GB, free: 49.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005987/1.424, allocations: 19.98 kB / 0.9486 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01676/1.441, allocations: 11.44 MB / 0.9598 GB, free: 37.68 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.254e-05/1.441, allocations: 4 kB / 0.9598 GB, free: 37.67 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02477/1.466, allocations: 11.64 MB / 0.9711 GB, free: 25.64 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001962/1.468, allocations: 479.1 kB / 0.9716 GB, free: 25.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00209/1.47, allocations: 19.61 kB / 0.9716 GB, free: 25.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004578/1.474, allocations: 111.8 kB / 0.9717 GB, free: 25.02 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007804/1.475, allocations: 161.6 kB / 0.9719 GB, free: 24.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005646/1.476, allocations: 79.28 kB / 0.972 GB, free: 24.79 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.007597/1.483, allocations: 2.673 MB / 0.9746 GB, free: 22.12 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01206/1.496, allocations: 1.242 MB / 0.9758 GB, free: 20.88 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (244): * Single equations (assignments): 239 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(6,55.6%) 18,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.497, allocations: 172.6 kB / 0.9759 GB, free: 20.71 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.02145/1.518, allocations: 8.233 MB / 0.984 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.439e-05/1.518, allocations: 0 / 0.984 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.01022/1.529, allocations: 3.441 MB / 0.9873 GB, free: 9.027 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/1.534, allocations: 0.4957 MB / 0.9878 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2035/1.737, allocations: 11.96 MB / 0.9995 GB, free: 159.2 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006839/1.744, allocations: 4.772 MB / 1.004 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of SimCode: time 1.102e-06/1.744, allocations: 0 / 1.004 GB, free: 158.4 MB / 0.5261 GB Notification: Performance of Templates: time 0.1006/1.845, allocations: 59.2 MB / 1.062 GB, free: 154.6 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/FreeMotion2/FreeMotion2.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.FreeMotion2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches