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.001626/0.001626, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002125/0.002125, allocations: 212.6 kB / 18.58 MB, free: 4.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2185/0.2185, allocations: 46.09 MB / 344.1 MB, free: 11.61 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 78.47 kB / 417.6 MB, free: 19.76 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1732/0.1746, allocations: 62.44 MB / 480 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01648/0.1911, allocations: 12.25 MB / 492.3 MB, free: 8.98 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01015/0.2013, allocations: 3.862 MB / 496.1 MB, free: 5.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003352/0.2047, allocations: 63.88 kB / 496.2 MB, free: 5.043 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00356/0.2083, allocations: 1.315 MB / 497.5 MB, free: 3.723 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.2141, allocations: 1.72 MB / 499.2 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00181/0.2159, allocations: 423.1 kB / 499.6 MB, free: 1.582 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006185/0.2222, allocations: 3.591 MB / 0.4914 GB, free: 13.98 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004216/0.2264, allocations: 2.005 MB / 0.4934 GB, free: 11.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002715/0.2291, allocations: 1.191 MB / 0.4946 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003203/0.2323, allocations: 1.74 MB / 0.4963 GB, free: 9 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001/0.2334, allocations: 236 kB / 0.4965 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002676/0.236, allocations: 0.8074 MB / 0.4973 GB, free: 7.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002404/0.2385, allocations: 1.574 MB / 0.4988 GB, free: 6.383 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002354/0.2408, allocations: 1.867 MB / 0.5006 GB, free: 4.504 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.3171/0.5579, allocations: 5.77 MB / 0.5063 GB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.366e-06/0.558, allocations: 0 / 0.5063 GB, free: 18.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.845e-06/0.558, allocations: 0 / 0.5063 GB, free: 18.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002522/0.5583, allocations: 0 / 0.5063 GB, free: 18.27 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.01071/0.569, allocations: 4.022 MB / 0.5102 GB, free: 16.64 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.683e-05/0.5691, allocations: 10.97 kB / 0.5102 GB, free: 16.64 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01327/0.5823, allocations: 3.074 MB / 0.5132 GB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006847/0.5892, allocations: 1.88 MB / 0.515 GB, free: 15.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002576/0.5895, allocations: 190.2 kB / 0.5152 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001556/0.5911, allocations: 251.8 kB / 0.5155 GB, free: 15.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/0.6135, allocations: 10.18 MB / 0.5254 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.883e-05/0.6136, allocations: 28.12 kB / 0.5254 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003869/0.614, allocations: 116.3 kB / 0.5255 GB, free: 13.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00436/0.6184, allocations: 2.472 MB / 0.528 GB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01735/0.6358, allocations: 9.353 MB / 0.5371 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06806/0.7039, allocations: 31.66 MB / 0.568 GB, free: 8.957 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01167/0.7156, allocations: 3.35 MB / 0.5713 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00287/0.7185, allocations: 1.079 MB / 0.5723 GB, free: 4.305 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002113/0.7207, allocations: 1.3 MB / 0.5736 GB, free: 2.793 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.781e-05/0.7208, allocations: 55.88 kB / 0.5737 GB, free: 2.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=185): time 8.346e-06/0.7208, allocations: 0 / 0.5737 GB, free: 2.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=191): time 0.03562/0.7564, allocations: 9.097 MB / 0.5825 GB, free: 9.57 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.615e-05/0.7566, allocations: 68.72 kB / 0.5826 GB, free: 9.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005144/0.7617, allocations: 2.602 MB / 0.5852 GB, free: 6.867 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001454/0.7619, allocations: 49.7 kB / 0.5852 GB, free: 6.812 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002309/0.7642, allocations: 2.667 MB / 0.5878 GB, free: 4.156 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009399/0.7652, allocations: 0.7014 MB / 0.5885 GB, free: 3.461 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001646/0.7668, allocations: 0.96 MB / 0.5894 GB, free: 2.492 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.767, allocations: 309.1 kB / 0.5897 GB, free: 2.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/0.7697, allocations: 1.548 MB / 0.5912 GB, free: 0.6328 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004856/0.7746, allocations: 4.392 MB / 0.5955 GB, free: 10.89 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007926/0.7825, allocations: 6.561 MB / 0.6019 GB, free: 3.34 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.046e-05/0.7826, allocations: 30.44 kB / 0.602 GB, free: 3.312 MB / 446.1 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.009972/0.7926, allocations: 5.851 MB / 0.6077 GB, free: 13.84 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-05/0.7927, allocations: 52.88 kB / 0.6077 GB, free: 13.79 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000105/0.7928, allocations: 102.5 kB / 0.6078 GB, free: 13.69 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003459/0.7932, allocations: 176.8 kB / 0.608 GB, free: 13.52 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002999/0.7962, allocations: 1.072 MB / 0.609 GB, free: 12.44 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/0.7979, allocations: 1.797 MB / 0.6108 GB, free: 10.51 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002715/0.8006, allocations: 206.4 kB / 0.611 GB, free: 10.31 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003808/0.801, allocations: 292 kB / 0.6113 GB, free: 10.02 MB / 462.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.003156/0.8042, allocations: 1.996 MB / 0.6132 GB, free: 8.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004503/0.8047, allocations: 240.8 kB / 0.6134 GB, free: 7.781 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004026/0.8087, allocations: 2.53 MB / 0.6159 GB, free: 5.223 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.699e-05/0.8088, allocations: 26.03 kB / 0.6159 GB, free: 5.199 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.8088, allocations: 4 kB / 0.6159 GB, free: 5.195 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.677e-05/0.8088, allocations: 7.969 kB / 0.616 GB, free: 5.188 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01308/0.8219, allocations: 7.968 MB / 0.6237 GB, free: 13.06 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-05/0.8219, allocations: 9.641 kB / 0.6237 GB, free: 13.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.8229, allocations: 247.6 kB / 0.624 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001699/0.8231, allocations: 64.81 kB / 0.624 GB, free: 12.74 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.187e-05/0.8232, allocations: 36 kB / 0.6241 GB, free: 12.71 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.8247, allocations: 1.63 MB / 0.6257 GB, free: 10.94 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/0.8247, allocations: 20 kB / 0.6257 GB, free: 10.92 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005119/0.8299, allocations: 4.013 MB / 0.6296 GB, free: 6.762 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007004/0.8306, allocations: 297.9 kB / 0.6299 GB, free: 6.449 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002563/0.8309, allocations: 39.98 kB / 0.6299 GB, free: 6.41 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007143/0.8316, allocations: 54.22 kB / 0.63 GB, free: 6.359 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/0.8318, allocations: 121.6 kB / 0.6301 GB, free: 6.242 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001143/0.8319, allocations: 66.56 kB / 0.6302 GB, free: 6.18 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002318/0.8342, allocations: 1.599 MB / 0.6317 GB, free: 4.57 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.8342, allocations: 0 / 0.6317 GB, free: 4.57 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003716/0.838, allocations: 0.7812 MB / 0.6325 GB, free: 3.789 MB / 478.1 MB 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.0004038/0.8384, allocations: 177.8 kB / 0.6327 GB, free: 3.613 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008682/0.8471, allocations: 5.502 MB / 0.638 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.275e-05/0.8471, allocations: 0 / 0.638 GB, free: 14.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.8488, allocations: 1.231 MB / 0.6392 GB, free: 12.88 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00199/0.8508, allocations: 357.1 kB / 0.6396 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01588/0.8667, allocations: 8.502 MB / 0.6479 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003311/0.8701, allocations: 3.133 MB / 0.6509 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004087/0.8742, allocations: 1.71 MB / 0.6526 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005379/0.8747, allocations: 183.4 kB / 0.6528 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of SimCode: time 1.963e-06/0.8747, allocations: 0 / 0.6528 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of Templates: time 0.04893/0.9237, allocations: 22.97 MB / 0.6752 GB, free: 8.023 MB / 0.5137 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches