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.001745/0.001745, allocations: 107 kB / 21.18 MB, free: 0.6484 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.00218/0.00218, allocations: 209 kB / 24.48 MB, free: 3.941 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.475/1.475, allocations: 230.6 MB / 258.2 MB, free: 7.773 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.2263/0.2263, allocations: 46.97 MB / 361.6 MB, free: 4.023 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.002016/0.002016, allocations: 67.88 kB / 0.4973 GB, free: 7.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3138, allocations: 66.04 MB / 0.5618 GB, free: 4.16 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008314/0.3221, allocations: 6.029 MB / 0.5677 GB, free: 14.09 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004677/0.3268, allocations: 2.302 MB / 0.5699 GB, free: 11.79 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004416/0.3272, allocations: 35.88 kB / 0.57 GB, free: 11.75 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002169/0.3294, allocations: 1.035 MB / 0.571 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.3312, allocations: 0.8714 MB / 0.5718 GB, free: 9.836 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007423/0.332, allocations: 311.2 kB / 0.5721 GB, free: 9.531 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002123/0.3341, allocations: 1.861 MB / 0.574 GB, free: 7.668 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001294/0.3354, allocations: 1.094 MB / 0.575 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008704/0.3363, allocations: 0.7239 MB / 0.5757 GB, free: 5.828 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001325/0.3376, allocations: 1.059 MB / 0.5768 GB, free: 4.766 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002652/0.3379, allocations: 132 kB / 0.5769 GB, free: 4.637 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001149/0.339, allocations: 0.6512 MB / 0.5775 GB, free: 3.984 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008789/0.3399, allocations: 0.9462 MB / 0.5785 GB, free: 3.035 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000818/0.3407, allocations: 0.7873 MB / 0.5792 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003967/0.3447, allocations: 3.738 MB / 0.5829 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3447, allocations: 0 / 0.5829 GB, free: 14.49 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3447, allocations: 0 / 0.5829 GB, free: 14.49 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.981e-05/0.3447, allocations: 0 / 0.5829 GB, free: 14.49 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.004438/0.3492, allocations: 2.655 MB / 0.5855 GB, free: 11.79 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.3492, allocations: 12.03 kB / 0.5855 GB, free: 11.78 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005326/0.3545, allocations: 1.582 MB / 0.587 GB, free: 10.2 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0023/0.3568, allocations: 1.019 MB / 0.588 GB, free: 9.145 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.651e-05/0.3569, allocations: 119.3 kB / 0.5881 GB, free: 9.027 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003404/0.3573, allocations: 160 kB / 0.5883 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009556/0.3668, allocations: 6.186 MB / 0.5943 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.526e-05/0.3669, allocations: 23.75 kB / 0.5943 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002319/0.3671, allocations: 79.89 kB / 0.5944 GB, free: 2.098 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00251/0.3696, allocations: 1.448 MB / 0.5958 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009631/0.3793, allocations: 5.377 MB / 0.6011 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02825/0.4075, allocations: 23.34 MB / 0.6239 GB, free: 3.133 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004374/0.4119, allocations: 1.814 MB / 0.6256 GB, free: 1.285 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001159/0.413, allocations: 0.8785 MB / 0.6265 GB, free: 404 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002584/0.4133, allocations: 95.72 kB / 0.6266 GB, free: 308 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.4133, allocations: 46.5 kB / 0.6266 GB, free: 252 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.276e-06/0.4133, allocations: 0 / 0.6266 GB, free: 252 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02325/0.4366, allocations: 8.345 MB / 0.6348 GB, free: 7.828 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.988e-05/0.4367, allocations: 136.5 kB / 0.6349 GB, free: 7.664 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003239/0.4399, allocations: 2.449 MB / 0.6373 GB, free: 5.172 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 8.893e-05/0.44, allocations: 41.7 kB / 0.6374 GB, free: 5.125 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001632/0.4416, allocations: 2.143 MB / 0.6394 GB, free: 2.957 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004425/0.4421, allocations: 460.5 kB / 0.6399 GB, free: 2.504 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001106/0.4432, allocations: 0.8734 MB / 0.6407 GB, free: 1.617 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.4434, allocations: 334 kB / 0.6411 GB, free: 1.285 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001993/0.4454, allocations: 1.336 MB / 0.6424 GB, free: 15.94 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00458/0.4499, allocations: 4.108 MB / 0.6464 GB, free: 10.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008074/0.458, allocations: 5.937 MB / 0.6522 GB, free: 3.109 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.934e-05/0.4581, allocations: 28 kB / 0.6522 GB, free: 3.082 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01106/0.4692, allocations: 5.469 MB / 0.6575 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000111/0.4693, allocations: 48 kB / 0.6576 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/0.4694, allocations: 96 kB / 0.6577 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.4708, allocations: 456.5 kB / 0.6581 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.4737, allocations: 0.9786 MB / 0.6591 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004787/0.4785, allocations: 3.519 MB / 0.6625 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002502/0.481, allocations: 231.7 kB / 0.6627 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004286/0.4815, allocations: 276 kB / 0.663 GB, free: 7.922 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.001978/0.4834, allocations: 1.367 MB / 0.6643 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.4838, allocations: 206.6 kB / 0.6645 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002687/0.4865, allocations: 1.295 MB / 0.6658 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.337e-05/0.4865, allocations: 12 kB / 0.6658 GB, free: 5.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.4865, allocations: 4 kB / 0.6658 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.155e-05/0.4865, allocations: 3.984 kB / 0.6658 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007243/0.4938, allocations: 3.608 MB / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.4938, allocations: 0 / 0.6693 GB, free: 1.352 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006557/0.4944, allocations: 143.8 kB / 0.6695 GB, free: 1.211 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009669/0.4954, allocations: 324.5 kB / 0.6698 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-05/0.4955, allocations: 12 kB / 0.6698 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003976/0.4994, allocations: 2.92 MB / 0.6726 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.4995, allocations: 7.938 kB / 0.6726 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004635/0.5041, allocations: 3.049 MB / 0.6756 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003884/0.5045, allocations: 178.7 kB / 0.6758 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002023/0.5047, allocations: 19.94 kB / 0.6758 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000707/0.5054, allocations: 43.94 kB / 0.6759 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001465/0.5055, allocations: 60.27 kB / 0.6759 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-05/0.5056, allocations: 28 kB / 0.6759 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002084/0.5077, allocations: 1.374 MB / 0.6773 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5077, allocations: 0 / 0.6773 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002959/0.5106, allocations: 0.582 MB / 0.6778 GB, free: 8.477 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.0003221/0.511, allocations: 139 kB / 0.678 GB, free: 8.332 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00508/0.5161, allocations: 3.098 MB / 0.681 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.5161, allocations: 0 / 0.681 GB, free: 5.242 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.5173, allocations: 0.811 MB / 0.6818 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001154/0.5184, allocations: 171 kB / 0.682 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01015/0.5286, allocations: 5.526 MB / 0.6874 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002239/0.5308, allocations: 1.601 MB / 0.6889 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003297/0.5341, allocations: 1.35 MB / 0.6902 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004035/0.5345, allocations: 147.4 kB / 0.6904 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of SimCode: time 1.533e-06/0.5345, allocations: 0 / 0.6904 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of Templates: time 0.04164/0.5762, allocations: 20.69 MB / 0.7106 GB, free: 7.105 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 gbode -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: 5.863349577994086]