Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00144/0.00144, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001582/0.001582, allocations: 208.7 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.441/1.441, allocations: 230.5 MB / 258.2 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2173/0.2173, allocations: 46.95 MB / 361.6 MB, free: 3.941 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00221/0.00221, allocations: 79.88 kB / 0.4969 GB, free: 7.586 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2889, allocations: 66.09 MB / 0.5614 GB, free: 4.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.007694/0.2966, allocations: 5.997 MB / 0.5673 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004574/0.3012, allocations: 2.292 MB / 0.5695 GB, free: 11.72 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006699/0.3019, allocations: 39.81 kB / 0.5696 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.3039, allocations: 1.028 MB / 0.5706 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001891/0.3058, allocations: 0.8714 MB / 0.5714 GB, free: 9.777 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007248/0.3066, allocations: 311.2 kB / 0.5717 GB, free: 9.473 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.3088, allocations: 1.868 MB / 0.5735 GB, free: 7.602 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001313/0.3101, allocations: 1.095 MB / 0.5746 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008603/0.311, allocations: 0.7122 MB / 0.5753 GB, free: 5.766 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001336/0.3123, allocations: 1.067 MB / 0.5763 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.3126, allocations: 128 kB / 0.5765 GB, free: 4.57 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001182/0.3138, allocations: 0.6512 MB / 0.5771 GB, free: 3.918 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008877/0.3147, allocations: 0.9424 MB / 0.578 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008543/0.3155, allocations: 0.7951 MB / 0.5788 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003869/0.3194, allocations: 3.742 MB / 0.5824 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.91e-06/0.3194, allocations: 0 / 0.5824 GB, free: 14.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3194, allocations: 0 / 0.5824 GB, free: 14.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.455e-05/0.3195, allocations: 0 / 0.5824 GB, free: 14.41 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: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.004444/0.3239, allocations: 2.651 MB / 0.585 GB, free: 11.72 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.3239, allocations: 8.031 kB / 0.585 GB, free: 11.71 MB / 430.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.149e-05/0.324, allocations: 59.2 kB / 0.5851 GB, free: 11.65 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005043/0.3245, allocations: 454.4 kB / 0.5855 GB, free: 11.2 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005043/0.3295, allocations: 1.582 MB / 0.5871 GB, free: 9.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/0.3315, allocations: 1.027 MB / 0.5881 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.421e-05/0.3315, allocations: 123 kB / 0.5882 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003266/0.3319, allocations: 155.8 kB / 0.5883 GB, free: 8.281 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009246/0.3411, allocations: 6.174 MB / 0.5944 GB, free: 1.621 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.14e-05/0.3412, allocations: 31.75 kB / 0.5944 GB, free: 1.59 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002379/0.3414, allocations: 83.89 kB / 0.5945 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/0.3438, allocations: 1.437 MB / 0.5959 GB, free: 68 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/0.3532, allocations: 5.404 MB / 0.6012 GB, free: 10.66 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0271/0.3803, allocations: 23.87 MB / 0.6245 GB, free: 1.984 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004244/0.3846, allocations: 1.821 MB / 0.6263 GB, free: 132 kB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001144/0.3857, allocations: 0.8824 MB / 0.6271 GB, free: 15.23 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.3859, allocations: 87.8 kB / 0.6272 GB, free: 15.15 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/0.386, allocations: 42.56 kB / 0.6272 GB, free: 15.1 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.326e-06/0.386, allocations: 0 / 0.6272 GB, free: 15.1 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.0218/0.4078, allocations: 8.377 MB / 0.6354 GB, free: 6.645 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.435e-05/0.4079, allocations: 148.5 kB / 0.6356 GB, free: 6.469 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003484/0.4114, allocations: 2.64 MB / 0.6381 GB, free: 3.805 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.4115, allocations: 37.7 kB / 0.6382 GB, free: 3.762 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001601/0.4131, allocations: 2.104 MB / 0.6402 GB, free: 1.637 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004663/0.4135, allocations: 452.6 kB / 0.6407 GB, free: 1.191 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001103/0.4146, allocations: 0.8812 MB / 0.6415 GB, free: 304 kB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.4148, allocations: 301.1 kB / 0.6418 GB, free: 0 / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001925/0.4167, allocations: 1.332 MB / 0.6431 GB, free: 14.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004283/0.421, allocations: 4.108 MB / 0.6471 GB, free: 9.148 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007187/0.4282, allocations: 5.934 MB / 0.6529 GB, free: 1.832 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.989e-05/0.4282, allocations: 28 kB / 0.6529 GB, free: 1.805 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.008925/0.4371, allocations: 5.497 MB / 0.6583 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.518e-05/0.4372, allocations: 48.22 kB / 0.6584 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001002/0.4373, allocations: 104 kB / 0.6585 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.4384, allocations: 456.5 kB / 0.6589 GB, free: 11.7 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002593/0.441, allocations: 0.9789 MB / 0.6599 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004532/0.4455, allocations: 3.543 MB / 0.6633 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002478/0.448, allocations: 235.7 kB / 0.6635 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003813/0.4484, allocations: 268 kB / 0.6638 GB, free: 6.574 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 450 * Number of states: 0 () * Number of discrete variables: 21 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (527): * Single equations (assignments): 523 * Array equations: 3 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001912/0.4503, allocations: 1.369 MB / 0.6651 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003624/0.4506, allocations: 234.4 kB / 0.6654 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002407/0.453, allocations: 1.314 MB / 0.6666 GB, free: 3.629 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.65e-05/0.4531, allocations: 19.98 kB / 0.6667 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.4531, allocations: 4 kB / 0.6667 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.4531, allocations: 7.984 kB / 0.6667 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00731/0.4604, allocations: 3.998 MB / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/0.4604, allocations: 0 / 0.6706 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006366/0.461, allocations: 139.8 kB / 0.6707 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008828/0.4619, allocations: 312.6 kB / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.731e-05/0.462, allocations: 27.92 kB / 0.671 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003684/0.4657, allocations: 2.939 MB / 0.6739 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4657, allocations: 320 / 0.6739 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/0.4701, allocations: 3.081 MB / 0.6769 GB, free: 8.91 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004814/0.4706, allocations: 206.3 kB / 0.6771 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002134/0.4708, allocations: 24.06 kB / 0.6771 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000754/0.4715, allocations: 52.06 kB / 0.6772 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001526/0.4717, allocations: 60.2 kB / 0.6772 GB, free: 8.574 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-05/0.4718, allocations: 28 kB / 0.6773 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002397/0.4742, allocations: 1.628 MB / 0.6789 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.4742, allocations: 192 / 0.6789 GB, free: 6.906 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002984/0.4772, allocations: 0.5859 MB / 0.6794 GB, free: 6.32 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.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 (77): * Single equations (assignments): 73 * Array equations: 3 * 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,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00494/0.4821, allocations: 3.699 MB / 0.683 GB, free: 2.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005142/0.4872, allocations: 3.102 MB / 0.6861 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.4872, allocations: 0 / 0.6861 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.4884, allocations: 0.8096 MB / 0.6869 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001456/0.4899, allocations: 216.4 kB / 0.6871 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04183/0.5317, allocations: 28.4 MB / 0.7148 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.5338, allocations: 1.598 MB / 0.7164 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002877/0.5366, allocations: 1.379 MB / 0.7177 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001404/0.5381, allocations: 1.026 MB / 0.7187 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of SimCode: time 1.152e-06/0.5381, allocations: 0 / 0.7187 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2856/0.8236, allocations: 39.9 MB / 0.7577 GB, free: 140.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.01/20.84, allocations: 7.625 kB / 0.7577 GB, free: 140.3 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.PointMass.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.310553919058293]