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.001423/0.001423, allocations: 75.73 kB / 21.24 MB, free: 400 kB / 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.001541/0.001541, allocations: 166.8 kB / 24.5 MB, free: 3.457 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.834/1.834, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.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.2117/0.2117, allocations: 34.26 MB / 295.5 MB, free: 14.59 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: translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") translateModel(ModelicaTest.MultiBody.Parts.PointMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002092/0.002092, allocations: 63.88 kB / 443.1 MB, free: 6.711 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3168, allocations: 66.01 MB / 0.4972 GB, free: 29.85 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005623/0.3224, allocations: 6.048 MB / 0.5031 GB, free: 25.9 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003587/0.326, allocations: 2.305 MB / 0.5054 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004838/0.3265, allocations: 37.25 kB / 0.5054 GB, free: 24.44 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001703/0.3282, allocations: 1.029 MB / 0.5064 GB, free: 24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001499/0.3297, allocations: 0.8617 MB / 0.5073 GB, free: 23.6 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000649/0.3303, allocations: 309.9 kB / 0.5075 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001693/0.332, allocations: 1.871 MB / 0.5094 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009205/0.3329, allocations: 1.092 MB / 0.5104 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006809/0.3336, allocations: 0.7244 MB / 0.5111 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001471/0.3351, allocations: 1.018 MB / 0.5121 GB, free: 21.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.3354, allocations: 128.6 kB / 0.5123 GB, free: 21.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001195/0.3366, allocations: 0.6374 MB / 0.5129 GB, free: 21.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008114/0.3374, allocations: 0.9476 MB / 0.5138 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007547/0.3382, allocations: 0.7936 MB / 0.5146 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004731/0.3429, allocations: 3.735 MB / 0.5182 GB, free: 19.15 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.3429, allocations: 4.656 kB / 0.5182 GB, free: 19.15 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3429, allocations: 1.312 kB / 0.5182 GB, free: 19.15 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001128/0.343, allocations: 0 / 0.5182 GB, free: 19.15 MB / 446.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.005786/0.3488, allocations: 2.648 MB / 0.5208 GB, free: 17.53 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.3488, allocations: 9 kB / 0.5208 GB, free: 17.53 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006048/0.3549, allocations: 1.62 MB / 0.5224 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002748/0.3576, allocations: 1.028 MB / 0.5234 GB, free: 16.69 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.977e-05/0.3577, allocations: 115.1 kB / 0.5235 GB, free: 16.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003681/0.3581, allocations: 163 kB / 0.5237 GB, free: 16.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01059/0.3687, allocations: 6.185 MB / 0.5297 GB, free: 13.57 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.538e-05/0.3688, allocations: 23.56 kB / 0.5297 GB, free: 13.55 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002425/0.369, allocations: 82 kB / 0.5298 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002869/0.3719, allocations: 1.443 MB / 0.5312 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.3826, allocations: 5.387 MB / 0.5365 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02824/0.4108, allocations: 23.42 MB / 0.5594 GB, free: 4.742 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.4157, allocations: 1.863 MB / 0.5612 GB, free: 2.844 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001298/0.417, allocations: 0.8824 MB / 0.562 GB, free: 1.949 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002542/0.4172, allocations: 87.8 kB / 0.5621 GB, free: 1.863 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.4173, allocations: 50.44 kB / 0.5622 GB, free: 1.805 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.085e-06/0.4173, allocations: 0 / 0.5622 GB, free: 1.805 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02453/0.4418, allocations: 8.601 MB / 0.5706 GB, free: 9.137 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.62e-05/0.4419, allocations: 136.5 kB / 0.5707 GB, free: 8.973 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003382/0.4453, allocations: 2.449 MB / 0.5731 GB, free: 6.48 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002078/0.4455, allocations: 45.69 kB / 0.5731 GB, free: 6.43 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001787/0.4473, allocations: 2.135 MB / 0.5752 GB, free: 4.27 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006426/0.4479, allocations: 456.6 kB / 0.5757 GB, free: 3.82 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001223/0.4491, allocations: 0.8734 MB / 0.5765 GB, free: 2.934 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.4493, allocations: 337.9 kB / 0.5768 GB, free: 2.598 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002175/0.4515, allocations: 1.336 MB / 0.5781 GB, free: 1.254 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004639/0.4561, allocations: 4.108 MB / 0.5822 GB, free: 11.74 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008238/0.4644, allocations: 5.942 MB / 0.588 GB, free: 4.414 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.874e-05/0.4645, allocations: 28 kB / 0.588 GB, free: 4.387 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01054/0.475, allocations: 5.47 MB / 0.5933 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.205e-05/0.4751, allocations: 48 kB / 0.5934 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001109/0.4752, allocations: 96 kB / 0.5935 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4764, allocations: 464.9 kB / 0.5939 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003024/0.4794, allocations: 0.9708 MB / 0.5949 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004789/0.4842, allocations: 3.519 MB / 0.5983 GB, free: 9.723 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002665/0.4868, allocations: 227.7 kB / 0.5985 GB, free: 9.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004204/0.4873, allocations: 276 kB / 0.5988 GB, free: 9.23 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.002334/0.4896, allocations: 1.361 MB / 0.6001 GB, free: 7.855 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/0.49, allocations: 202.6 kB / 0.6003 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002633/0.4926, allocations: 1.301 MB / 0.6016 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.245e-05/0.4926, allocations: 15.94 kB / 0.6016 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.4926, allocations: 4 kB / 0.6016 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4926, allocations: 3.984 kB / 0.6016 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/0.4998, allocations: 3.627 MB / 0.6051 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.4998, allocations: 0 / 0.6051 GB, free: 2.641 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006695/0.5005, allocations: 143.8 kB / 0.6053 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009104/0.5014, allocations: 312.6 kB / 0.6056 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.096e-05/0.5015, allocations: 19.98 kB / 0.6056 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003919/0.5054, allocations: 2.924 MB / 0.6084 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.5054, allocations: 0 / 0.6084 GB, free: 15.14 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004624/0.51, allocations: 3.057 MB / 0.6114 GB, free: 12.06 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004651/0.5105, allocations: 174.5 kB / 0.6116 GB, free: 11.89 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.5107, allocations: 19.94 kB / 0.6116 GB, free: 11.87 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006999/0.5114, allocations: 43.94 kB / 0.6117 GB, free: 11.83 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.5115, allocations: 56.39 kB / 0.6117 GB, free: 11.77 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.5116, allocations: 28 kB / 0.6117 GB, free: 11.75 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.002182/0.5138, allocations: 1.378 MB / 0.6131 GB, free: 10.35 MB / 0.5138 GB Notification: Performance of sort global known variables: time 8e-08/0.5138, allocations: 4 kB / 0.6131 GB, free: 10.34 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.003129/0.5169, allocations: 0.5819 MB / 0.6137 GB, free: 9.762 MB / 0.5138 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.0003225/0.5172, allocations: 143 kB / 0.6138 GB, free: 9.613 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.005146/0.5224, allocations: 3.096 MB / 0.6168 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.5224, allocations: 0 / 0.6168 GB, free: 6.527 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.5237, allocations: 0.8099 MB / 0.6176 GB, free: 5.703 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.5249, allocations: 174.7 kB / 0.6178 GB, free: 5.531 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009778/0.5346, allocations: 5.522 MB / 0.6232 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002229/0.5369, allocations: 1.59 MB / 0.6247 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003023/0.5399, allocations: 1.37 MB / 0.6261 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003673/0.5403, allocations: 144.5 kB / 0.6262 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of SimCode: time 8.42e-07/0.5403, allocations: 0 / 0.6262 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of Templates: time 0.03618/0.5764, allocations: 16.3 MB / 0.6421 GB, free: 12.78 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (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 & ./ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] 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: 6.277066217036918]