Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001975/0.001975, allocations: 112.5 kB / 21.22 MB, free: 0.7305 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.002796/0.002796, allocations: 212.2 kB / 24.53 MB, free: 4.07 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.575/1.575, allocations: 230.6 MB / 258.3 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2674/0.2674, allocations: 46.93 MB / 361.7 MB, free: 4.242 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Prismatic,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002357/0.002357, allocations: 67.89 kB / 0.4969 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3548, allocations: 66.04 MB / 0.5614 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.01603/0.3708, allocations: 12.33 MB / 0.5735 GB, free: 7.922 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009488/0.3803, allocations: 3.908 MB / 0.5773 GB, free: 4.004 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002777/0.3831, allocations: 71.75 kB / 0.5774 GB, free: 3.934 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003651/0.3867, allocations: 1.35 MB / 0.5787 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.3925, allocations: 1.771 MB / 0.5804 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.3939, allocations: 419.2 kB / 0.5808 GB, free: 400 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00635/0.4003, allocations: 3.595 MB / 0.5843 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003228/0.4035, allocations: 1.836 MB / 0.5861 GB, free: 10.91 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00242/0.4059, allocations: 1.218 MB / 0.5873 GB, free: 9.691 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003516/0.4094, allocations: 1.919 MB / 0.5892 GB, free: 7.766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001146/0.4106, allocations: 236 kB / 0.5894 GB, free: 7.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.4131, allocations: 0.8425 MB / 0.5902 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.4157, allocations: 1.604 MB / 0.5918 GB, free: 5.082 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003394/0.4191, allocations: 1.871 MB / 0.5936 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009611/0.4287, allocations: 6.095 MB / 0.5996 GB, free: 13.08 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.088e-05/0.4287, allocations: 4 kB / 0.5996 GB, free: 13.07 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4287, allocations: 0 / 0.5996 GB, free: 13.07 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002547/0.429, allocations: 4 kB / 0.5996 GB, free: 13.07 MB / 446.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.01158/0.4405, allocations: 4.073 MB / 0.6035 GB, free: 8.941 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.046e-05/0.4406, allocations: 12.03 kB / 0.6036 GB, free: 8.93 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000154/0.4407, allocations: 93.02 kB / 0.6036 GB, free: 8.836 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001972/0.4427, allocations: 0.704 MB / 0.6043 GB, free: 8.121 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01264/0.4554, allocations: 3.106 MB / 0.6074 GB, free: 5.008 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005651/0.461, allocations: 2.064 MB / 0.6094 GB, free: 2.906 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/0.4612, allocations: 188.6 kB / 0.6096 GB, free: 2.719 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001001/0.4622, allocations: 255.7 kB / 0.6098 GB, free: 2.469 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02121/0.4834, allocations: 10.17 MB / 0.6197 GB, free: 7.863 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001154/0.4835, allocations: 27.81 kB / 0.6198 GB, free: 7.836 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000638/0.4842, allocations: 119.8 kB / 0.6199 GB, free: 7.719 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004627/0.4888, allocations: 2.463 MB / 0.6223 GB, free: 5.254 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02229/0.5111, allocations: 9.356 MB / 0.6314 GB, free: 11.89 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06371/0.5748, allocations: 31.41 MB / 0.6621 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007224/0.582, allocations: 2.344 MB / 0.6644 GB, free: 9.297 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002045/0.5841, allocations: 0.986 MB / 0.6654 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.5851, allocations: 438.6 kB / 0.6658 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.665e-05/0.5852, allocations: 55.81 kB / 0.6658 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 7.023e-06/0.5852, allocations: 0 / 0.6658 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.0279/0.6131, allocations: 8.936 MB / 0.6745 GB, free: 14.85 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.688e-05/0.6132, allocations: 68.66 kB / 0.6746 GB, free: 14.77 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00611/0.6193, allocations: 2.619 MB / 0.6772 GB, free: 12.13 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004084/0.6197, allocations: 57.62 kB / 0.6772 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003229/0.6229, allocations: 2.776 MB / 0.6799 GB, free: 9.262 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.00137/0.6243, allocations: 0.7286 MB / 0.6806 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00285/0.6271, allocations: 0.9691 MB / 0.6816 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.6273, allocations: 305.1 kB / 0.6819 GB, free: 7.246 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003462/0.6308, allocations: 1.536 MB / 0.6834 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00686/0.6376, allocations: 4.387 MB / 0.6877 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01028/0.6479, allocations: 6.552 MB / 0.6941 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001299/0.648, allocations: 28 kB / 0.6941 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.01341/0.6615, allocations: 5.844 MB / 0.6998 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/0.6616, allocations: 48 kB / 0.6998 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/0.6618, allocations: 100.8 kB / 0.6999 GB, free: 1.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.6623, allocations: 184.8 kB / 0.7001 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003812/0.6661, allocations: 1.064 MB / 0.7012 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002136/0.6682, allocations: 1.689 MB / 0.7028 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003599/0.6718, allocations: 208 kB / 0.703 GB, free: 14.67 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0011/0.6729, allocations: 292 kB / 0.7033 GB, free: 14.39 MB / 0.545 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.005179/0.6781, allocations: 1.985 MB / 0.7052 GB, free: 12.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007837/0.6789, allocations: 266.3 kB / 0.7055 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.6846, allocations: 2.53 MB / 0.7079 GB, free: 9.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.437e-05/0.6847, allocations: 23.98 kB / 0.708 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/0.6847, allocations: 0 / 0.708 GB, free: 9.547 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-05/0.6847, allocations: 7.969 kB / 0.708 GB, free: 9.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01861/0.7033, allocations: 7.918 MB / 0.7157 GB, free: 1.438 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.121e-05/0.7034, allocations: 15.94 kB / 0.7157 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.7046, allocations: 243.6 kB / 0.716 GB, free: 1.184 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.7049, allocations: 56.83 kB / 0.716 GB, free: 1.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002548/0.7051, allocations: 44.05 kB / 0.7161 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001826/0.7069, allocations: 1.522 MB / 0.7175 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.649e-05/0.707, allocations: 19.88 kB / 0.7176 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006778/0.7137, allocations: 4.028 MB / 0.7215 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008911/0.7146, allocations: 234.2 kB / 0.7217 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006786/0.7153, allocations: 39.98 kB / 0.7218 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/0.7168, allocations: 63.95 kB / 0.7218 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004422/0.7173, allocations: 124.6 kB / 0.7219 GB, free: 10.8 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/0.7175, allocations: 63.98 kB / 0.722 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003349/0.7209, allocations: 1.6 MB / 0.7236 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7209, allocations: 0 / 0.7236 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004955/0.7258, allocations: 0.7773 MB / 0.7243 GB, free: 8.344 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.008045/0.7339, allocations: 4.713 MB / 0.7289 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3308/1.065, allocations: 3.702 MB / 0.7325 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/1.065, allocations: 4.469 kB / 0.7325 GB, free: 160 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002969/1.068, allocations: 1.164 MB / 0.7337 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/1.071, allocations: 356.5 kB / 0.734 GB, free: 159.8 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04805/1.119, allocations: 33.46 MB / 0.7667 GB, free: 130.1 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00312/1.122, allocations: 3.126 MB / 0.7697 GB, free: 127 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003143/1.125, allocations: 1.714 MB / 0.7714 GB, free: 125.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00193/1.127, allocations: 1.694 MB / 0.7731 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of SimCode: time 2.435e-06/1.127, allocations: 3.938 kB / 0.7731 GB, free: 123.5 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08331/1.21, allocations: 49.98 MB / 0.8219 GB, free: 73.9 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.3/21.51, allocations: 5.5 kB / 0.8219 GB, free: 73.89 MB / 0.5606 GB " [Timeout remaining time 638] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Prismatic.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Prismatic_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Prismatic/Prismatic.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 25.45551122602774]