Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/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_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_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 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 184.6 kB / 7.797 MB, free: 2.277 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.033/1.033, allocations: 205.2 MB / 213.4 MB, free: 13.84 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008324/0.0008324, allocations: 92.58 kB / 261.4 MB, free: 13.59 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1545/0.1545, allocations: 43.49 MB / 352.8 MB, free: 2.004 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.841e-06/5.861e-06, allocations: 4 kB / 417.7 MB, free: 40.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 58.84 MB / 476.6 MB, free: 5.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1154/0.346, allocations: 103.8 MB / 0.5668 GB, free: 11.05 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.3462, allocations: 79.95 kB / 0.5669 GB, free: 10.97 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.08335/0.4296, allocations: 33.13 MB / 0.5992 GB, free: 9.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.171e-05/0.4297, allocations: 36 kB / 0.5993 GB, free: 9.645 MB / 442.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.002662/0.4323, allocations: 1.667 MB / 0.6009 GB, free: 7.926 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.4324, allocations: 8.031 kB / 0.6009 GB, free: 7.918 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.4335, allocations: 333.5 kB / 0.6012 GB, free: 7.59 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006361/0.4399, allocations: 2.982 MB / 0.6041 GB, free: 4.559 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.572e-05/0.4399, allocations: 48 kB / 0.6042 GB, free: 4.512 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001778/0.4401, allocations: 91.91 kB / 0.6043 GB, free: 4.422 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002434/0.4426, allocations: 1.888 MB / 0.6061 GB, free: 2.531 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002901/0.4455, allocations: 2.603 MB / 0.6087 GB, free: 15.71 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.376e-05/0.4455, allocations: 19.88 kB / 0.6087 GB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.4457, allocations: 8 kB / 0.6087 GB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004532/0.4461, allocations: 298 kB / 0.609 GB, free: 15.39 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01235/0.4585, allocations: 12.3 MB / 0.621 GB, free: 2.645 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006777/0.4592, allocations: 453.1 kB / 0.6214 GB, free: 2.188 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004752/0.4597, allocations: 390.9 kB / 0.6218 GB, free: 1.801 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002979/0.4627, allocations: 2.347 MB / 0.6241 GB, free: 15.26 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.896e-05/0.4627, allocations: 42.94 kB / 0.6241 GB, free: 15.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 2.134e-06/0.4627, allocations: 3.938 kB / 0.6241 GB, free: 15.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.007288/0.47, allocations: 2.924 MB / 0.627 GB, free: 12.18 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.4701, allocations: 81.61 kB / 0.627 GB, free: 12.08 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001139/0.4712, allocations: 0.9587 MB / 0.628 GB, free: 11.11 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.98e-05/0.4713, allocations: 25.7 kB / 0.628 GB, free: 11.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004256/0.4717, allocations: 0.8454 MB / 0.6288 GB, free: 10.21 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/0.4718, allocations: 209.2 kB / 0.629 GB, free: 10.01 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.4719, allocations: 4 kB / 0.629 GB, free: 10 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.4721, allocations: 426.7 kB / 0.6294 GB, free: 9.578 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004759/0.4726, allocations: 375.9 kB / 0.6298 GB, free: 9.211 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009395/0.4735, allocations: 1.209 MB / 0.631 GB, free: 7.574 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/0.4742, allocations: 0.6563 MB / 0.6316 GB, free: 6.914 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.4743, allocations: 8 kB / 0.6316 GB, free: 6.906 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.001915/0.4762, allocations: 1.48 MB / 0.6331 GB, free: 5.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.4762, allocations: 8 kB / 0.6331 GB, free: 5.402 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/0.4762, allocations: 28 kB / 0.6331 GB, free: 5.375 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.4764, allocations: 96.89 kB / 0.6332 GB, free: 5.277 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/0.4775, allocations: 363.3 kB / 0.6335 GB, free: 4.922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.4788, allocations: 1.603 MB / 0.6351 GB, free: 3.203 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007823/0.4796, allocations: 39.84 kB / 0.6352 GB, free: 3.164 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/0.4797, allocations: 88.12 kB / 0.6352 GB, free: 3.078 MB / 474.7 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.0001912/0.4799, allocations: 195.7 kB / 0.6354 GB, free: 2.883 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.48, allocations: 110.6 kB / 0.6355 GB, free: 2.773 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009668/0.481, allocations: 0.6607 MB / 0.6362 GB, free: 2.098 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.269e-06/0.481, allocations: 7.938 kB / 0.6362 GB, free: 2.09 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.481, allocations: 4 kB / 0.6362 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/0.481, allocations: 0 / 0.6362 GB, free: 2.086 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.4837, allocations: 1.881 MB / 0.638 GB, free: 100 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4837, allocations: 4 kB / 0.638 GB, free: 96 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.1301/0.6138, allocations: 99.91 kB / 0.6381 GB, free: 183 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000233/0.614, allocations: 71.7 kB / 0.6382 GB, free: 182.9 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.848e-05/0.6141, allocations: 3.688 kB / 0.6382 GB, free: 182.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001034/0.6152, allocations: 1.63 MB / 0.6398 GB, free: 181.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.6152, allocations: 10.41 kB / 0.6398 GB, free: 181.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009954/0.6162, allocations: 1.25 MB / 0.641 GB, free: 181.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002588/0.6164, allocations: 215.2 kB / 0.6412 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001329/0.6166, allocations: 10.38 kB / 0.6412 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003706/0.617, allocations: 18.27 kB / 0.6412 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/0.617, allocations: 38.73 kB / 0.6413 GB, free: 181.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.517e-05/0.617, allocations: 18.84 kB / 0.6413 GB, free: 181.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0007196/0.6178, allocations: 0.668 MB / 0.642 GB, free: 181 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001067/0.6188, allocations: 270.2 kB / 0.6422 GB, free: 181 MB / 474.7 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.0002128/0.6191, allocations: 132.4 kB / 0.6423 GB, free: 180.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6201, allocations: 0.9883 MB / 0.6433 GB, free: 180.8 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6201, allocations: 0 / 0.6433 GB, free: 180.8 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.6205, allocations: 373.1 kB / 0.6437 GB, free: 180.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006267/0.6211, allocations: 142.8 kB / 0.6438 GB, free: 180.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002811/0.624, allocations: 2.179 MB / 0.6459 GB, free: 180.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009792/0.625, allocations: 1.569 MB / 0.6475 GB, free: 179.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.71e-07/0.625, allocations: 0 / 0.6475 GB, free: 179.3 MB / 474.7 MB Notification: Performance of Templates: time 0.01492/0.6399, allocations: 9.235 MB / 0.6565 GB, free: 179 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches