Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001273/0.001273, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001407/0.001407, allocations: 206.1 kB / 24.52 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.533/1.533, allocations: 230.6 MB / 258.3 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2455/0.2455, allocations: 44.91 MB / 359.6 MB, free: 6.391 MB / 286.1 MB " [Timeout remaining time 179] 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 Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 67.89 kB / 0.4939 GB, free: 10.73 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4026, allocations: 65.46 MB / 0.5578 GB, free: 7.535 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01594/0.4186, allocations: 12.33 MB / 0.5698 GB, free: 11.37 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009608/0.4282, allocations: 3.902 MB / 0.5737 GB, free: 7.461 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002472/0.4306, allocations: 75.69 kB / 0.5737 GB, free: 7.387 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.4341, allocations: 1.347 MB / 0.575 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006022/0.4401, allocations: 1.767 MB / 0.5768 GB, free: 4.262 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001599/0.4417, allocations: 419.2 kB / 0.5772 GB, free: 3.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007942/0.4497, allocations: 3.61 MB / 0.5807 GB, free: 240 kB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.4535, allocations: 1.83 MB / 0.5825 GB, free: 14.36 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003084/0.4566, allocations: 1.21 MB / 0.5837 GB, free: 13.15 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003965/0.4606, allocations: 1.931 MB / 0.5855 GB, free: 11.21 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001204/0.4618, allocations: 236 kB / 0.5858 GB, free: 10.98 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002524/0.4643, allocations: 0.8345 MB / 0.5866 GB, free: 10.15 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002475/0.4668, allocations: 1.604 MB / 0.5882 GB, free: 8.539 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003956/0.4707, allocations: 1.875 MB / 0.59 GB, free: 6.652 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01014/0.4809, allocations: 6.099 MB / 0.5959 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.4809, allocations: 0 / 0.5959 GB, free: 0.5273 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.4809, allocations: 3.938 kB / 0.5959 GB, free: 0.5234 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002436/0.4811, allocations: 0 / 0.5959 GB, free: 0.5234 MB / 430.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.01018/0.4913, allocations: 4.084 MB / 0.5999 GB, free: 12.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.916e-05/0.4914, allocations: 8.031 kB / 0.5999 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001429/0.4915, allocations: 93.02 kB / 0.6 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001114/0.4926, allocations: 0.6923 MB / 0.6007 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01127/0.5039, allocations: 3.114 MB / 0.6037 GB, free: 8.457 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00526/0.5092, allocations: 2.068 MB / 0.6058 GB, free: 6.352 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/0.5093, allocations: 196.6 kB / 0.606 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006728/0.51, allocations: 239.8 kB / 0.6062 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01917/0.5292, allocations: 10.18 MB / 0.6161 GB, free: 11.31 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001411/0.5293, allocations: 23.81 kB / 0.6161 GB, free: 11.29 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009801/0.5303, allocations: 119.8 kB / 0.6163 GB, free: 11.17 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00474/0.535, allocations: 2.463 MB / 0.6187 GB, free: 8.703 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02017/0.5552, allocations: 9.356 MB / 0.6278 GB, free: 15.34 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05478/0.61, allocations: 31.41 MB / 0.6585 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006329/0.6163, allocations: 2.342 MB / 0.6608 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001908/0.6182, allocations: 1 MB / 0.6617 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00099/0.6192, allocations: 438.5 kB / 0.6622 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.566e-05/0.6193, allocations: 47.88 kB / 0.6622 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 5.981e-06/0.6193, allocations: 0 / 0.6622 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.023/0.6423, allocations: 8.943 MB / 0.6709 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.6423, allocations: 68.72 kB / 0.671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004811/0.6471, allocations: 2.612 MB / 0.6736 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001167/0.6473, allocations: 49.7 kB / 0.6736 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002426/0.6497, allocations: 2.78 MB / 0.6763 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008229/0.6505, allocations: 0.7364 MB / 0.677 GB, free: 11.97 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001605/0.6521, allocations: 0.9652 MB / 0.678 GB, free: 10.99 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.6523, allocations: 305.1 kB / 0.6783 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002533/0.6549, allocations: 1.548 MB / 0.6798 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005585/0.6604, allocations: 4.371 MB / 0.684 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/0.6694, allocations: 6.556 MB / 0.6904 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001161/0.6695, allocations: 28 kB / 0.6905 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01082/0.6804, allocations: 5.844 MB / 0.6962 GB, free: 5.523 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.6805, allocations: 52.03 kB / 0.6962 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001922/0.6807, allocations: 100 kB / 0.6963 GB, free: 5.375 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004495/0.6811, allocations: 180.8 kB / 0.6965 GB, free: 5.195 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00335/0.6845, allocations: 1.061 MB / 0.6975 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001948/0.6864, allocations: 1.697 MB / 0.6992 GB, free: 2.316 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002876/0.6893, allocations: 203.9 kB / 0.6994 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005481/0.6898, allocations: 299.9 kB / 0.6997 GB, free: 1.828 MB / 0.5294 GB 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 (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.00361/0.6935, allocations: 1.978 MB / 0.7016 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/0.694, allocations: 270.2 kB / 0.7019 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.6983, allocations: 2.53 MB / 0.7043 GB, free: 13.01 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.442e-05/0.6984, allocations: 23.98 kB / 0.7044 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.6984, allocations: 0 / 0.7044 GB, free: 12.99 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/0.6984, allocations: 3.984 kB / 0.7044 GB, free: 12.98 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.7181, allocations: 7.926 MB / 0.7121 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.82e-05/0.7182, allocations: 12 kB / 0.7121 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001634/0.7198, allocations: 255.6 kB / 0.7124 GB, free: 4.613 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002527/0.72, allocations: 52.83 kB / 0.7124 GB, free: 4.559 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001852/0.7202, allocations: 36.56 kB / 0.7124 GB, free: 4.523 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002328/0.7226, allocations: 1.534 MB / 0.7139 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.383e-05/0.7226, allocations: 15.94 kB / 0.714 GB, free: 2.855 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008907/0.7315, allocations: 4.024 MB / 0.7179 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/0.7326, allocations: 238.2 kB / 0.7181 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000747/0.7334, allocations: 35.98 kB / 0.7181 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001709/0.7351, allocations: 59.89 kB / 0.7182 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003563/0.7354, allocations: 120.6 kB / 0.7183 GB, free: 14.24 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002029/0.7356, allocations: 67.97 kB / 0.7184 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004778/0.7404, allocations: 1.607 MB / 0.72 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7404, allocations: 0 / 0.72 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.006159/0.7466, allocations: 0.7695 MB / 0.7207 GB, free: 11.79 MB / 0.5606 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.009883/0.7565, allocations: 4.711 MB / 0.7253 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0092/0.7657, allocations: 3.715 MB / 0.7289 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.488e-05/0.7657, allocations: 4 kB / 0.7289 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002836/0.7685, allocations: 1.167 MB / 0.7301 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003256/0.7718, allocations: 359.7 kB / 0.7304 GB, free: 1.684 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3232/1.095, allocations: 33.44 MB / 0.7631 GB, free: 136.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002693/1.098, allocations: 3.131 MB / 0.7661 GB, free: 133.2 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002813/1.1, allocations: 1.71 MB / 0.7678 GB, free: 131.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001519/1.102, allocations: 1.694 MB / 0.7695 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.483e-06/1.102, allocations: 0 / 0.7695 GB, free: 129.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08868/1.191, allocations: 49.99 MB / 0.8183 GB, free: 80.19 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.78/19.97, allocations: 3.516 kB / 0.8183 GB, free: 80.19 MB / 0.5606 GB " [Timeout remaining time 640] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.MultiBody.Joints.Prismatic.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 23.793132341001183]