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.001653/0.001653, allocations: 105.1 kB / 21.21 MB, free: 0.6523 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.002279/0.002279, allocations: 210.9 kB / 24.51 MB, free: 3.945 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.546/1.546, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.2264/0.2264, allocations: 44.93 MB / 359.6 MB, free: 6.066 MB / 286.1 MB " [Timeout remaining time 180] 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.002169/0.002169, allocations: 63.91 kB / 0.4938 GB, free: 10.56 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3627/0.3649, allocations: 65.47 MB / 0.5577 GB, free: 7.371 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Prismatic): time 0.0136/0.3785, allocations: 10.64 MB / 0.5681 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008583/0.387, allocations: 3.661 MB / 0.5717 GB, free: 9.227 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001692/0.3887, allocations: 67.75 kB / 0.5718 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002918/0.3917, allocations: 1.3 MB / 0.573 GB, free: 7.855 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004305/0.396, allocations: 1.783 MB / 0.5748 GB, free: 6.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001128/0.3971, allocations: 423.2 kB / 0.5752 GB, free: 5.652 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005335/0.4024, allocations: 3.594 MB / 0.5787 GB, free: 2.055 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002925/0.4053, allocations: 1.846 MB / 0.5805 GB, free: 176 kB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002341/0.4077, allocations: 1.21 MB / 0.5817 GB, free: 14.96 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.4109, allocations: 1.919 MB / 0.5835 GB, free: 13.03 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007887/0.4117, allocations: 240 kB / 0.5838 GB, free: 12.8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.4138, allocations: 0.7215 MB / 0.5845 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002632/0.4164, allocations: 1.608 MB / 0.586 GB, free: 10.46 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003187/0.4196, allocations: 1.342 MB / 0.5874 GB, free: 9.109 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00881/0.4284, allocations: 6.118 MB / 0.5933 GB, free: 2.965 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.233e-06/0.4284, allocations: 3.938 kB / 0.5933 GB, free: 2.961 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4284, allocations: 4 kB / 0.5933 GB, free: 2.957 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002086/0.4286, allocations: 0 / 0.5933 GB, free: 2.957 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.009224/0.4378, allocations: 4.071 MB / 0.5973 GB, free: 14.83 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/0.4379, allocations: 12.03 kB / 0.5973 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001331/0.438, allocations: 89.02 kB / 0.5974 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001364/0.4394, allocations: 0.7118 MB / 0.5981 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01108/0.4505, allocations: 3.102 MB / 0.6011 GB, free: 10.9 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.4559, allocations: 2.091 MB / 0.6032 GB, free: 8.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002243/0.4561, allocations: 192.6 kB / 0.6034 GB, free: 8.578 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001079/0.4572, allocations: 247.8 kB / 0.6036 GB, free: 8.336 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01708/0.4742, allocations: 10.18 MB / 0.6135 GB, free: 13.72 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.224e-05/0.4743, allocations: 23.81 kB / 0.6136 GB, free: 13.7 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000388/0.4747, allocations: 119.8 kB / 0.6137 GB, free: 13.58 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004046/0.4788, allocations: 2.459 MB / 0.6161 GB, free: 11.12 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01836/0.4971, allocations: 9.363 MB / 0.6252 GB, free: 1.75 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05271/0.5498, allocations: 29.89 MB / 0.6544 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00639/0.5562, allocations: 2.329 MB / 0.6567 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.5581, allocations: 0.9977 MB / 0.6577 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000925/0.559, allocations: 434.6 kB / 0.6581 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.02e-05/0.5591, allocations: 43.88 kB / 0.6581 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=185): time 6.231e-06/0.5591, allocations: 0 / 0.6581 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=191): time 0.02479/0.5839, allocations: 8.947 MB / 0.6669 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.535e-05/0.584, allocations: 68.72 kB / 0.6669 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005589/0.5895, allocations: 2.619 MB / 0.6695 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004428/0.59, allocations: 45.7 kB / 0.6695 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003036/0.593, allocations: 2.784 MB / 0.6722 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001135/0.5942, allocations: 0.7325 MB / 0.673 GB, free: 15.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001608/0.5958, allocations: 0.9691 MB / 0.6739 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0002002/0.596, allocations: 309.1 kB / 0.6742 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002943/0.5989, allocations: 1.544 MB / 0.6757 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005546/0.6045, allocations: 4.375 MB / 0.68 GB, free: 7.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008884/0.6133, allocations: 6.552 MB / 0.6864 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.814e-05/0.6134, allocations: 28 kB / 0.6864 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of matching and sorting (n=644) (initialization): time 0.0117/0.6251, allocations: 5.848 MB / 0.6921 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.26e-05/0.6252, allocations: 49 kB / 0.6922 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/0.6254, allocations: 103.9 kB / 0.6923 GB, free: 9.312 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003992/0.6258, allocations: 176.8 kB / 0.6924 GB, free: 9.137 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003439/0.6292, allocations: 1.057 MB / 0.6935 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00196/0.6312, allocations: 1.689 MB / 0.6951 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003363/0.6346, allocations: 207.9 kB / 0.6953 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006964/0.6353, allocations: 292 kB / 0.6956 GB, free: 5.777 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.004491/0.6397, allocations: 1.993 MB / 0.6975 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006159/0.6404, allocations: 258.2 kB / 0.6978 GB, free: 3.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004721/0.6451, allocations: 2.53 MB / 0.7002 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.263e-05/0.6451, allocations: 24 kB / 0.7003 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.6451, allocations: 4.188 kB / 0.7003 GB, free: 0.9336 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.003e-05/0.6452, allocations: 7.969 kB / 0.7003 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01623/0.6614, allocations: 7.723 MB / 0.7078 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.047e-05/0.6614, allocations: 8 kB / 0.7078 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.6625, allocations: 247.6 kB / 0.7081 GB, free: 8.773 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002009/0.6627, allocations: 60.77 kB / 0.7081 GB, free: 8.711 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/0.6628, allocations: 43.98 kB / 0.7082 GB, free: 8.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001738/0.6646, allocations: 1.518 MB / 0.7097 GB, free: 7.031 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.645e-05/0.6646, allocations: 15.94 kB / 0.7097 GB, free: 7.016 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006642/0.6712, allocations: 4.036 MB / 0.7136 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.6722, allocations: 230.2 kB / 0.7138 GB, free: 2.609 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000679/0.6728, allocations: 39.98 kB / 0.7139 GB, free: 2.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.6741, allocations: 55.89 kB / 0.7139 GB, free: 2.516 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003369/0.6745, allocations: 128.6 kB / 0.714 GB, free: 2.387 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001784/0.6746, allocations: 67.97 kB / 0.7141 GB, free: 2.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003479/0.6781, allocations: 1.6 MB / 0.7157 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.6781, allocations: 0 / 0.7157 GB, free: 0.7109 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004589/0.6827, allocations: 0.7773 MB / 0.7164 GB, free: 15.93 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.006815/0.6895, allocations: 4.707 MB / 0.721 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006861/0.6964, allocations: 3.713 MB / 0.7246 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.616e-05/0.6964, allocations: 0 / 0.7246 GB, free: 7.359 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002031/0.6984, allocations: 1.17 MB / 0.7258 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002939/0.7014, allocations: 356 kB / 0.7261 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4261/1.127, allocations: 33.44 MB / 0.7588 GB, free: 139.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004552/1.132, allocations: 2.583 MB / 0.7613 GB, free: 136.8 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00399/1.136, allocations: 1.71 MB / 0.763 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002919/1.139, allocations: 1.698 MB / 0.7646 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of SimCode: time 1.753e-06/1.139, allocations: 0 / 0.7646 GB, free: 133.4 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09409/1.233, allocations: 47.53 MB / 0.8111 GB, free: 86.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.16/20.4, allocations: 15.41 kB / 0.8111 GB, free: 86.52 MB / 0.5606 GB " [Timeout remaining time 639] (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: 24.24959667294752]