Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001629/0.001629, allocations: 112.5 kB / 17.86 MB, free: 5.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001897/0.001897, allocations: 209.7 kB / 18.79 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, allocations: 227.4 MB / 246.9 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2169/0.2169, allocations: 46.11 MB / 344.3 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 73.3 kB / 417.5 MB, free: 20.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1186, allocations: 62.45 MB / 479.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.02829/0.147, allocations: 29.52 MB / 0.4975 GB, free: 8.059 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.1612, allocations: 6.695 MB / 0.5041 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005775/0.1671, allocations: 123.6 kB / 0.5042 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2299/0.3969, allocations: 1.268 MB / 0.5054 GB, free: 10.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004908/0.402, allocations: 1.602 MB / 0.507 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.4031, allocations: 388.7 kB / 0.5073 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.007359/0.4105, allocations: 5.01 MB / 0.5122 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00394/0.4145, allocations: 1.975 MB / 0.5142 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002818/0.4173, allocations: 1.033 MB / 0.5152 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/0.421, allocations: 1.827 MB / 0.517 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001105/0.4221, allocations: 168.4 kB / 0.5171 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002551/0.4247, allocations: 0.7877 MB / 0.5179 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002251/0.427, allocations: 1.531 MB / 0.5194 GB, free: 9.938 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003097/0.4301, allocations: 1.81 MB / 0.5212 GB, free: 9.207 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006733/0.4369, allocations: 4.695 MB / 0.5257 GB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.037e-05/0.4369, allocations: 0 / 0.5257 GB, free: 7.57 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.166e-06/0.4369, allocations: 0 / 0.5257 GB, free: 7.57 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003462/0.4373, allocations: 0 / 0.5257 GB, free: 7.57 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1514 * Number of variables: 1514 Notification: Performance of Generate backend data structure: time 0.01105/0.4484, allocations: 4.008 MB / 0.5297 GB, free: 4.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.4484, allocations: 10.47 kB / 0.5297 GB, free: 4.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01026/0.4587, allocations: 3.076 MB / 0.5327 GB, free: 3.242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004995/0.4637, allocations: 1.881 MB / 0.5345 GB, free: 2.188 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002078/0.464, allocations: 191.4 kB / 0.5347 GB, free: 2.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001237/0.4652, allocations: 248.9 kB / 0.5349 GB, free: 2.09 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.4847, allocations: 10.19 MB / 0.5449 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001141/0.4849, allocations: 19.62 kB / 0.5449 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008063/0.4857, allocations: 120.1 kB / 0.545 GB, free: 10.19 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004072/0.4898, allocations: 2.464 MB / 0.5474 GB, free: 7.746 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02045/0.5103, allocations: 9.357 MB / 0.5565 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04946/0.5598, allocations: 31.66 MB / 0.5875 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00605/0.5659, allocations: 3.355 MB / 0.5907 GB, free: 10.94 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/0.5676, allocations: 1.072 MB / 0.5918 GB, free: 9.867 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.5688, allocations: 1.309 MB / 0.5931 GB, free: 8.348 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.29e-05/0.5688, allocations: 47.88 kB / 0.5931 GB, free: 8.289 MB / 446.1 MB Notification: Performance of pre-optimization done (n=185): time 5.169e-06/0.5688, allocations: 0 / 0.5931 GB, free: 8.289 MB / 446.1 MB Notification: Performance of matching and sorting (n=191): time 0.02062/0.5894, allocations: 9.102 MB / 0.602 GB, free: 15.11 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.997e-05/0.5895, allocations: 67.25 kB / 0.6021 GB, free: 15.04 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004529/0.5941, allocations: 2.603 MB / 0.6046 GB, free: 12.41 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002048/0.5943, allocations: 49.7 kB / 0.6047 GB, free: 12.36 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001931/0.5963, allocations: 2.665 MB / 0.6073 GB, free: 9.684 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008506/0.5971, allocations: 0.6994 MB / 0.6079 GB, free: 8.992 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001737/0.5989, allocations: 0.9709 MB / 0.6089 GB, free: 8.012 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001182/0.599, allocations: 306.2 kB / 0.6092 GB, free: 7.711 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002692/0.6017, allocations: 1.548 MB / 0.6107 GB, free: 6.156 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004877/0.6066, allocations: 4.386 MB / 0.615 GB, free: 424 kB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007903/0.6146, allocations: 6.566 MB / 0.6214 GB, free: 8.742 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.573e-05/0.6147, allocations: 28 kB / 0.6214 GB, free: 8.715 MB / 478.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.01058/0.6252, allocations: 5.851 MB / 0.6271 GB, free: 2.852 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001089/0.6254, allocations: 51.94 kB / 0.6272 GB, free: 2.801 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001682/0.6256, allocations: 100 kB / 0.6273 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003943/0.626, allocations: 180.8 kB / 0.6274 GB, free: 2.523 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003408/0.6294, allocations: 1.064 MB / 0.6285 GB, free: 1.457 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001759/0.6312, allocations: 1.681 MB / 0.6301 GB, free: 15.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.6343, allocations: 215.9 kB / 0.6303 GB, free: 15.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007875/0.6351, allocations: 294.6 kB / 0.6306 GB, free: 15.15 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 453 * Number of states: 0 () * Number of discrete variables: 29 (axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],axis.color[3],axis.color[2],axis.color[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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 589 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004319/0.6394, allocations: 1.997 MB / 0.6326 GB, free: 13.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005946/0.64, allocations: 240.8 kB / 0.6328 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0045/0.6445, allocations: 2.525 MB / 0.6353 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.6446, allocations: 24 kB / 0.6353 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/0.6446, allocations: 3.938 kB / 0.6353 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.757e-05/0.6446, allocations: 11.97 kB / 0.6353 GB, free: 10.31 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01666/0.6613, allocations: 7.965 MB / 0.6431 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-05/0.6614, allocations: 8.188 kB / 0.6431 GB, free: 2.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.6624, allocations: 251.6 kB / 0.6433 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000193/0.6626, allocations: 56.83 kB / 0.6434 GB, free: 1.871 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001877/0.6629, allocations: 39.98 kB / 0.6434 GB, free: 1.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001363/0.6642, allocations: 1.509 MB / 0.6449 GB, free: 200 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.719e-05/0.6643, allocations: 20.95 kB / 0.6449 GB, free: 180 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00545/0.6697, allocations: 4.018 MB / 0.6488 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007601/0.6705, allocations: 297.8 kB / 0.6491 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000515/0.671, allocations: 36 kB / 0.6491 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001031/0.6721, allocations: 62.44 kB / 0.6492 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002311/0.6723, allocations: 116.7 kB / 0.6493 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001329/0.6725, allocations: 67.36 kB / 0.6494 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00312/0.6756, allocations: 1.603 MB / 0.6509 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.61e-07/0.6756, allocations: 0 / 0.6509 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.004381/0.68, allocations: 0.7734 MB / 0.6517 GB, free: 9.047 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 42 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (139): * Single equations (assignments): 132 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000562/0.6806, allocations: 174.5 kB / 0.6519 GB, free: 8.871 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.005996/0.6866, allocations: 3.853 MB / 0.6556 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.005e-05/0.6866, allocations: 0 / 0.6556 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001803/0.6884, allocations: 1.237 MB / 0.6568 GB, free: 3.785 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002541/0.691, allocations: 343.6 kB / 0.6572 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01908/0.7101, allocations: 10.94 MB / 0.6679 GB, free: 8.363 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004708/0.7149, allocations: 3.138 MB / 0.6709 GB, free: 5.195 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/0.7158, allocations: 231.4 kB / 0.6711 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of SimCode: time 9.22e-07/0.7158, allocations: 0 / 0.6711 GB, free: 4.969 MB / 0.5137 GB Notification: Performance of Templates: time 0.2931/1.009, allocations: 64.77 MB / 0.7344 GB, free: 186 MB / 0.545 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches