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.001303/0.001303, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001434/0.001434, allocations: 216.8 kB / 22.99 MB, free: 4.977 MB / 14.72 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 1.518/1.518, allocations: 207.7 MB / 233.8 MB, free: 9.801 MB / 190.1 MB " [Timeout remaining time 178] 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.243/0.243, allocations: 44.27 MB / 330.4 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 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.00245/0.00245, allocations: 75.89 kB / 467.5 MB, free: 4.344 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1626, allocations: 61.05 MB / 0.5162 GB, free: 7.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Planar): time 0.02176/0.1844, allocations: 13.68 MB / 0.5295 GB, free: 9.418 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.012/0.1964, allocations: 4.296 MB / 0.5337 GB, free: 5.109 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/0.2002, allocations: 99.62 kB / 0.5338 GB, free: 5.012 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005825/0.206, allocations: 2.219 MB / 0.536 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007357/0.2133, allocations: 2.144 MB / 0.5381 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002038/0.2154, allocations: 0.6239 MB / 0.5387 GB, free: 8 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.3202/0.5356, allocations: 4.438 MB / 0.543 GB, free: 10.24 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006422/0.542, allocations: 2.752 MB / 0.5457 GB, free: 10.05 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006307/0.5483, allocations: 1.699 MB / 0.5474 GB, free: 9.844 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00665/0.555, allocations: 2.365 MB / 0.5497 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002245/0.5572, allocations: 348.8 kB / 0.55 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.561, allocations: 0.9438 MB / 0.5509 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0038/0.5648, allocations: 2.112 MB / 0.553 GB, free: 9.289 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.5689, allocations: 1.809 MB / 0.5548 GB, free: 8.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01357/0.5825, allocations: 8.143 MB / 0.5627 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.101e-05/0.5825, allocations: 1.406 kB / 0.5627 GB, free: 5.5 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.256e-06/0.5825, allocations: 0 / 0.5627 GB, free: 5.5 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0005422/0.5831, allocations: 3 kB / 0.5627 GB, free: 5.5 MB / 414.1 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.01823/0.6013, allocations: 5.348 MB / 0.5679 GB, free: 2.234 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/0.6013, allocations: 9.906 kB / 0.5679 GB, free: 2.234 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002082/0.6034, allocations: 0.8891 MB / 0.5688 GB, free: 1.676 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01101/0.6144, allocations: 3.244 MB / 0.572 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00984/0.6243, allocations: 2.846 MB / 0.5748 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000623/0.6249, allocations: 260.1 kB / 0.575 GB, free: 14.4 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/0.6273, allocations: 343 kB / 0.5753 GB, free: 14.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03201/0.6593, allocations: 12.65 MB / 0.5877 GB, free: 6.984 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002336/0.6596, allocations: 39.52 kB / 0.5877 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001784/0.6613, allocations: 160 kB / 0.5879 GB, free: 6.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006435/0.6678, allocations: 3.031 MB / 0.5908 GB, free: 3.855 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02982/0.6976, allocations: 11.3 MB / 0.6019 GB, free: 8.684 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08975/0.7873, allocations: 39.96 MB / 0.6409 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01121/0.7985, allocations: 3.613 MB / 0.6444 GB, free: 12.4 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004582/0.8031, allocations: 2.26 MB / 0.6466 GB, free: 10.14 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001191/0.8043, allocations: 444.5 kB / 0.6471 GB, free: 9.711 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.419e-05/0.8044, allocations: 52.56 kB / 0.6471 GB, free: 9.648 MB / 494.1 MB Notification: Performance of pre-optimization done (n=250): time 7.173e-06/0.8044, allocations: 0 / 0.6471 GB, free: 9.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=268): time 0.05642/0.8608, allocations: 19.44 MB / 0.6661 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001221/0.8609, allocations: 99.11 kB / 0.6662 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00913/0.8701, allocations: 3.485 MB / 0.6696 GB, free: 2.543 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.000594/0.8707, allocations: 59.3 kB / 0.6697 GB, free: 2.48 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003845/0.8745, allocations: 3.412 MB / 0.673 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002019/0.8765, allocations: 1.027 MB / 0.674 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003644/0.8802, allocations: 1.21 MB / 0.6752 GB, free: 12.84 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.8803, allocations: 309.1 kB / 0.6755 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005189/0.8855, allocations: 2.483 MB / 0.6779 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0089/0.8944, allocations: 5.885 MB / 0.6836 GB, free: 2.5 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/0.9094, allocations: 9.179 MB / 0.6926 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001709/0.9095, allocations: 36 kB / 0.6926 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=809) (initialization): time 0.02248/0.932, allocations: 9.161 MB / 0.7016 GB, free: 14.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/0.9323, allocations: 56 kB / 0.7016 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002934/0.9326, allocations: 120 kB / 0.7018 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004049/0.9366, allocations: 1.051 MB / 0.7028 GB, free: 13.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006062/0.9427, allocations: 1.396 MB / 0.7041 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00982/0.9525, allocations: 5.396 MB / 0.7094 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006248/0.9587, allocations: 331.5 kB / 0.7097 GB, free: 6.051 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001549/0.9603, allocations: 348 kB / 0.7101 GB, free: 5.711 MB / 0.545 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.007074/0.9674, allocations: 2.491 MB / 0.7125 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001083/0.9684, allocations: 341.7 kB / 0.7128 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01226/0.9807, allocations: 5.364 MB / 0.7181 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.012e-05/0.9808, allocations: 54.64 kB / 0.7181 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-05/0.9808, allocations: 0 / 0.7181 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.239e-05/0.9809, allocations: 15.95 kB / 0.7181 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03299/1.014, allocations: 12.81 MB / 0.7306 GB, free: 420 kB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-05/1.014, allocations: 15.98 kB / 0.7307 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.016, allocations: 419.4 kB / 0.7311 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003212/1.02, allocations: 0.8945 MB / 0.7319 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004864/1.02, allocations: 58.64 kB / 0.732 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00762/1.028, allocations: 4.687 MB / 0.7366 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.822e-05/1.028, allocations: 15.94 kB / 0.7366 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/1.045, allocations: 8.05 MB / 0.7444 GB, free: 1.941 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003227/1.048, allocations: 0.6734 MB / 0.7451 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001164/1.049, allocations: 54.09 kB / 0.7451 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002412/1.051, allocations: 155.7 kB / 0.7453 GB, free: 1.062 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006035/1.052, allocations: 173.4 kB / 0.7455 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003219/1.052, allocations: 77.41 kB / 0.7455 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00543/1.058, allocations: 2.03 MB / 0.7475 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1e-07/1.058, allocations: 0 / 0.7475 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.007447/1.065, allocations: 1.112 MB / 0.7486 GB, free: 13.69 MB / 0.5919 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.01583/1.081, allocations: 8.708 MB / 0.7571 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.3145/1.396, allocations: 5.847 MB / 0.7628 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.137e-05/1.396, allocations: 3.031 kB / 0.7628 GB, free: 202.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.004626/1.4, allocations: 2.102 MB / 0.7649 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005049/1.405, allocations: 441.4 kB / 0.7653 GB, free: 202.6 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0807/1.486, allocations: 48.52 MB / 0.8127 GB, free: 172.8 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004323/1.49, allocations: 3.294 MB / 0.8159 GB, free: 170.1 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005443/1.496, allocations: 2.19 MB / 0.818 GB, free: 167.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003656/1.499, allocations: 2.202 MB / 0.8202 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of SimCode: time 1.363e-06/1.499, allocations: 4 kB / 0.8202 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1195/1.619, allocations: 67.99 MB / 0.8866 GB, free: 97.64 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.03/17.65, allocations: 6.281 kB / 0.8866 GB, free: 97.64 MB / 0.5919 GB " [Timeout remaining time 642] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/MultiBody/Joints/Planar/Planar.csv","/var/lib/jenkins1/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: 21.22169744083658]