Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") [: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.001682/0.001682, allocations: 199.8 kB / 8.54 MB, free: 1.832 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.25/1.25, allocations: 225.5 MB / 234.4 MB, free: 3.41 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001058/0.001058, allocations: 95.52 kB / 286.3 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 45.16 MB / 383.4 MB, free: 0.543 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 6.443e-06/6.483e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1175, allocations: 63.24 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3354/0.4529, allocations: 106.7 MB / 0.608 GB, free: 12.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.4531, allocations: 74.22 kB / 0.608 GB, free: 12.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.2398/0.6929, allocations: 86.96 MB / 0.6929 GB, free: 13.75 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0006159/0.6936, allocations: 87.98 kB / 0.693 GB, free: 13.66 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0215/0.7152, allocations: 3.913 MB / 0.6968 GB, free: 9.68 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.308e-05/0.7152, allocations: 12.02 kB / 0.6969 GB, free: 9.668 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01758/0.7328, allocations: 1.975 MB / 0.6988 GB, free: 7.684 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01657/0.7495, allocations: 4.274 MB / 0.703 GB, free: 3.344 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004165/0.7499, allocations: 144 kB / 0.7031 GB, free: 3.203 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002842/0.7528, allocations: 251.9 kB / 0.7033 GB, free: 2.957 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0168/0.7696, allocations: 6.385 MB / 0.7096 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02629/0.796, allocations: 9.666 MB / 0.719 GB, free: 1.762 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004036/0.7964, allocations: 63.41 kB / 0.7191 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00227/0.7987, allocations: 32 kB / 0.7191 GB, free: 1.668 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002157/0.8009, allocations: 1.115 MB / 0.7202 GB, free: 0.5508 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2495/1.05, allocations: 48.02 MB / 0.7671 GB, free: 168.4 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002044/1.053, allocations: 1.907 MB / 0.7689 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001142/1.054, allocations: 1.045 MB / 0.77 GB, free: 167.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006377/1.06, allocations: 5.173 MB / 0.775 GB, free: 165.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/1.06, allocations: 50 kB / 0.7751 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=148): time 3.517e-06/1.06, allocations: 0 / 0.7751 GB, free: 165.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=160): time 0.01408/1.074, allocations: 7.859 MB / 0.7827 GB, free: 162.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/1.074, allocations: 191.8 kB / 0.7829 GB, free: 162.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003958/1.078, allocations: 3.091 MB / 0.7859 GB, free: 161.8 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.238e-05/1.078, allocations: 33.11 kB / 0.786 GB, free: 161.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.001263/1.08, allocations: 3.035 MB / 0.7889 GB, free: 159.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005196/1.08, allocations: 0.6151 MB / 0.7895 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/1.08, allocations: 0 / 0.7895 GB, free: 159.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0003583/1.081, allocations: 0.5722 MB / 0.7901 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001914/1.083, allocations: 1.524 MB / 0.7916 GB, free: 159.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003456/1.086, allocations: 5.456 MB / 0.7969 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003125/1.089, allocations: 2.904 MB / 0.7997 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.905e-05/1.089, allocations: 40.53 kB / 0.7998 GB, free: 154.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=811) (initialization): time 0.007901/1.097, allocations: 6.008 MB / 0.8057 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.097, allocations: 6.688 kB / 0.8057 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.097, allocations: 139.8 kB / 0.8058 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001516/1.098, allocations: 206.7 kB / 0.806 GB, free: 153.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003981/1.102, allocations: 1.481 MB / 0.8074 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001316/1.102, allocations: 282.1 kB / 0.8077 GB, free: 153.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/1.106, allocations: 247.2 kB / 0.8079 GB, free: 153.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003838/1.106, allocations: 388.5 kB / 0.8083 GB, free: 153.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 645 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (787): * Single equations (assignments): 784 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005296/1.107, allocations: 459 kB / 0.8088 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003635/1.107, allocations: 316.8 kB / 0.8091 GB, free: 152.9 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001657/1.109, allocations: 1.228 MB / 0.8103 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-05/1.109, allocations: 14.09 kB / 0.8103 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.109, allocations: 3.969 kB / 0.8103 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/1.109, allocations: 6.938 kB / 0.8103 GB, free: 152.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/1.115, allocations: 4.812 MB / 0.815 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.52e-05/1.115, allocations: 14.5 kB / 0.815 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009344/1.116, allocations: 276.3 kB / 0.8153 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.08e-05/1.116, allocations: 27.19 kB / 0.8153 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/1.116, allocations: 30.84 kB / 0.8153 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.662e-05/1.116, allocations: 39.39 kB / 0.8153 GB, free: 151.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.238e-05/1.116, allocations: 31.34 kB / 0.8154 GB, free: 151.6 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002911/1.119, allocations: 5.064 MB / 0.8203 GB, free: 148.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000553/1.12, allocations: 382.8 kB / 0.8207 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003413/1.12, allocations: 29.16 kB / 0.8207 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/1.121, allocations: 66.75 kB / 0.8208 GB, free: 147.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/1.121, allocations: 129.3 kB / 0.8209 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.788e-05/1.121, allocations: 70.7 kB / 0.821 GB, free: 147.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.002408/1.124, allocations: 2.04 MB / 0.823 GB, free: 147.1 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004378/1.128, allocations: 0.7778 MB / 0.8237 GB, free: 147.1 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 79 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 143 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000382/1.129, allocations: 184 kB / 0.8239 GB, free: 147 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.005201/1.134, allocations: 3.494 MB / 0.8273 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/1.134, allocations: 3.062 kB / 0.8273 GB, free: 145.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009968/1.135, allocations: 0.7169 MB / 0.828 GB, free: 145.6 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001958/1.137, allocations: 351.9 kB / 0.8283 GB, free: 145.5 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/1.149, allocations: 7.172 MB / 0.8354 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003696/1.153, allocations: 3.536 MB / 0.8388 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of SimCode: time 1.643e-06/1.153, allocations: 0 / 0.8388 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of Templates: time 0.0568/1.21, allocations: 27.02 MB / 0.8652 GB, free: 121.2 MB / 0.5261 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches