Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.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.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") translateModel(ModelicaTest.MultiBody.Joints.Prismatic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001927/0.001927, allocations: 179.2 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 88.02 kB / 262.1 MB, free: 13.87 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2868/0.2868, allocations: 43.49 MB / 353.6 MB, free: 2.27 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.985e-05/2.002e-05, allocations: 4.219 kB / 418.2 MB, free: 41.03 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4061/0.4062, allocations: 58.85 MB / 477.1 MB, free: 5.266 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2008/0.607, allocations: 101.2 MB / 0.5647 GB, free: 14.09 MB / 411.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.6074, allocations: 71.97 kB / 0.5648 GB, free: 14.02 MB / 411.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.74/1.347, allocations: 84.01 MB / 0.6468 GB, free: 111.6 MB / 475.1 MB Notification: Performance of FrontEnd: time 2.134e-06/1.347, allocations: 1.062 kB / 0.6468 GB, free: 111.6 MB / 475.1 MB Notification: Performance of Transformations before backend: time 0.0002057/1.348, allocations: 67.5 kB / 0.6469 GB, free: 111.6 MB / 475.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01408/1.362, allocations: 3.521 MB / 0.6503 GB, free: 110 MB / 475.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/1.362, allocations: 12.88 kB / 0.6503 GB, free: 110 MB / 475.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02814/1.39, allocations: 3.505 MB / 0.6537 GB, free: 109.7 MB / 475.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01747/1.408, allocations: 4.202 MB / 0.6579 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/1.408, allocations: 125.9 kB / 0.658 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002763/1.411, allocations: 230.6 kB / 0.6582 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01891/1.43, allocations: 7.029 MB / 0.6651 GB, free: 109.2 MB / 475.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02468/1.454, allocations: 9.219 MB / 0.6741 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001554/1.455, allocations: 24.22 kB / 0.6741 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009172/1.456, allocations: 20.83 kB / 0.6741 GB, free: 108 MB / 475.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002354/1.458, allocations: 1.171 MB / 0.6752 GB, free: 107.9 MB / 475.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05988/1.518, allocations: 29.81 MB / 0.7044 GB, free: 89.92 MB / 475.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00437/1.522, allocations: 2.949 MB / 0.7072 GB, free: 88.11 MB / 475.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001907/1.524, allocations: 1.031 MB / 0.7082 GB, free: 87.77 MB / 475.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001369/1.526, allocations: 1.31 MB / 0.7095 GB, free: 86.59 MB / 475.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/1.526, allocations: 55.22 kB / 0.7096 GB, free: 86.54 MB / 475.1 MB Notification: Performance of pre-optimization done (n=189): time 5.751e-06/1.526, allocations: 0 / 0.7096 GB, free: 86.54 MB / 475.1 MB Notification: Performance of matching and sorting (n=195): time 0.02331/1.549, allocations: 7.967 MB / 0.7174 GB, free: 83.22 MB / 475.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/1.549, allocations: 95.3 kB / 0.7174 GB, free: 83.12 MB / 475.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003851/1.553, allocations: 2.259 MB / 0.7197 GB, free: 81.49 MB / 475.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002938/1.553, allocations: 25.7 kB / 0.7197 GB, free: 81.46 MB / 475.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001643/1.555, allocations: 2.843 MB / 0.7225 GB, free: 78.87 MB / 475.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007973/1.556, allocations: 0.7137 MB / 0.7232 GB, free: 78.23 MB / 475.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002449/1.556, allocations: 0 / 0.7232 GB, free: 78.23 MB / 475.1 MB Notification: Performance of setup shared object (initialization): time 0.0003116/1.556, allocations: 0.5408 MB / 0.7237 GB, free: 77.74 MB / 475.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002832/1.559, allocations: 1.486 MB / 0.7251 GB, free: 76.42 MB / 475.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.563, allocations: 4.631 MB / 0.7297 GB, free: 70.45 MB / 475.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004964/1.568, allocations: 2.685 MB / 0.7323 GB, free: 68.2 MB / 475.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.299e-05/1.569, allocations: 32 kB / 0.7323 GB, free: 68.16 MB / 475.1 MB Notification: Performance of matching and sorting (n=703) (initialization): time 0.01167/1.58, allocations: 5.446 MB / 0.7376 GB, free: 63.36 MB / 475.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.827e-05/1.58, allocations: 56 kB / 0.7377 GB, free: 63.3 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/1.58, allocations: 112 kB / 0.7378 GB, free: 63.2 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004195/1.581, allocations: 205.1 kB / 0.738 GB, free: 63 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/1.587, allocations: 1.185 MB / 0.7391 GB, free: 61.95 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.589, allocations: 1.636 MB / 0.7407 GB, free: 60.28 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004093/1.593, allocations: 130 kB / 0.7409 GB, free: 60.17 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005316/1.593, allocations: 323.4 kB / 0.7412 GB, free: 59.86 MB / 475.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 27 (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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (651): * Single equations (assignments): 644 * Array equations: 6 * 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.0007629/1.594, allocations: 380.5 kB / 0.7415 GB, free: 59.49 MB / 475.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004097/1.594, allocations: 260.7 kB / 0.7418 GB, free: 59.23 MB / 475.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004857/1.599, allocations: 2.42 MB / 0.7441 GB, free: 57.17 MB / 475.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.416e-05/1.599, allocations: 20 kB / 0.7442 GB, free: 57.15 MB / 475.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.599, allocations: 4 kB / 0.7442 GB, free: 57.14 MB / 475.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/1.599, allocations: 7.594 kB / 0.7442 GB, free: 57.14 MB / 475.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0148/1.614, allocations: 6.918 MB / 0.7509 GB, free: 51.14 MB / 475.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.668e-05/1.614, allocations: 8 kB / 0.7509 GB, free: 51.14 MB / 475.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001888/1.616, allocations: 262.8 kB / 0.7512 GB, free: 50.92 MB / 475.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/1.616, allocations: 59.75 kB / 0.7512 GB, free: 50.86 MB / 475.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/1.616, allocations: 23.84 kB / 0.7513 GB, free: 50.84 MB / 475.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/1.618, allocations: 1.434 MB / 0.7527 GB, free: 49.36 MB / 475.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-05/1.618, allocations: 15.94 kB / 0.7527 GB, free: 49.34 MB / 475.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006592/1.624, allocations: 4.86 MB / 0.7574 GB, free: 44.45 MB / 475.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001506/1.626, allocations: 0.502 MB / 0.7579 GB, free: 43.95 MB / 475.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003788/1.626, allocations: 15.47 kB / 0.7579 GB, free: 43.94 MB / 475.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001374/1.628, allocations: 35.34 kB / 0.758 GB, free: 43.92 MB / 475.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002477/1.628, allocations: 126.3 kB / 0.7581 GB, free: 43.83 MB / 475.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.628, allocations: 69.81 kB / 0.7582 GB, free: 43.77 MB / 475.1 MB Notification: Performance of sorting global known variables: time 0.00263/1.631, allocations: 1.475 MB / 0.7596 GB, free: 42.48 MB / 475.1 MB Notification: Performance of sort global known variables: time 3.61e-07/1.631, allocations: 0 / 0.7596 GB, free: 42.48 MB / 475.1 MB Notification: Performance of remove unused functions: time 0.005106/1.636, allocations: 0.7187 MB / 0.7603 GB, free: 41.77 MB / 475.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 47 * 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 (144): * Single equations (assignments): 137 * Array equations: 6 * 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 Backend phase and start with SimCode phase: time 0.0004947/1.636, allocations: 165.2 kB / 0.7605 GB, free: 41.6 MB / 475.1 MB Notification: Performance of simCode: created initialization part: time 0.006864/1.643, allocations: 3.719 MB / 0.7641 GB, free: 37.9 MB / 475.1 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/1.643, allocations: 0 / 0.7641 GB, free: 37.9 MB / 475.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.645, allocations: 1.193 MB / 0.7652 GB, free: 36.7 MB / 475.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001722/1.647, allocations: 224.4 kB / 0.7655 GB, free: 36.48 MB / 475.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01617/1.663, allocations: 7.617 MB / 0.7729 GB, free: 28.69 MB / 475.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004446/1.668, allocations: 3.285 MB / 0.7761 GB, free: 25.38 MB / 475.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.669, allocations: 231.4 kB / 0.7763 GB, free: 25.16 MB / 475.1 MB Notification: Performance of SimCode: time 1.112e-06/1.669, allocations: 4 kB / 0.7763 GB, free: 25.15 MB / 475.1 MB Notification: Performance of Templates: time 0.4601/2.129, allocations: 62.67 MB / 0.8375 GB, free: 125.3 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches