Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.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.001746/0.001746, allocations: 115.6 kB / 20.43 MB, free: 1.449 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.002187/0.002187, allocations: 213.4 kB / 23.74 MB, free: 4.656 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.465/1.465, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2279/0.2279, allocations: 46.92 MB / 360.9 MB, free: 4.266 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.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 75.89 kB / 0.4961 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2776, allocations: 66.03 MB / 0.5606 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008915/0.2865, allocations: 6.822 MB / 0.5673 GB, free: 13.62 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005255/0.2917, allocations: 2.467 MB / 0.5697 GB, free: 11.15 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009324/0.2927, allocations: 35.88 kB / 0.5697 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002328/0.295, allocations: 1.074 MB / 0.5708 GB, free: 10.04 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002257/0.2972, allocations: 0.8714 MB / 0.5716 GB, free: 9.16 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008004/0.298, allocations: 311.2 kB / 0.5719 GB, free: 8.855 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002487/0.3005, allocations: 1.864 MB / 0.5738 GB, free: 6.988 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.3019, allocations: 1.095 MB / 0.5748 GB, free: 5.871 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.3029, allocations: 0.7122 MB / 0.5755 GB, free: 5.156 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001675/0.3046, allocations: 1.066 MB / 0.5766 GB, free: 4.086 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003246/0.3049, allocations: 128 kB / 0.5767 GB, free: 3.961 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001386/0.3063, allocations: 0.7605 MB / 0.5774 GB, free: 3.199 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001035/0.3074, allocations: 0.9578 MB / 0.5784 GB, free: 2.238 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.3086, allocations: 1.129 MB / 0.5795 GB, free: 1.102 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004637/0.3132, allocations: 3.726 MB / 0.5831 GB, free: 13.36 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.368e-06/0.3132, allocations: 7.984 kB / 0.5831 GB, free: 13.35 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.3132, allocations: 0 / 0.5831 GB, free: 13.35 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.069e-05/0.3133, allocations: 0 / 0.5831 GB, free: 13.35 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.005092/0.3184, allocations: 2.636 MB / 0.5857 GB, free: 10.67 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.3184, allocations: 15.97 kB / 0.5857 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005694/0.319, allocations: 466.3 kB / 0.5861 GB, free: 10.19 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005237/0.3242, allocations: 1.575 MB / 0.5877 GB, free: 8.613 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.3266, allocations: 1.015 MB / 0.5887 GB, free: 7.566 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/0.3267, allocations: 123.3 kB / 0.5888 GB, free: 7.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003574/0.3271, allocations: 155.8 kB / 0.5889 GB, free: 7.293 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009375/0.3365, allocations: 6.186 MB / 0.595 GB, free: 0.6211 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-05/0.3365, allocations: 27.75 kB / 0.595 GB, free: 0.5938 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.3368, allocations: 79.89 kB / 0.5951 GB, free: 0.5156 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002488/0.3392, allocations: 1.437 MB / 0.5965 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009684/0.3489, allocations: 5.393 MB / 0.6018 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03086/0.3798, allocations: 24.71 MB / 0.6259 GB, free: 156 kB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004533/0.3843, allocations: 1.809 MB / 0.6277 GB, free: 14.3 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001308/0.3856, allocations: 0.8824 MB / 0.6285 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003272/0.386, allocations: 91.78 kB / 0.6286 GB, free: 13.32 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.934e-05/0.386, allocations: 50.5 kB / 0.6287 GB, free: 13.26 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/0.386, allocations: 0 / 0.6287 GB, free: 13.26 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02396/0.41, allocations: 8.331 MB / 0.6368 GB, free: 4.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.4101, allocations: 144.5 kB / 0.6369 GB, free: 4.688 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004463/0.4145, allocations: 2.636 MB / 0.6395 GB, free: 2.027 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.4147, allocations: 37.89 kB / 0.6395 GB, free: 1.984 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001689/0.4164, allocations: 2.104 MB / 0.6416 GB, free: 15.86 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005531/0.4169, allocations: 456.6 kB / 0.642 GB, free: 15.41 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001467/0.4184, allocations: 0.8773 MB / 0.6429 GB, free: 14.52 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4185, allocations: 305.1 kB / 0.6432 GB, free: 14.21 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002232/0.4208, allocations: 1.336 MB / 0.6445 GB, free: 12.87 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004804/0.4256, allocations: 4.1 MB / 0.6485 GB, free: 7.367 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007196/0.4328, allocations: 5.94 MB / 0.6543 GB, free: 48 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.8e-05/0.4328, allocations: 28 kB / 0.6543 GB, free: 20 kB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009781/0.4426, allocations: 5.501 MB / 0.6597 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/0.4427, allocations: 48 kB / 0.6597 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001439/0.4429, allocations: 96 kB / 0.6598 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001139/0.444, allocations: 465 kB / 0.6603 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.4469, allocations: 0.9747 MB / 0.6612 GB, free: 8.941 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004526/0.4514, allocations: 3.557 MB / 0.6647 GB, free: 5.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002504/0.4539, allocations: 231.7 kB / 0.6649 GB, free: 5.043 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005284/0.4545, allocations: 280.1 kB / 0.6652 GB, free: 4.77 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.002236/0.4567, allocations: 1.376 MB / 0.6665 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000442/0.4571, allocations: 230.5 kB / 0.6667 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002631/0.4598, allocations: 1.318 MB / 0.668 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-05/0.4598, allocations: 12 kB / 0.668 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.4598, allocations: 4.281 kB / 0.668 GB, free: 1.809 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/0.4598, allocations: 3.984 kB / 0.668 GB, free: 1.805 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008081/0.4679, allocations: 4.178 MB / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.745e-06/0.4679, allocations: 3.938 kB / 0.6721 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006462/0.4686, allocations: 135.8 kB / 0.6723 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008794/0.4694, allocations: 320.5 kB / 0.6726 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.591e-05/0.4695, allocations: 16 kB / 0.6726 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003709/0.4732, allocations: 2.97 MB / 0.6755 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.4732, allocations: 3.938 kB / 0.6755 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004456/0.4777, allocations: 3.076 MB / 0.6785 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004965/0.4782, allocations: 210.3 kB / 0.6787 GB, free: 6.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002855/0.4785, allocations: 16 kB / 0.6787 GB, free: 6.691 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000772/0.4792, allocations: 47.94 kB / 0.6788 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.4794, allocations: 64.27 kB / 0.6788 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.4795, allocations: 28 kB / 0.6788 GB, free: 6.555 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002568/0.482, allocations: 1.628 MB / 0.6804 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.482, allocations: 0 / 0.6804 GB, free: 4.914 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002888/0.4849, allocations: 0.5898 MB / 0.681 GB, free: 4.324 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.004924/0.4898, allocations: 3.691 MB / 0.6846 GB, free: 0.5977 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005056/0.4949, allocations: 3.097 MB / 0.6876 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.4949, allocations: 0 / 0.6876 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001174/0.4961, allocations: 0.8066 MB / 0.6884 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001426/0.4975, allocations: 222 kB / 0.6886 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04096/0.5385, allocations: 28.4 MB / 0.7164 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002668/0.5411, allocations: 2.17 MB / 0.7185 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003099/0.5442, allocations: 1.383 MB / 0.7198 GB, free: 8.746 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001502/0.5457, allocations: 1.023 MB / 0.7208 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of SimCode: time 8.42e-07/0.5457, allocations: 0 / 0.7208 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2869/0.8326, allocations: 42.17 MB / 0.762 GB, free: 135.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.35/21.18, allocations: 0 / 0.762 GB, free: 135.1 MB / 0.5606 GB " [Timeout remaining time 639] (rm -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_MultiBody_Parts_PointMass.fmu > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_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_4.1.0_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.268607539124787]