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.001444/0.001444, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001553/0.001553, allocations: 210.3 kB / 23.73 MB, free: 4.379 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.472/1.472, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2413/0.2413, allocations: 46.96 MB / 360.9 MB, free: 4.137 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.00219/0.00219, allocations: 67.91 kB / 0.4966 GB, free: 7.242 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3303, allocations: 66.03 MB / 0.5611 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008457/0.3387, allocations: 6.036 MB / 0.567 GB, free: 14.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004787/0.3435, allocations: 2.31 MB / 0.5692 GB, free: 11.81 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005288/0.344, allocations: 31.88 kB / 0.5693 GB, free: 11.78 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002183/0.3462, allocations: 1.035 MB / 0.5703 GB, free: 10.74 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001953/0.3482, allocations: 0.8636 MB / 0.5711 GB, free: 9.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007645/0.3489, allocations: 311.3 kB / 0.5714 GB, free: 9.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002405/0.3513, allocations: 1.86 MB / 0.5732 GB, free: 7.707 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.3527, allocations: 1.098 MB / 0.5743 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009349/0.3536, allocations: 0.7238 MB / 0.575 GB, free: 5.863 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001462/0.3551, allocations: 1.063 MB / 0.576 GB, free: 4.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002291/0.3553, allocations: 132 kB / 0.5762 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001153/0.3565, allocations: 0.6473 MB / 0.5768 GB, free: 4.02 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008778/0.3574, allocations: 0.9424 MB / 0.5777 GB, free: 3.074 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008044/0.3582, allocations: 0.7912 MB / 0.5785 GB, free: 2.277 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004001/0.3622, allocations: 3.73 MB / 0.5821 GB, free: 14.54 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.674e-06/0.3622, allocations: 4 kB / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.3622, allocations: 3.938 kB / 0.5821 GB, free: 14.53 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.321e-05/0.3622, allocations: 0 / 0.5821 GB, free: 14.53 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.005169/0.3674, allocations: 2.651 MB / 0.5847 GB, free: 11.83 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.725e-05/0.3674, allocations: 8.031 kB / 0.5847 GB, free: 11.82 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005292/0.3727, allocations: 1.586 MB / 0.5863 GB, free: 10.23 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002789/0.3755, allocations: 1.019 MB / 0.5873 GB, free: 9.184 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.3756, allocations: 115.3 kB / 0.5874 GB, free: 9.07 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003499/0.376, allocations: 164 kB / 0.5875 GB, free: 8.91 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01058/0.3866, allocations: 6.182 MB / 0.5936 GB, free: 2.242 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.036e-05/0.3866, allocations: 35.67 kB / 0.5936 GB, free: 2.207 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.3869, allocations: 79.89 kB / 0.5937 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002593/0.3895, allocations: 1.437 MB / 0.5951 GB, free: 0.6875 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01007/0.3995, allocations: 5.373 MB / 0.6003 GB, free: 11.31 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.4293, allocations: 23.35 MB / 0.6231 GB, free: 3.168 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004561/0.4339, allocations: 1.806 MB / 0.6249 GB, free: 1.328 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001227/0.4351, allocations: 0.8785 MB / 0.6258 GB, free: 448 kB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002676/0.4353, allocations: 87.8 kB / 0.6258 GB, free: 360 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.643e-05/0.4354, allocations: 54.48 kB / 0.6259 GB, free: 296 kB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.477e-06/0.4354, allocations: 4 kB / 0.6259 GB, free: 292 kB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02499/0.4604, allocations: 8.352 MB / 0.6341 GB, free: 7.859 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.4605, allocations: 136.5 kB / 0.6342 GB, free: 7.695 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005042/0.4656, allocations: 2.449 MB / 0.6366 GB, free: 5.203 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.4658, allocations: 41.7 kB / 0.6366 GB, free: 5.156 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001806/0.4676, allocations: 2.135 MB / 0.6387 GB, free: 2.996 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005106/0.4681, allocations: 460.6 kB / 0.6391 GB, free: 2.543 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001337/0.4694, allocations: 0.8734 MB / 0.64 GB, free: 1.656 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.4697, allocations: 337.9 kB / 0.6403 GB, free: 1.32 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.4718, allocations: 1.336 MB / 0.6416 GB, free: 15.98 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004792/0.4766, allocations: 4.1 MB / 0.6456 GB, free: 10.47 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007875/0.4845, allocations: 5.941 MB / 0.6514 GB, free: 3.152 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.745e-05/0.4846, allocations: 28 kB / 0.6515 GB, free: 3.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009928/0.4945, allocations: 5.472 MB / 0.6568 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.487e-05/0.4946, allocations: 44 kB / 0.6568 GB, free: 13.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001239/0.4947, allocations: 100 kB / 0.6569 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001204/0.4959, allocations: 461.1 kB / 0.6574 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003034/0.499, allocations: 0.9708 MB / 0.6583 GB, free: 12.08 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004642/0.5036, allocations: 3.527 MB / 0.6618 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002564/0.5062, allocations: 227.8 kB / 0.662 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/0.5066, allocations: 271.9 kB / 0.6622 GB, free: 7.961 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.001982/0.5086, allocations: 1.368 MB / 0.6636 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003526/0.5089, allocations: 202.6 kB / 0.6638 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002404/0.5113, allocations: 1.295 MB / 0.665 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.707e-05/0.5114, allocations: 15.98 kB / 0.6651 GB, free: 5.055 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/0.5114, allocations: 4 kB / 0.6651 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/0.5114, allocations: 3.984 kB / 0.6651 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007288/0.5187, allocations: 3.608 MB / 0.6686 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/0.5187, allocations: 0 / 0.6686 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006747/0.5193, allocations: 139.8 kB / 0.6687 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009395/0.5203, allocations: 320.5 kB / 0.669 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/0.5204, allocations: 16 kB / 0.669 GB, free: 0.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003645/0.524, allocations: 2.924 MB / 0.6719 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.524, allocations: 3.938 kB / 0.6719 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00464/0.5286, allocations: 3.047 MB / 0.6749 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006003/0.5292, allocations: 174.6 kB / 0.675 GB, free: 10.64 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002049/0.5295, allocations: 19.94 kB / 0.6751 GB, free: 10.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000706/0.5302, allocations: 47.94 kB / 0.6751 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.5303, allocations: 56.28 kB / 0.6752 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.736e-05/0.5304, allocations: 31.97 kB / 0.6752 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002069/0.5325, allocations: 1.374 MB / 0.6765 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8.1e-08/0.5325, allocations: 0 / 0.6765 GB, free: 9.098 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003295/0.5358, allocations: 0.5781 MB / 0.6771 GB, free: 8.52 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.0003285/0.5361, allocations: 143 kB / 0.6772 GB, free: 8.371 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005116/0.5412, allocations: 3.1 MB / 0.6803 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.217e-05/0.5412, allocations: 8 kB / 0.6803 GB, free: 5.273 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/0.5425, allocations: 0.8018 MB / 0.6811 GB, free: 4.461 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001342/0.5438, allocations: 178.4 kB / 0.6812 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009845/0.5537, allocations: 5.528 MB / 0.6866 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002205/0.5559, allocations: 1.597 MB / 0.6882 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002964/0.5588, allocations: 1.354 MB / 0.6895 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000359/0.5592, allocations: 143.4 kB / 0.6896 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of SimCode: time 1.122e-06/0.5592, allocations: 0 / 0.6896 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.04088/0.6001, allocations: 20.68 MB / 0.7098 GB, free: 7.148 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins/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.978572390042245]