Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.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.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit") [: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.001237/0.001237, allocations: 203.5 kB / 8.541 MB, free: 1.828 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 225.5 MB / 234.4 MB, free: 14.94 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009679/0.0009683, allocations: 92.98 kB / 286.3 MB, free: 12.63 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3362/0.3362, allocations: 45.14 MB / 383.3 MB, free: 40.85 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.606e-06/8.706e-06, allocations: 4 kB / 452.6 MB, free: 5.488 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3482/0.3482, allocations: 63.23 MB / 0.5038 GB, free: 35.56 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.127/0.4752, allocations: 106.6 MB / 0.6078 GB, free: 3.789 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4755, allocations: 75.95 kB / 0.6079 GB, free: 3.715 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.09458/0.5701, allocations: 34.25 MB / 0.6413 GB, free: 1.328 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001198/0.5703, allocations: 32 kB / 0.6414 GB, free: 1.297 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.004829/0.5751, allocations: 1.663 MB / 0.643 GB, free: 15.58 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.5752, allocations: 8.031 kB / 0.643 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001685/0.5769, allocations: 329.5 kB / 0.6433 GB, free: 15.25 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006199/0.5831, allocations: 2.293 MB / 0.6456 GB, free: 12.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.739e-05/0.5832, allocations: 51.94 kB / 0.6456 GB, free: 12.86 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004635/0.5837, allocations: 91.91 kB / 0.6457 GB, free: 12.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003202/0.5869, allocations: 1.877 MB / 0.6475 GB, free: 10.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.5904, allocations: 2.613 MB / 0.6501 GB, free: 8.055 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-05/0.5905, allocations: 19.78 kB / 0.6501 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.5906, allocations: 8 kB / 0.6501 GB, free: 8.027 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005384/0.5912, allocations: 306.1 kB / 0.6504 GB, free: 7.727 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/0.6054, allocations: 12.26 MB / 0.6624 GB, free: 11.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006677/0.6062, allocations: 461.2 kB / 0.6628 GB, free: 10.57 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005103/0.6067, allocations: 388.5 kB / 0.6632 GB, free: 10.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003285/0.61, allocations: 2.333 MB / 0.6655 GB, free: 7.66 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.6101, allocations: 39 kB / 0.6655 GB, free: 7.613 MB / 490.7 MB Notification: Performance of pre-optimization done (n=51): time 2.826e-06/0.6101, allocations: 4 kB / 0.6655 GB, free: 7.609 MB / 490.7 MB Notification: Performance of matching and sorting (n=57): time 0.009552/0.6196, allocations: 2.862 MB / 0.6683 GB, free: 4.645 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.084e-05/0.6197, allocations: 85.52 kB / 0.6684 GB, free: 4.543 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002105/0.6219, allocations: 0.9463 MB / 0.6693 GB, free: 3.582 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.563e-05/0.6219, allocations: 33.69 kB / 0.6693 GB, free: 3.543 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006787/0.6226, allocations: 0.8338 MB / 0.6701 GB, free: 2.691 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002044/0.6228, allocations: 213.1 kB / 0.6703 GB, free: 2.48 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.163e-05/0.6229, allocations: 0 / 0.6703 GB, free: 2.48 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002394/0.6232, allocations: 422.7 kB / 0.6707 GB, free: 2.059 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006057/0.6238, allocations: 375.9 kB / 0.6711 GB, free: 1.691 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001183/0.625, allocations: 1.213 MB / 0.6723 GB, free: 60 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001065/0.626, allocations: 0.6562 MB / 0.6729 GB, free: 15.4 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.253e-05/0.6261, allocations: 8 kB / 0.6729 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002879/0.629, allocations: 1.484 MB / 0.6744 GB, free: 13.9 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.528e-05/0.629, allocations: 10.81 kB / 0.6744 GB, free: 13.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-05/0.6291, allocations: 28 kB / 0.6744 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002784/0.6293, allocations: 96.73 kB / 0.6745 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001239/0.6306, allocations: 363.3 kB / 0.6749 GB, free: 13.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001532/0.6321, allocations: 1.595 MB / 0.6764 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/0.6333, allocations: 40.05 kB / 0.6765 GB, free: 11.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.6334, allocations: 88 kB / 0.6765 GB, free: 11.57 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 136 * Number of states: 0 () * Number of discrete variables: 27 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (192): * Single equations (assignments): 191 * Array equations: 0 * 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.0002929/0.6337, allocations: 202.8 kB / 0.6767 GB, free: 11.37 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002532/0.634, allocations: 106.7 kB / 0.6768 GB, free: 11.26 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001203/0.6352, allocations: 0.6607 MB / 0.6775 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.6352, allocations: 4 kB / 0.6775 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.6352, allocations: 3.984 kB / 0.6775 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.6353, allocations: 0 / 0.6775 GB, free: 10.58 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004145/0.6394, allocations: 1.885 MB / 0.6793 GB, free: 8.582 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.6394, allocations: 4 kB / 0.6793 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/0.6399, allocations: 103.8 kB / 0.6794 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002086/0.6401, allocations: 60.83 kB / 0.6795 GB, free: 8.414 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.535e-05/0.6402, allocations: 4 kB / 0.6795 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001645/0.6418, allocations: 1.646 MB / 0.6811 GB, free: 6.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/0.6419, allocations: 4.062 kB / 0.6811 GB, free: 6.641 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001518/0.6434, allocations: 1.251 MB / 0.6823 GB, free: 5.242 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004156/0.6438, allocations: 179.7 kB / 0.6825 GB, free: 5.047 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002145/0.644, allocations: 4 kB / 0.6825 GB, free: 5.043 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.6445, allocations: 20.05 kB / 0.6825 GB, free: 5.023 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.837e-05/0.6446, allocations: 43.8 kB / 0.6826 GB, free: 4.98 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/0.6447, allocations: 20 kB / 0.6826 GB, free: 4.961 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001157/0.6458, allocations: 0.6526 MB / 0.6832 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001662/0.6475, allocations: 271.9 kB / 0.6835 GB, free: 4.035 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * 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%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002967/0.6478, allocations: 123.1 kB / 0.6836 GB, free: 3.906 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.00174/0.6496, allocations: 0.9936 MB / 0.6846 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.6496, allocations: 320 / 0.6846 GB, free: 2.906 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004974/0.6501, allocations: 369.9 kB / 0.6849 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008269/0.6509, allocations: 139 kB / 0.6851 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004913/0.6559, allocations: 2.174 MB / 0.6872 GB, free: 136 kB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.1922/0.8481, allocations: 1.568 MB / 0.6887 GB, free: 177.7 MB / 0.4948 GB Notification: Performance of SimCode: time 1.322e-06/0.8481, allocations: 2.625 kB / 0.6887 GB, free: 177.7 MB / 0.4948 GB Notification: Performance of Templates: time 0.01724/0.8653, allocations: 9.189 MB / 0.6977 GB, free: 177.5 MB / 0.4948 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches