Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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.001551/0.001551, allocations: 123.4 kB / 17.79 MB, free: 5.266 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.001571/0.001571, allocations: 200.3 kB / 20.74 MB, free: 2.32 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.559/1.559, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.2504/0.2504, allocations: 46.92 MB / 357.1 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] 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.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 71.88 kB / 0.4909 GB, free: 7.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1457, allocations: 65.98 MB / 0.5554 GB, free: 5.816 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01916/0.1649, allocations: 15.02 MB / 0.57 GB, free: 6.727 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01101/0.1759, allocations: 4.446 MB / 0.5744 GB, free: 2.262 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.1791, allocations: 91.62 kB / 0.5745 GB, free: 2.172 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00547/0.1845, allocations: 2.258 MB / 0.5767 GB, free: 15.91 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006428/0.191, allocations: 2.028 MB / 0.5787 GB, free: 13.87 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.1932, allocations: 0.6161 MB / 0.5793 GB, free: 13.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.007779/0.201, allocations: 4.303 MB / 0.5835 GB, free: 8.941 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005054/0.206, allocations: 2.717 MB / 0.5861 GB, free: 6.176 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003726/0.2097, allocations: 1.623 MB / 0.5877 GB, free: 4.547 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004652/0.2144, allocations: 2.418 MB / 0.5901 GB, free: 2.121 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001481/0.2159, allocations: 343.9 kB / 0.5904 GB, free: 1.785 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003294/0.2192, allocations: 1.069 MB / 0.5914 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.2578/0.477, allocations: 2.001 MB / 0.5934 GB, free: 9.547 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002598/0.4796, allocations: 2.379 MB / 0.5957 GB, free: 8.848 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009278/0.4888, allocations: 7.776 MB / 0.6033 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4888, allocations: 0 / 0.6033 GB, free: 7.602 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4888, allocations: 0.5 kB / 0.6033 GB, free: 7.602 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002344/0.4891, allocations: 1.75 kB / 0.6033 GB, free: 7.602 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: 1828 * Number of variables: 1828 Notification: Performance of Generate backend data structure: time 0.01312/0.5022, allocations: 5.226 MB / 0.6084 GB, free: 5.406 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.5022, allocations: 9.781 kB / 0.6084 GB, free: 5.406 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002232/0.5045, allocations: 0.8507 MB / 0.6093 GB, free: 5.324 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01179/0.5163, allocations: 3.229 MB / 0.6124 GB, free: 4.977 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006918/0.5232, allocations: 2.603 MB / 0.6149 GB, free: 4.387 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002428/0.5234, allocations: 251.6 kB / 0.6152 GB, free: 4.379 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001886/0.5253, allocations: 332.2 kB / 0.6155 GB, free: 4.371 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02398/0.5493, allocations: 12.23 MB / 0.6274 GB, free: 14.9 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.5495, allocations: 42.86 kB / 0.6275 GB, free: 14.89 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001094/0.5506, allocations: 152.6 kB / 0.6276 GB, free: 14.83 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005373/0.5559, allocations: 2.844 MB / 0.6304 GB, free: 13.73 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02613/0.5821, allocations: 11.13 MB / 0.6413 GB, free: 5.695 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07368/0.6557, allocations: 40.6 MB / 0.6809 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01144/0.6672, allocations: 4.501 MB / 0.6853 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004454/0.6716, allocations: 2.252 MB / 0.6875 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001701/0.6733, allocations: 1.324 MB / 0.6888 GB, free: 4.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.085e-05/0.6734, allocations: 54.56 kB / 0.6889 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=249): time 1.038e-05/0.6734, allocations: 0 / 0.6889 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=267): time 0.05659/0.73, allocations: 18.76 MB / 0.7072 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.484e-05/0.7301, allocations: 75.94 kB / 0.7073 GB, free: 1.211 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006832/0.7369, allocations: 3.185 MB / 0.7104 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0005373/0.7375, allocations: 61.7 kB / 0.7104 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.003093/0.7405, allocations: 3.238 MB / 0.7136 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.001617/0.7422, allocations: 1.018 MB / 0.7146 GB, free: 9.719 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003665/0.7458, allocations: 1.193 MB / 0.7157 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.746, allocations: 301.1 kB / 0.716 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005007/0.751, allocations: 2.458 MB / 0.7184 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00859/0.7596, allocations: 5.722 MB / 0.724 GB, free: 14.48 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01355/0.7731, allocations: 8.973 MB / 0.7328 GB, free: 4.387 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/0.7733, allocations: 32.75 kB / 0.7328 GB, free: 4.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.02057/0.7938, allocations: 8.99 MB / 0.7416 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.000173/0.794, allocations: 52 kB / 0.7416 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002376/0.7942, allocations: 112 kB / 0.7418 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003813/0.798, allocations: 1.052 MB / 0.7428 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005427/0.8035, allocations: 1.345 MB / 0.7441 GB, free: 9.242 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009168/0.8126, allocations: 5.545 MB / 0.7495 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004238/0.8169, allocations: 323.7 kB / 0.7498 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001162/0.818, allocations: 342.5 kB / 0.7501 GB, free: 2.914 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 517 * Number of states: 0 () * Number of discrete variables: 46 (axis1.arrowLine.twoHeadedArrow,axis1.headAtOrigin,axis2.arrowLine.twoHeadedArrow,axis2.headAtOrigin,axis1.color[3],axis1.color[2],axis1.color[1],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],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],axis2.color[3],axis2.color[2],axis2.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 (725): * Single equations (assignments): 718 * 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 {(4,11,87.5%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.006342/0.8244, allocations: 2.414 MB / 0.7525 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/0.8254, allocations: 329.8 kB / 0.7528 GB, free: 172 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01169/0.8371, allocations: 5.356 MB / 0.758 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.353e-05/0.8372, allocations: 50.64 kB / 0.7581 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.544e-05/0.8372, allocations: 4 kB / 0.7581 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.33e-05/0.8372, allocations: 11.95 kB / 0.7581 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03059/0.8678, allocations: 13.01 MB / 0.7708 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.502e-05/0.8679, allocations: 16.03 kB / 0.7708 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002176/0.8701, allocations: 431.2 kB / 0.7712 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003185/0.8732, allocations: 0.8863 MB / 0.7721 GB, free: 12.16 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004821/0.8737, allocations: 59.75 kB / 0.7722 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008226/0.882, allocations: 4.827 MB / 0.7769 GB, free: 7.145 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.219e-05/0.882, allocations: 27.81 kB / 0.7769 GB, free: 7.117 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01709/0.8991, allocations: 8.024 MB / 0.7847 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/0.9002, allocations: 382.9 kB / 0.7851 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001193/0.9014, allocations: 51.98 kB / 0.7852 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00225/0.9036, allocations: 155 kB / 0.7853 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007438/0.9043, allocations: 161.6 kB / 0.7855 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003986/0.9047, allocations: 75.98 kB / 0.7855 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.004705/0.9094, allocations: 1.961 MB / 0.7874 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.6e-07/0.9095, allocations: 0 / 0.7874 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.007272/0.9167, allocations: 1.064 MB / 0.7885 GB, free: 11.03 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * Number of states: 6 (planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w) * 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 (208): * Single equations (assignments): 201 * 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 {(3,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01734/0.9341, allocations: 8.698 MB / 0.797 GB, free: 2.113 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01201/0.9461, allocations: 5.772 MB / 0.8026 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.458e-05/0.9461, allocations: 0 / 0.8026 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.00409/0.9502, allocations: 2.108 MB / 0.8047 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/0.9539, allocations: 450.4 kB / 0.8051 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3744/1.328, allocations: 47.01 MB / 0.851 GB, free: 237.8 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00563/1.334, allocations: 3.705 MB / 0.8546 GB, free: 237 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.005484/1.339, allocations: 2.152 MB / 0.8567 GB, free: 237 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004031/1.343, allocations: 2.098 MB / 0.8588 GB, free: 235.5 MB / 0.6544 GB Notification: Performance of SimCode: time 1.392e-06/1.343, allocations: 0 / 0.8588 GB, free: 235.5 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1006/1.444, allocations: 67.12 MB / 0.9243 GB, free: 180 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.49/28.93, allocations: 10.33 kB / 0.9243 GB, free: 180 MB / 0.6544 GB " [Timeout remaining time 631] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.Planar.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: 32.69350511697121]