Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001099/0.001099, allocations: 198.3 kB / 16.1 MB, free: 5.703 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.308/1.308, allocations: 226.5 MB / 243.4 MB, free: 8.113 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007736/0.0007736, allocations: 93.38 kB / 295.5 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.33/0.33, allocations: 44.82 MB / 392.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002426/0.0002427, allocations: 8 kB / 465.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3015, allocations: 62.96 MB / 0.516 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01854/0.3201, allocations: 26.83 MB / 0.5422 GB, free: 17.91 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.01125/0.3314, allocations: 6.343 MB / 0.5484 GB, free: 13.65 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005023/0.3364, allocations: 117.6 kB / 0.5485 GB, free: 13.63 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002704/0.3392, allocations: 1.286 MB / 0.5497 GB, free: 13.18 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009349/0.3485, allocations: 3.992 MB / 0.5536 GB, free: 11.57 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001157/0.3497, allocations: 391.4 kB / 0.554 GB, free: 11.44 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005534/0.3552, allocations: 3.969 MB / 0.5579 GB, free: 10.08 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003679/0.3589, allocations: 2.358 MB / 0.5602 GB, free: 9.086 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001622/0.3606, allocations: 1.029 MB / 0.5612 GB, free: 8.566 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.3624, allocations: 1.694 MB / 0.5628 GB, free: 7.723 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003317/0.3627, allocations: 137.4 kB / 0.563 GB, free: 7.719 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.3641, allocations: 0.7386 MB / 0.5637 GB, free: 7.383 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.3653, allocations: 1.458 MB / 0.5651 GB, free: 6.605 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001261/0.3665, allocations: 1.689 MB / 0.5668 GB, free: 5.238 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002931/0.3695, allocations: 4.635 MB / 0.5713 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3695, allocations: 3.938 kB / 0.5713 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.3695, allocations: 0 / 0.5713 GB, free: 0.5898 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.592e-05/0.3696, allocations: 0 / 0.5713 GB, free: 0.5898 MB / 378.7 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.004323/0.3739, allocations: 3.328 MB / 0.5745 GB, free: 13.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.3739, allocations: 19.97 kB / 0.5746 GB, free: 13.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007132/0.3747, allocations: 0.704 MB / 0.5752 GB, free: 12.46 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009834/0.3845, allocations: 3.174 MB / 0.5783 GB, free: 9.277 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/0.3878, allocations: 2.12 MB / 0.5804 GB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.388, allocations: 188.8 kB / 0.5806 GB, free: 6.922 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004114/0.3884, allocations: 247.8 kB / 0.5808 GB, free: 6.68 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01232/0.4007, allocations: 10.17 MB / 0.5908 GB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.346e-05/0.4008, allocations: 23.81 kB / 0.5908 GB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003119/0.4011, allocations: 123.8 kB / 0.5909 GB, free: 11.93 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003653/0.4048, allocations: 2.463 MB / 0.5933 GB, free: 9.465 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/0.4193, allocations: 9.321 MB / 0.6024 GB, free: 140 kB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03945/0.4588, allocations: 31.7 MB / 0.6334 GB, free: 15.62 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005465/0.4643, allocations: 3.342 MB / 0.6366 GB, free: 12.05 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001525/0.4659, allocations: 1.07 MB / 0.6377 GB, free: 10.98 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/0.4671, allocations: 1.303 MB / 0.6389 GB, free: 9.453 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.04e-05/0.4672, allocations: 47.88 kB / 0.639 GB, free: 9.398 MB / 458.7 MB Notification: Performance of pre-optimization done (n=185): time 4.488e-06/0.4672, allocations: 0 / 0.639 GB, free: 9.398 MB / 458.7 MB Notification: Performance of matching and sorting (n=191): time 0.01903/0.4862, allocations: 9.08 MB / 0.6479 GB, free: 228 kB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.4863, allocations: 64.72 kB / 0.6479 GB, free: 148 kB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003485/0.4898, allocations: 2.604 MB / 0.6505 GB, free: 13.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001181/0.4899, allocations: 53.69 kB / 0.6505 GB, free: 13.46 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001909/0.4919, allocations: 2.662 MB / 0.6531 GB, free: 10.76 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006173/0.4925, allocations: 0.7132 MB / 0.6538 GB, free: 10.04 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001804/0.4927, allocations: 95.98 kB / 0.6539 GB, free: 9.941 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003343/0.493, allocations: 0.5088 MB / 0.6544 GB, free: 9.426 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.4952, allocations: 1.524 MB / 0.6559 GB, free: 7.895 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003974/0.4992, allocations: 4.355 MB / 0.6601 GB, free: 2.133 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/0.5063, allocations: 6.524 MB / 0.6665 GB, free: 10.2 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.324e-05/0.5064, allocations: 28 kB / 0.6665 GB, free: 10.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=644) (initialization): time 0.008576/0.515, allocations: 5.796 MB / 0.6722 GB, free: 4.371 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.991e-05/0.5151, allocations: 48 kB / 0.6722 GB, free: 4.324 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.51e-05/0.5152, allocations: 100 kB / 0.6723 GB, free: 4.227 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000301/0.5155, allocations: 176.8 kB / 0.6725 GB, free: 4.051 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/0.5183, allocations: 1.057 MB / 0.6735 GB, free: 2.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.5197, allocations: 1.687 MB / 0.6752 GB, free: 1.172 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002178/0.5219, allocations: 211.9 kB / 0.6754 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003438/0.5222, allocations: 300 kB / 0.6757 GB, free: 0.6719 MB / 490.7 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 (592): * Single equations (assignments): 585 * 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.2249/0.7471, allocations: 1.979 MB / 0.6776 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003911/0.7475, allocations: 244.4 kB / 0.6778 GB, free: 125.2 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003445/0.751, allocations: 2.531 MB / 0.6803 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-05/0.751, allocations: 18.69 kB / 0.6803 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.751, allocations: 8.547 kB / 0.6803 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.7511, allocations: 10.41 kB / 0.6803 GB, free: 124.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01007/0.7611, allocations: 7.938 MB / 0.6881 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.7612, allocations: 11.44 kB / 0.6881 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008699/0.7621, allocations: 246.9 kB / 0.6883 GB, free: 121.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001398/0.7622, allocations: 58.58 kB / 0.6884 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.897e-05/0.7623, allocations: 44.67 kB / 0.6884 GB, free: 121.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008897/0.7632, allocations: 1.508 MB / 0.6899 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.7632, allocations: 18.78 kB / 0.6899 GB, free: 120.1 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003919/0.7671, allocations: 3.994 MB / 0.6938 GB, free: 118.5 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005426/0.7677, allocations: 303.5 kB / 0.6941 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000209/0.7679, allocations: 39.69 kB / 0.6942 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006848/0.7686, allocations: 54.41 kB / 0.6942 GB, free: 118.4 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002476/0.7689, allocations: 118.4 kB / 0.6943 GB, free: 118.3 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001028/0.769, allocations: 72.05 kB / 0.6944 GB, free: 118.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002003/0.771, allocations: 1.577 MB / 0.6959 GB, free: 117.8 MB / 490.7 MB Notification: Performance of sort global known variables: time 3e-07/0.771, allocations: 0 / 0.6959 GB, free: 117.8 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003203/0.7742, allocations: 0.799 MB / 0.6967 GB, free: 117.7 MB / 490.7 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 (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.004717/0.7789, allocations: 4.68 MB / 0.7013 GB, free: 115.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.005483/0.7844, allocations: 3.811 MB / 0.705 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.548e-06/0.7845, allocations: 7.656 kB / 0.705 GB, free: 114.2 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001674/0.7862, allocations: 1.228 MB / 0.7062 GB, free: 113.7 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004422/0.7906, allocations: 326.5 kB / 0.7065 GB, free: 113.6 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/0.8234, allocations: 25.3 MB / 0.7312 GB, free: 95.61 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002576/0.826, allocations: 3.136 MB / 0.7343 GB, free: 93.12 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001674/0.8277, allocations: 1.761 MB / 0.736 GB, free: 91.48 MB / 490.7 MB Notification: Performance of SimCode: time 1.152e-06/0.8277, allocations: 0 / 0.736 GB, free: 91.48 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 6.185/7.013, allocations: 79.43 MB / 0.8136 GB, free: 13.84 MB / 490.7 MB (rm -f ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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","../files/ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches