Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit") translateModel(ModelicaTest.MultiBody.Joints.PrismaticInit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 179.4 kB / 8.517 MB, free: 1.852 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.381/1.381, allocations: 221.4 MB / 230.3 MB, free: 7.637 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009026/0.0009026, allocations: 95.42 kB / 281.2 MB, free: 5.438 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1841/0.1841, allocations: 44.15 MB / 376.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 6.692e-06/6.712e-06, allocations: 4.219 kB / 444 MB, free: 15.59 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09906/0.09908, allocations: 61.91 MB / 0.4941 GB, free: 1.605 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3815/0.4806, allocations: 105.6 MB / 0.5972 GB, free: 7.129 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.4808, allocations: 75.95 kB / 0.5973 GB, free: 7.055 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.08947/0.5703, allocations: 33.42 MB / 0.63 GB, free: 5.488 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.5704, allocations: 32 kB / 0.63 GB, free: 5.457 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.002809/0.5732, allocations: 1.667 MB / 0.6316 GB, free: 3.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/0.5733, allocations: 13.47 kB / 0.6316 GB, free: 3.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001126/0.5744, allocations: 337.4 kB / 0.632 GB, free: 3.395 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00631/0.5807, allocations: 2.83 MB / 0.6347 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.465e-05/0.5808, allocations: 48 kB / 0.6348 GB, free: 480 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001826/0.581, allocations: 91.91 kB / 0.6348 GB, free: 388 kB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002439/0.5834, allocations: 1.888 MB / 0.6367 GB, free: 14.49 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.5865, allocations: 2.613 MB / 0.6392 GB, free: 11.65 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.432e-05/0.5865, allocations: 15.78 kB / 0.6393 GB, free: 11.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001215/0.5867, allocations: 8 kB / 0.6393 GB, free: 11.63 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004811/0.5871, allocations: 302.1 kB / 0.6396 GB, free: 11.33 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01183/0.599, allocations: 12.26 MB / 0.6515 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005658/0.5996, allocations: 452.3 kB / 0.652 GB, free: 14.18 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00048/0.6001, allocations: 388.5 kB / 0.6523 GB, free: 13.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002776/0.6028, allocations: 2.349 MB / 0.6546 GB, free: 11.25 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/0.6029, allocations: 35 kB / 0.6547 GB, free: 11.21 MB / 474.7 MB Notification: Performance of pre-optimization done (n=51): time 2.394e-06/0.6029, allocations: 0 / 0.6547 GB, free: 11.21 MB / 474.7 MB Notification: Performance of matching and sorting (n=57): time 0.007497/0.6104, allocations: 2.87 MB / 0.6575 GB, free: 8.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.6105, allocations: 85.61 kB / 0.6575 GB, free: 8.129 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001226/0.6117, allocations: 0.954 MB / 0.6585 GB, free: 7.16 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.7e-05/0.6117, allocations: 25.7 kB / 0.6585 GB, free: 7.129 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.6122, allocations: 0.8338 MB / 0.6593 GB, free: 6.277 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.6123, allocations: 217 kB / 0.6595 GB, free: 6.062 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.815e-05/0.6124, allocations: 4 kB / 0.6595 GB, free: 6.059 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/0.6125, allocations: 426.7 kB / 0.6599 GB, free: 5.633 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004805/0.613, allocations: 379.8 kB / 0.6603 GB, free: 5.262 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000906/0.6139, allocations: 1.201 MB / 0.6615 GB, free: 3.645 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007933/0.6147, allocations: 0.6602 MB / 0.6621 GB, free: 2.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/0.6148, allocations: 12 kB / 0.6621 GB, free: 2.969 MB / 474.7 MB Notification: Performance of matching and sorting (n=196) (initialization): time 0.002159/0.6169, allocations: 1.477 MB / 0.6636 GB, free: 1.48 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.617, allocations: 4 kB / 0.6636 GB, free: 1.477 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.742e-05/0.617, allocations: 32 kB / 0.6636 GB, free: 1.445 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.6172, allocations: 92.89 kB / 0.6637 GB, free: 1.352 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6183, allocations: 367.2 kB / 0.664 GB, free: 0.9922 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00139/0.6197, allocations: 1.599 MB / 0.6656 GB, free: 15.28 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009502/0.6207, allocations: 35.98 kB / 0.6656 GB, free: 15.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.509e-05/0.6208, allocations: 92.12 kB / 0.6657 GB, free: 15.15 MB / 490.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.000222/0.621, allocations: 194.8 kB / 0.6659 GB, free: 14.95 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.6212, allocations: 110.7 kB / 0.666 GB, free: 14.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6222, allocations: 0.6568 MB / 0.6666 GB, free: 14.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.405e-06/0.6222, allocations: 8 kB / 0.6667 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.6223, allocations: 3.984 kB / 0.6667 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.6223, allocations: 0 / 0.6667 GB, free: 14.16 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.6252, allocations: 1.88 MB / 0.6685 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.708e-06/0.6253, allocations: 4 kB / 0.6685 GB, free: 12.17 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004479/0.6257, allocations: 108.3 kB / 0.6686 GB, free: 12.06 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001868/0.6259, allocations: 60.83 kB / 0.6687 GB, free: 12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.626, allocations: 8 kB / 0.6687 GB, free: 11.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.6273, allocations: 1.642 MB / 0.6703 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/0.6273, allocations: 4 kB / 0.6703 GB, free: 10.23 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001308/0.6287, allocations: 1.248 MB / 0.6715 GB, free: 8.832 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.6289, allocations: 179.7 kB / 0.6717 GB, free: 8.637 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001215/0.629, allocations: 8 kB / 0.6717 GB, free: 8.629 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003823/0.6294, allocations: 15.98 kB / 0.6717 GB, free: 8.613 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.16e-05/0.6295, allocations: 43.86 kB / 0.6717 GB, free: 8.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.927e-05/0.6295, allocations: 16 kB / 0.6717 GB, free: 8.555 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0008675/0.6304, allocations: 0.6565 MB / 0.6724 GB, free: 7.891 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.00132/0.6317, allocations: 264 kB / 0.6726 GB, free: 7.633 MB / 490.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.0002122/0.632, allocations: 127.1 kB / 0.6728 GB, free: 7.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001297/0.6333, allocations: 0.9904 MB / 0.6737 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/0.6333, allocations: 4 kB / 0.6737 GB, free: 6.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004408/0.6337, allocations: 370.9 kB / 0.6741 GB, free: 6.129 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006734/0.6344, allocations: 140.2 kB / 0.6742 GB, free: 5.988 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.638, allocations: 2.182 MB / 0.6763 GB, free: 3.711 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/0.6393, allocations: 1.558 MB / 0.6779 GB, free: 2.117 MB / 490.7 MB Notification: Performance of SimCode: time 4.5e-07/0.6393, allocations: 4 kB / 0.6779 GB, free: 2.113 MB / 490.7 MB Notification: Performance of Templates: time 0.01804/0.6574, allocations: 9.208 MB / 0.6869 GB, free: 8.957 MB / 0.4948 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.PrismaticInit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches