Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0008397/0.0008397, allocations: 80.44 kB / 19.93 MB, free: 4.633 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.0009297/0.0009297, allocations: 169.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8786/0.8786, allocations: 158.6 MB / 185 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1343/0.1343, allocations: 32.36 MB / 269.6 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Planar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.794e-06/1.794e-06, allocations: 0 / 406.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.669e-05, allocations: 13.52 kB / 406.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.01022/0.01023, allocations: 13.68 MB / 420.5 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.00865/0.01888, allocations: 4.318 MB / 424.9 MB, free: 11.42 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002324/0.02121, allocations: 91.69 kB / 425 MB, free: 11.33 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002594/0.0238, allocations: 2.32 MB / 427.3 MB, free: 9 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.02683, allocations: 2.217 MB / 429.5 MB, free: 6.773 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000816/0.02764, allocations: 0.682 MB / 430.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002792/0.03044, allocations: 4.812 MB / 435 MB, free: 1.266 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1635/0.1939, allocations: 3.006 MB / 438 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003004/0.1969, allocations: 2.548 MB / 440.5 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002303/0.1992, allocations: 2.457 MB / 443 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003634/0.1996, allocations: 353.2 kB / 443.3 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.2009, allocations: 1.022 MB / 444.4 MB, free: 16.01 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001402/0.2023, allocations: 2.2 MB / 446.6 MB, free: 15.92 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.2034, allocations: 1.376 MB / 447.9 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.2081, allocations: 8.057 MB / 456 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2081, allocations: 7.344 kB / 456 MB, free: 13.74 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2081, allocations: 0 / 456 MB, free: 13.74 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.148e-05/0.2082, allocations: 3.984 kB / 456 MB, free: 13.74 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1914 * Number of variables: 1914 Notification: Performance of Generate backend data structure: time 0.005246/0.2135, allocations: 5.345 MB / 461.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.2135, allocations: 9.938 kB / 461.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000551/0.2141, allocations: 0.8921 MB / 462.3 MB, free: 9.527 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005311/0.2194, allocations: 3.331 MB / 465.6 MB, free: 7.812 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002611/0.222, allocations: 2.592 MB / 468.2 MB, free: 6.441 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.46e-05/0.2221, allocations: 266.6 kB / 468.4 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003701/0.2224, allocations: 346.5 kB / 468.8 MB, free: 6.293 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009439/0.2319, allocations: 12.65 MB / 481.4 MB, free: 11.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.409e-05/0.2319, allocations: 40.84 kB / 481.5 MB, free: 11.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003081/0.2323, allocations: 162 kB / 481.6 MB, free: 10.95 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002954/0.2352, allocations: 2.991 MB / 484.6 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.2466, allocations: 11.3 MB / 495.9 MB, free: 12.83 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03147/0.278, allocations: 40.22 MB / 0.5236 GB, free: 4.137 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004926/0.283, allocations: 3.748 MB / 0.5272 GB, free: 400 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.2848, allocations: 2.253 MB / 0.5294 GB, free: 14.13 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007391/0.2856, allocations: 443.3 kB / 0.5298 GB, free: 13.7 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.2856, allocations: 56.56 kB / 0.5299 GB, free: 13.64 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 4.469e-06/0.2856, allocations: 0 / 0.5299 GB, free: 13.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=268): time 0.02603/0.3116, allocations: 20.08 MB / 0.5495 GB, free: 9.531 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.3117, allocations: 99.11 kB / 0.5496 GB, free: 9.418 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003446/0.3151, allocations: 3.672 MB / 0.5532 GB, free: 5.738 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001116/0.3153, allocations: 60.75 kB / 0.5532 GB, free: 5.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00136/0.3166, allocations: 3.394 MB / 0.5566 GB, free: 2.289 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005311/0.3171, allocations: 1.002 MB / 0.5575 GB, free: 1.301 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.3185, allocations: 1.203 MB / 0.5587 GB, free: 92 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.517e-05/0.3185, allocations: 305.1 kB / 0.559 GB, free: 15.79 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002202/0.3207, allocations: 2.479 MB / 0.5614 GB, free: 13.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003823/0.3246, allocations: 5.883 MB / 0.5672 GB, free: 5.809 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/0.3315, allocations: 9.187 MB / 0.5761 GB, free: 11.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-05/0.3315, allocations: 36 kB / 0.5762 GB, free: 11.27 MB / 490.7 MB Notification: Performance of matching and sorting (n=809) (initialization): time 0.009545/0.341, allocations: 9.16 MB / 0.5851 GB, free: 2.102 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.3411, allocations: 56 kB / 0.5852 GB, free: 2.047 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-05/0.3412, allocations: 116 kB / 0.5853 GB, free: 1.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.3429, allocations: 1.058 MB / 0.5863 GB, free: 0.8711 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00227/0.3451, allocations: 1.396 MB / 0.5877 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004961/0.3501, allocations: 5.395 MB / 0.5929 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002412/0.3525, allocations: 370 kB / 0.5933 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003037/0.3528, allocations: 355.9 kB / 0.5936 GB, free: 9.266 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 539 * Number of states: 0 () * Number of discrete variables: 42 (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 (747): * Single equations (assignments): 740 * 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.003398/0.3562, allocations: 2.488 MB / 0.5961 GB, free: 6.77 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003875/0.3566, allocations: 341.7 kB / 0.5964 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006271/0.3629, allocations: 5.369 MB / 0.6016 GB, free: 1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.882e-05/0.3629, allocations: 42.97 kB / 0.6017 GB, free: 0.9609 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.958e-06/0.3629, allocations: 7.984 kB / 0.6017 GB, free: 0.9531 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/0.3629, allocations: 7.969 kB / 0.6017 GB, free: 0.9453 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01487/0.3778, allocations: 12.88 MB / 0.6143 GB, free: 3.902 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.3778, allocations: 12 kB / 0.6143 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000972/0.3788, allocations: 427.3 kB / 0.6147 GB, free: 3.473 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.3803, allocations: 0.8905 MB / 0.6156 GB, free: 2.578 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.3804, allocations: 58.33 kB / 0.6156 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.185/0.5654, allocations: 4.694 MB / 0.6202 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.36e-05/0.5654, allocations: 18.11 kB / 0.6202 GB, free: 171.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008943/0.5744, allocations: 8.039 MB / 0.6281 GB, free: 169.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/0.5757, allocations: 0.7035 MB / 0.6288 GB, free: 169 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002535/0.576, allocations: 55.31 kB / 0.6288 GB, free: 169 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008828/0.5769, allocations: 184.2 kB / 0.629 GB, free: 169 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002467/0.5771, allocations: 181.8 kB / 0.6292 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001258/0.5772, allocations: 75.52 kB / 0.6292 GB, free: 168.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002604/0.5798, allocations: 2.174 MB / 0.6314 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 7e-08/0.5798, allocations: 0 / 0.6314 GB, free: 168.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.002922/0.5828, allocations: 1.198 MB / 0.6325 GB, free: 168.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (209): * Single equations (assignments): 202 * 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.006934/0.5897, allocations: 8.711 MB / 0.641 GB, free: 164.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004871/0.5946, allocations: 5.847 MB / 0.6467 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5946, allocations: 7.656 kB / 0.6467 GB, free: 162.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.5961, allocations: 2.102 MB / 0.6488 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001318/0.5974, allocations: 444.2 kB / 0.6492 GB, free: 160.9 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03513/0.6325, allocations: 48.91 MB / 0.697 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.6347, allocations: 3.301 MB / 0.7002 GB, free: 107.5 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002462/0.6372, allocations: 2.193 MB / 0.7023 GB, free: 105.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001508/0.6387, allocations: 2.211 MB / 0.7045 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.593e-06/0.6387, allocations: 4 kB / 0.7045 GB, free: 103.1 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06418/0.7029, allocations: 69.71 MB / 0.7726 GB, free: 33.28 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.418/10.12, allocations: 7.906 kB / 0.7726 GB, free: 33.27 MB / 0.5105 GB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_MultiBody_Joints_Planar.fmu > ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.Planar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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.348162550479174]