Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") [: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.001633/0.001633, allocations: 195.3 kB / 8.541 MB, free: 1.773 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.248/1.248, allocations: 225.5 MB / 234.4 MB, free: 3.441 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008795/0.0008795, allocations: 93.27 kB / 286.3 MB, free: 5.219 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2178/0.2178, allocations: 45.15 MB / 383.3 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.973e-06/7.003e-06, allocations: 0 / 452.6 MB, free: 76.2 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 63.24 MB / 0.5038 GB, free: 13.04 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4126/0.5221, allocations: 103.5 MB / 0.6048 GB, free: 15.67 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5224, allocations: 73.64 kB / 0.6049 GB, free: 15.63 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2131/0.7354, allocations: 83.18 MB / 0.6861 GB, free: 4.668 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001268/0.7356, allocations: 75.94 kB / 0.6862 GB, free: 4.594 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: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01042/0.7461, allocations: 3.393 MB / 0.6895 GB, free: 1.141 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.7461, allocations: 8.031 kB / 0.6895 GB, free: 1.133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01422/0.7604, allocations: 2.783 MB / 0.6922 GB, free: 14.34 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009974/0.7704, allocations: 3.531 MB / 0.6957 GB, free: 10.76 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/0.7706, allocations: 124 kB / 0.6958 GB, free: 10.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002008/0.7726, allocations: 227.9 kB / 0.696 GB, free: 10.41 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01289/0.7855, allocations: 7.079 MB / 0.7029 GB, free: 3.332 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01965/0.8052, allocations: 9.211 MB / 0.7119 GB, free: 9.695 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/0.8054, allocations: 19.81 kB / 0.712 GB, free: 9.676 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006381/0.806, allocations: 15.91 kB / 0.712 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001336/0.8074, allocations: 1.203 MB / 0.7131 GB, free: 8.457 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04433/0.8517, allocations: 29.39 MB / 0.7419 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.8547, allocations: 1.52 MB / 0.7433 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001829/0.8565, allocations: 1.052 MB / 0.7444 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01074/0.8673, allocations: 6.274 MB / 0.7505 GB, free: 1.051 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.184e-05/0.8674, allocations: 47.5 kB / 0.7505 GB, free: 0.9961 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 5.39e-06/0.8674, allocations: 4 kB / 0.7505 GB, free: 0.9922 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.2625/1.13, allocations: 6.861 MB / 0.7572 GB, free: 206.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/1.13, allocations: 64 kB / 0.7573 GB, free: 206 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003527/1.134, allocations: 2.446 MB / 0.7597 GB, free: 205.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.837e-05/1.134, allocations: 28.89 kB / 0.7597 GB, free: 205.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001594/1.135, allocations: 2.742 MB / 0.7624 GB, free: 204.3 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004079/1.136, allocations: 0.5971 MB / 0.763 GB, free: 204 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001752/1.136, allocations: 0 / 0.763 GB, free: 204 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003131/1.136, allocations: 0.5832 MB / 0.7635 GB, free: 203.6 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001794/1.138, allocations: 1.544 MB / 0.7651 GB, free: 203.6 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003111/1.141, allocations: 4.592 MB / 0.7695 GB, free: 199.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/1.144, allocations: 2.74 MB / 0.7722 GB, free: 199.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.482e-05/1.144, allocations: 29.16 kB / 0.7722 GB, free: 199.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=687) (initialization): time 0.008156/1.153, allocations: 5.52 MB / 0.7776 GB, free: 199.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/1.153, allocations: 6.438 kB / 0.7776 GB, free: 199.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001077/1.153, allocations: 106.7 kB / 0.7777 GB, free: 199.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003529/1.153, allocations: 204.4 kB / 0.7779 GB, free: 199.2 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003341/1.157, allocations: 1.137 MB / 0.779 GB, free: 199.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/1.158, allocations: 1.597 MB / 0.7806 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004153/1.162, allocations: 115.8 kB / 0.7807 GB, free: 197.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009287/1.163, allocations: 325.9 kB / 0.781 GB, free: 197.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 496 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (635): * Single equations (assignments): 628 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001056/1.164, allocations: 376.2 kB / 0.7814 GB, free: 197.6 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006573/1.165, allocations: 240.4 kB / 0.7816 GB, free: 197.5 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007797/1.165, allocations: 312.9 kB / 0.7819 GB, free: 197.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-05/1.166, allocations: 17.41 kB / 0.7819 GB, free: 197.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.169e-05/1.166, allocations: 5.5 kB / 0.7819 GB, free: 197.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.494e-05/1.166, allocations: 9 kB / 0.7819 GB, free: 197.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/1.179, allocations: 5.154 MB / 0.787 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.49e-05/1.179, allocations: 7.344 kB / 0.787 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00136/1.181, allocations: 191.8 kB / 0.7872 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002094/1.181, allocations: 43.36 kB / 0.7872 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/1.181, allocations: 10.59 kB / 0.7872 GB, free: 196.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001268/1.182, allocations: 1.397 MB / 0.7886 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/1.182, allocations: 7.312 kB / 0.7886 GB, free: 195.7 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005715/1.188, allocations: 3.685 MB / 0.7922 GB, free: 195 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/1.189, allocations: 308.5 kB / 0.7925 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004565/1.19, allocations: 14.62 kB / 0.7925 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/1.191, allocations: 18.02 kB / 0.7925 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001789/1.191, allocations: 62.36 kB / 0.7926 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001417/1.191, allocations: 52.14 kB / 0.7926 GB, free: 194.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00346/1.195, allocations: 1.611 MB / 0.7942 GB, free: 194.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007228/1.202, allocations: 0.7087 MB / 0.7949 GB, free: 194.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 104 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006481/1.203, allocations: 153.5 kB / 0.795 GB, free: 194.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008294/1.211, allocations: 3.66 MB / 0.7986 GB, free: 193.8 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/1.211, allocations: 0 / 0.7986 GB, free: 193.8 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.213, allocations: 1.051 MB / 0.7996 GB, free: 193.4 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001965/1.215, allocations: 212.7 kB / 0.7998 GB, free: 193.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01998/1.235, allocations: 6.602 MB / 0.8063 GB, free: 191.1 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008687/1.244, allocations: 3.427 MB / 0.8096 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of SimCode: time 1.693e-06/1.244, allocations: 0 / 0.8096 GB, free: 189.9 MB / 0.5261 GB Notification: Performance of Templates: time 0.07571/1.319, allocations: 24.21 MB / 0.8333 GB, free: 176.4 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches