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.0008928/0.0008928, allocations: 79.7 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008742/0.0008742, allocations: 170 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.9061/0.9061, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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.2631/0.2631, allocations: 34.25 MB / 294.9 MB, free: 0.6953 MB / 266.7 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 1.934e-06/1.934e-06, allocations: 0 / 442.2 MB, free: 1.641 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.523e-05, allocations: 4.391 kB / 442.2 MB, free: 1.637 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.1789/0.1789, allocations: 13.01 MB / 455.2 MB, free: 36.87 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00753/0.1865, allocations: 4.229 MB / 459.4 MB, free: 34.23 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002286/0.1887, allocations: 91.94 kB / 459.5 MB, free: 34.2 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002791/0.1915, allocations: 2.288 MB / 461.8 MB, free: 33.24 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003755/0.1953, allocations: 2.11 MB / 463.9 MB, free: 32.3 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.1963, allocations: 0.6761 MB / 464.6 MB, free: 32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.003732/0.2001, allocations: 4.692 MB / 469.3 MB, free: 30.18 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002479/0.2026, allocations: 2.937 MB / 472.2 MB, free: 28.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002534/0.2051, allocations: 2.43 MB / 474.6 MB, free: 27.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002097/0.2072, allocations: 2.396 MB / 477 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004648/0.2077, allocations: 345.6 kB / 477.4 MB, free: 27.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.209, allocations: 1.006 MB / 478.4 MB, free: 27.05 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009826/0.21, allocations: 2.089 MB / 480.5 MB, free: 26.15 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.2112, allocations: 1.31 MB / 481.8 MB, free: 25.5 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008328/0.2195, allocations: 7.756 MB / 489.5 MB, free: 22.78 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.456e-06/0.2195, allocations: 0.7031 kB / 489.5 MB, free: 22.78 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.2195, allocations: 0 / 489.5 MB, free: 22.78 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003583/0.2199, allocations: 1.312 kB / 489.5 MB, free: 22.78 MB / 410.7 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.01198/0.2319, allocations: 5.138 MB / 494.7 MB, free: 19.83 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.2319, allocations: 14.33 kB / 494.7 MB, free: 19.82 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001408/0.2333, allocations: 0.8585 MB / 495.6 MB, free: 19.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006669/0.24, allocations: 3.276 MB / 498.8 MB, free: 18.51 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004776/0.2448, allocations: 2.39 MB / 0.4895 GB, free: 17.04 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.2449, allocations: 251.5 kB / 0.4897 GB, free: 16.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001149/0.2461, allocations: 325.2 kB / 0.49 GB, free: 16.8 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01579/0.2619, allocations: 12.25 MB / 0.502 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.517e-05/0.262, allocations: 35.69 kB / 0.502 GB, free: 8.375 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003431/0.2623, allocations: 159.8 kB / 0.5022 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002392/0.2647, allocations: 2.848 MB / 0.505 GB, free: 5.367 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01581/0.2805, allocations: 11.1 MB / 0.5158 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04388/0.3244, allocations: 38.66 MB / 0.5536 GB, free: 2.602 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006279/0.3307, allocations: 3.725 MB / 0.5572 GB, free: 14.87 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002326/0.333, allocations: 2.258 MB / 0.5594 GB, free: 12.62 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005665/0.3336, allocations: 441.3 kB / 0.5598 GB, free: 12.18 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.258e-05/0.3336, allocations: 56.56 kB / 0.5599 GB, free: 12.12 MB / 474.7 MB Notification: Performance of pre-optimization done (n=249): time 5.571e-06/0.3336, allocations: 0 / 0.5599 GB, free: 12.12 MB / 474.7 MB Notification: Performance of matching and sorting (n=267): time 0.02889/0.3625, allocations: 19.09 MB / 0.5785 GB, free: 8.965 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.037e-05/0.3626, allocations: 77.41 kB / 0.5786 GB, free: 8.879 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.3669, allocations: 3.522 MB / 0.582 GB, free: 5.344 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003238/0.3672, allocations: 61.7 kB / 0.5821 GB, free: 5.277 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001927/0.3691, allocations: 3.218 MB / 0.5852 GB, free: 2.031 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009095/0.37, allocations: 0.9997 MB / 0.5862 GB, free: 1.023 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001245/0.3713, allocations: 1.176 MB / 0.5873 GB, free: 15.83 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/0.3714, allocations: 305.1 kB / 0.5876 GB, free: 15.53 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/0.374, allocations: 2.456 MB / 0.59 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00461/0.3786, allocations: 5.723 MB / 0.5956 GB, free: 5.742 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008578/0.3872, allocations: 8.969 MB / 0.6044 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-05/0.3873, allocations: 36 kB / 0.6044 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=787) (initialization): time 0.01135/0.3986, allocations: 8.987 MB / 0.6132 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.245e-05/0.3987, allocations: 52 kB / 0.6132 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/0.3988, allocations: 116 kB / 0.6134 GB, free: 1.98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00174/0.4005, allocations: 1.049 MB / 0.6144 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002449/0.403, allocations: 1.349 MB / 0.6157 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005144/0.4081, allocations: 5.404 MB / 0.621 GB, free: 10.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002649/0.4108, allocations: 355.7 kB / 0.6213 GB, free: 9.719 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004003/0.4112, allocations: 336 kB / 0.6216 GB, free: 9.391 MB / 0.5261 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.004291/0.4155, allocations: 2.411 MB / 0.624 GB, free: 6.969 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006225/0.4161, allocations: 329.7 kB / 0.6243 GB, free: 6.645 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005878/0.422, allocations: 5.36 MB / 0.6295 GB, free: 1.223 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.864e-05/0.422, allocations: 51.98 kB / 0.6296 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.422, allocations: 0 / 0.6296 GB, free: 1.172 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/0.422, allocations: 7.969 kB / 0.6296 GB, free: 1.164 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2031/0.6251, allocations: 12.59 MB / 0.6419 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.31e-05/0.6252, allocations: 8.875 kB / 0.6419 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009437/0.6261, allocations: 425.7 kB / 0.6423 GB, free: 148.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00141/0.6275, allocations: 0.8863 MB / 0.6432 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001494/0.6277, allocations: 55.19 kB / 0.6432 GB, free: 148.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003358/0.631, allocations: 4.706 MB / 0.6478 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.631, allocations: 23.31 kB / 0.6478 GB, free: 146 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006673/0.6377, allocations: 8.003 MB / 0.6557 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008588/0.6386, allocations: 325.6 kB / 0.656 GB, free: 143 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002635/0.6388, allocations: 52.88 kB / 0.656 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008076/0.6396, allocations: 181.6 kB / 0.6562 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/0.6399, allocations: 173.2 kB / 0.6564 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.64, allocations: 83.33 kB / 0.6564 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002484/0.6425, allocations: 2.084 MB / 0.6585 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6425, allocations: 4.688 kB / 0.6585 GB, free: 142.2 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004316/0.6468, allocations: 1.137 MB / 0.6596 GB, free: 142 MB / 0.5261 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.008557/0.6553, allocations: 8.681 MB / 0.6681 GB, free: 138.5 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.006427/0.6618, allocations: 5.769 MB / 0.6737 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.277e-05/0.6618, allocations: 1.781 kB / 0.6737 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001893/0.6637, allocations: 2.103 MB / 0.6757 GB, free: 135.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001962/0.6656, allocations: 451.2 kB / 0.6762 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04634/0.712, allocations: 47.43 MB / 0.7225 GB, free: 92.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002704/0.7147, allocations: 3.181 MB / 0.7256 GB, free: 89.25 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002621/0.7173, allocations: 2.164 MB / 0.7277 GB, free: 87.08 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001514/0.7188, allocations: 2.105 MB / 0.7298 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.222e-06/0.7188, allocations: 0 / 0.7298 GB, free: 84.98 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07017/0.789, allocations: 68.53 MB / 0.7967 GB, free: 17.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.633/10.42, allocations: 14.45 kB / 0.7967 GB, free: 17.09 MB / 0.5261 GB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/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: 12.73764136992395]