Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002469/0.002469, allocations: 171.2 kB / 8.144 MB, free: 2.688 MB / 6.207 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.71/1.71, allocations: 205.2 MB / 213.8 MB, free: 2.137 MB / 174.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001295, allocations: 99.48 kB / 261.8 MB, free: 1.469 MB / 206.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2536/0.2536, allocations: 43.5 MB / 353.2 MB, free: 5.879 MB / 302.1 MB Notification: Performance of FrontEnd - loaded program: time 1.183e-05/1.17e-05, allocations: 224 / 417.7 MB, free: 63.2 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1005, allocations: 58.85 MB / 476.5 MB, free: 4.27 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3658/0.4663, allocations: 104.3 MB / 0.5672 GB, free: 15.34 MB / 398.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.4667, allocations: 77.77 kB / 0.5673 GB, free: 15.3 MB / 398.1 MB Notification: Performance of FrontEnd: time 0.1912/0.6579, allocations: 33.14 MB / 0.5997 GB, free: 2.992 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000292/0.6582, allocations: 36 kB / 0.5997 GB, free: 2.957 MB / 414.1 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.006059/0.6643, allocations: 1.668 MB / 0.6013 GB, free: 1.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6644, allocations: 8.031 kB / 0.6013 GB, free: 1.336 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/0.6671, allocations: 336.5 kB / 0.6016 GB, free: 1.02 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/0.6798, allocations: 2.976 MB / 0.6046 GB, free: 14.49 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.68, allocations: 48 kB / 0.6046 GB, free: 14.44 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005996/0.6806, allocations: 87.91 kB / 0.6047 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005435/0.686, allocations: 1.884 MB / 0.6065 GB, free: 13.09 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006931/0.693, allocations: 2.614 MB / 0.6091 GB, free: 10.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.457e-05/0.6931, allocations: 13.5 kB / 0.6091 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.6934, allocations: 11.98 kB / 0.6091 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000942/0.6943, allocations: 306.6 kB / 0.6094 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0254/0.7197, allocations: 12.29 MB / 0.6214 GB, free: 15.29 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001308/0.7211, allocations: 457.2 kB / 0.6218 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.7222, allocations: 390.8 kB / 0.6222 GB, free: 14.44 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00595/0.7282, allocations: 2.341 MB / 0.6245 GB, free: 11.9 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.7283, allocations: 42.98 kB / 0.6245 GB, free: 11.85 MB / 446.1 MB Notification: Performance of pre-optimization done (n=51): time 4.218e-06/0.7283, allocations: 0 / 0.6245 GB, free: 11.85 MB / 446.1 MB Notification: Performance of matching and sorting (n=57): time 0.01541/0.7438, allocations: 2.916 MB / 0.6274 GB, free: 8.836 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.373e-05/0.7439, allocations: 85.61 kB / 0.6275 GB, free: 8.734 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00226/0.7461, allocations: 0.9665 MB / 0.6284 GB, free: 7.754 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.7463, allocations: 25.7 kB / 0.6284 GB, free: 7.723 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00076/0.7471, allocations: 0.8518 MB / 0.6293 GB, free: 6.852 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002783/0.7474, allocations: 209.2 kB / 0.6295 GB, free: 6.645 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.7475, allocations: 0 / 0.6295 GB, free: 6.645 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002131/0.7477, allocations: 374.8 kB / 0.6298 GB, free: 6.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009798/0.7487, allocations: 383.8 kB / 0.6302 GB, free: 5.895 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001799/0.7505, allocations: 1.205 MB / 0.6314 GB, free: 4.262 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001682/0.7522, allocations: 0.6524 MB / 0.632 GB, free: 3.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.783e-05/0.7523, allocations: 8 kB / 0.632 GB, free: 3.602 MB / 446.1 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.004376/0.7567, allocations: 1.441 MB / 0.6334 GB, free: 2.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.038e-05/0.7567, allocations: 8 kB / 0.6334 GB, free: 2.145 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-05/0.7568, allocations: 28 kB / 0.6334 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004061/0.7572, allocations: 89.61 kB / 0.6335 GB, free: 2.027 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002549/0.7598, allocations: 367.3 kB / 0.6339 GB, free: 1.668 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002345/0.7622, allocations: 1.607 MB / 0.6354 GB, free: 15.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/0.7636, allocations: 35.98 kB / 0.6355 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002672/0.7639, allocations: 88 kB / 0.6356 GB, free: 15.82 MB / 462.1 MB 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.0003589/0.7643, allocations: 120.9 kB / 0.6357 GB, free: 15.7 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003336/0.7646, allocations: 114.5 kB / 0.6358 GB, free: 15.58 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002215/0.7669, allocations: 0.653 MB / 0.6364 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-05/0.7669, allocations: 4 kB / 0.6364 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.996e-06/0.7669, allocations: 0 / 0.6364 GB, free: 14.91 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.458e-05/0.767, allocations: 7.984 kB / 0.6364 GB, free: 14.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006199/0.7732, allocations: 1.884 MB / 0.6383 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.486e-05/0.7733, allocations: 4 kB / 0.6383 GB, free: 12.91 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009579/0.7742, allocations: 99.83 kB / 0.6384 GB, free: 12.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003478/0.7746, allocations: 57.33 kB / 0.6384 GB, free: 12.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-05/0.7747, allocations: 19.98 kB / 0.6385 GB, free: 12.73 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002491/0.7772, allocations: 1.638 MB / 0.6401 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/0.7773, allocations: 4 kB / 0.6401 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00266/0.78, allocations: 1.253 MB / 0.6413 GB, free: 9.574 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/0.7807, allocations: 215.7 kB / 0.6415 GB, free: 9.344 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002257/0.781, allocations: 4 kB / 0.6415 GB, free: 9.34 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008431/0.7818, allocations: 15.98 kB / 0.6415 GB, free: 9.324 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.782, allocations: 47.81 kB / 0.6416 GB, free: 9.277 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.629e-05/0.782, allocations: 20 kB / 0.6416 GB, free: 9.258 MB / 462.1 MB Notification: Performance of sort global known variables: time 0.001771/0.7838, allocations: 0.6686 MB / 0.6422 GB, free: 8.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002372/0.7862, allocations: 264 kB / 0.6425 GB, free: 8.324 MB / 462.1 MB 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.0003974/0.7867, allocations: 131.2 kB / 0.6426 GB, free: 8.188 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.002794/0.7895, allocations: 0.9853 MB / 0.6436 GB, free: 7.199 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/0.7896, allocations: 4 kB / 0.6436 GB, free: 7.195 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009223/0.7905, allocations: 367.6 kB / 0.6439 GB, free: 6.828 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.7918, allocations: 136.8 kB / 0.644 GB, free: 6.691 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007489/0.7993, allocations: 2.359 MB / 0.6464 GB, free: 4.23 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00275/0.8021, allocations: 1.566 MB / 0.6479 GB, free: 2.629 MB / 462.1 MB Notification: Performance of SimCode: time 1.382e-06/0.8022, allocations: 0 / 0.6479 GB, free: 2.629 MB / 462.1 MB Notification: Performance of Templates: time 0.04747/0.8497, allocations: 21.3 MB / 0.6687 GB, free: 13.32 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/PrismaticInit/PrismaticInit.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches