Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.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.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass") [: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.001082/0.001082, allocations: 192.1 kB / 8.534 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.236/1.236, allocations: 225.5 MB / 234.4 MB, free: 3.445 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009004/0.0009004, allocations: 94.38 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1754/0.1754, allocations: 45.14 MB / 383.3 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 5.861e-06/5.891e-06, allocations: 4 kB / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09645/0.09647, allocations: 63.24 MB / 0.5038 GB, free: 13.03 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3131/0.4096, allocations: 113.7 MB / 0.6148 GB, free: 5.539 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000182/0.4098, allocations: 71.91 kB / 0.6149 GB, free: 5.504 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2909/0.7007, allocations: 111.2 MB / 0.7235 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003915/0.7011, allocations: 112 kB / 0.7236 GB, free: 14.3 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: 1941 * Number of variables: 1941 Notification: Performance of Generate backend data structure: time 0.01842/0.7196, allocations: 5.826 MB / 0.7293 GB, free: 8.398 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.7196, allocations: 8.031 kB / 0.7293 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02684/0.7465, allocations: 6.532 MB / 0.7356 GB, free: 1.84 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01639/0.7629, allocations: 6.163 MB / 0.7417 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002909/0.7632, allocations: 176 kB / 0.7418 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00223/0.7654, allocations: 323.9 kB / 0.7421 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01569/0.7812, allocations: 8.362 MB / 0.7503 GB, free: 2.738 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.162/0.9432, allocations: 12.29 MB / 0.7623 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001683/0.9434, allocations: 77.08 kB / 0.7624 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000642/0.944, allocations: 34.19 kB / 0.7624 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001525/0.9455, allocations: 1.453 MB / 0.7638 GB, free: 177.1 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0558/1.001, allocations: 61.9 MB / 0.8243 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004504/1.006, allocations: 4.234 MB / 0.8284 GB, free: 140.2 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003355/1.009, allocations: 3.332 MB / 0.8317 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01611/1.025, allocations: 13.15 MB / 0.8445 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/1.025, allocations: 57.16 kB / 0.8446 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=227): time 4.479e-06/1.025, allocations: 0 / 0.8446 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=265): time 0.05348/1.079, allocations: 23.29 MB / 0.8673 GB, free: 122.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.318e-05/1.079, allocations: 261.6 kB / 0.8676 GB, free: 122.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005865/1.085, allocations: 3.904 MB / 0.8714 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004502/1.085, allocations: 29.7 kB / 0.8714 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001414/1.087, allocations: 3.641 MB / 0.875 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008707/1.088, allocations: 0.9679 MB / 0.8759 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002969/1.088, allocations: 2.906 kB / 0.8759 GB, free: 116.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0002834/1.088, allocations: 0.6265 MB / 0.8765 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002871/1.091, allocations: 2.517 MB / 0.879 GB, free: 113.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.095, allocations: 6.993 MB / 0.8858 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004544/1.1, allocations: 4.172 MB / 0.8899 GB, free: 101.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.385e-05/1.1, allocations: 48 kB / 0.8899 GB, free: 101.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=997) (initialization): time 0.01326/1.113, allocations: 8.917 MB / 0.8986 GB, free: 93.97 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/1.113, allocations: 4 kB / 0.8986 GB, free: 93.96 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003256/1.114, allocations: 160 kB / 0.8988 GB, free: 93.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/1.115, allocations: 0.5898 MB / 0.8994 GB, free: 93.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0061/1.121, allocations: 1.764 MB / 0.9011 GB, free: 91.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005181/1.127, allocations: 5.331 MB / 0.9063 GB, free: 86.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005696/1.132, allocations: 228.2 kB / 0.9065 GB, free: 86.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001336/1.134, allocations: 455.2 kB / 0.9069 GB, free: 86.04 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 726 * Number of states: 0 () * Number of discrete variables: 57 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.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 (947): * Single equations (assignments): 942 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001803/1.135, allocations: 0.5057 MB / 0.9074 GB, free: 85.53 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.137, allocations: 442.3 kB / 0.9079 GB, free: 85.09 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00654/1.143, allocations: 3.893 MB / 0.9117 GB, free: 81.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.555e-05/1.143, allocations: 24 kB / 0.9117 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.907e-05/1.143, allocations: 4 kB / 0.9117 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.706e-05/1.143, allocations: 10.55 kB / 0.9117 GB, free: 81.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01762/1.161, allocations: 9.141 MB / 0.9206 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/1.161, allocations: 0 / 0.9206 GB, free: 74.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002478/1.163, allocations: 438.5 kB / 0.921 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00109/1.164, allocations: 347.2 kB / 0.9214 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003041/1.165, allocations: 11.66 kB / 0.9214 GB, free: 73.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00441/1.169, allocations: 4.622 MB / 0.9259 GB, free: 69.18 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/1.169, allocations: 8.062 kB / 0.9259 GB, free: 69.17 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009513/1.179, allocations: 7.134 MB / 0.9329 GB, free: 62.71 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001237/1.18, allocations: 454.8 kB / 0.9333 GB, free: 62.26 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001215/1.181, allocations: 4 kB / 0.9333 GB, free: 62.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/1.184, allocations: 94.75 kB / 0.9334 GB, free: 62.19 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003268/1.184, allocations: 119.3 kB / 0.9335 GB, free: 62.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002244/1.184, allocations: 71.56 kB / 0.9336 GB, free: 62.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.004704/1.189, allocations: 2.627 MB / 0.9362 GB, free: 59.78 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.006487/1.196, allocations: 1.111 MB / 0.9372 GB, free: 58.68 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * 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 {(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.0005766/1.196, allocations: 163.8 kB / 0.9374 GB, free: 58.52 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008447/1.205, allocations: 6.209 MB / 0.9435 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.205, allocations: 0 / 0.9435 GB, free: 52.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002561/1.207, allocations: 2.147 MB / 0.9456 GB, free: 50.86 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003232/1.211, allocations: 450.4 kB / 0.946 GB, free: 50.48 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02042/1.231, allocations: 10.19 MB / 0.9559 GB, free: 41.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007334/1.238, allocations: 4.58 MB / 0.9604 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of SimCode: time 9.02e-07/1.238, allocations: 0 / 0.9604 GB, free: 37.19 MB / 0.5261 GB Notification: Performance of Templates: time 0.2392/1.478, allocations: 47.96 MB / 1.007 GB, free: 153.3 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/LineForceWithMass/LineForceWithMass.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.LineForceWithMass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches