Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001828/0.001828, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.002141/0.002141, allocations: 162.5 kB / 24.5 MB, free: 3.711 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.532/1.532, allocations: 177.2 MB / 204.9 MB, free: 9.012 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2119/0.2119, allocations: 32.8 MB / 294.1 MB, free: 24 kB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.0.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.0.0_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002128/0.002128, allocations: 63.91 kB / 440.6 MB, free: 9.441 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3051, allocations: 65.45 MB / 0.4941 GB, free: 31.39 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.005605/0.3107, allocations: 6.053 MB / 0.5 GB, free: 27.43 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003589/0.3143, allocations: 2.299 MB / 0.5023 GB, free: 25.99 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005427/0.3149, allocations: 32.94 kB / 0.5023 GB, free: 25.98 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001766/0.3166, allocations: 1.033 MB / 0.5033 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001525/0.3182, allocations: 0.8651 MB / 0.5042 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006583/0.3188, allocations: 307.4 kB / 0.5045 GB, free: 25.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.3204, allocations: 1.876 MB / 0.5063 GB, free: 24.27 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008985/0.3213, allocations: 1.087 MB / 0.5074 GB, free: 23.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006652/0.322, allocations: 0.7153 MB / 0.5081 GB, free: 23.47 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.323, allocations: 1.021 MB / 0.5091 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.3232, allocations: 130.2 kB / 0.5092 GB, free: 23.13 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009213/0.3242, allocations: 0.6406 MB / 0.5098 GB, free: 22.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006497/0.3248, allocations: 0.9485 MB / 0.5107 GB, free: 22.63 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006456/0.3255, allocations: 0.7974 MB / 0.5115 GB, free: 22.13 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003791/0.3293, allocations: 3.727 MB / 0.5152 GB, free: 20.7 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3293, allocations: 1.859 kB / 0.5152 GB, free: 20.7 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.3293, allocations: 0 / 0.5152 GB, free: 20.7 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.942e-05/0.3293, allocations: 4 kB / 0.5152 GB, free: 20.7 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.004819/0.3342, allocations: 2.647 MB / 0.5177 GB, free: 19.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3342, allocations: 10.25 kB / 0.5178 GB, free: 19.07 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005762/0.34, allocations: 1.624 MB / 0.5193 GB, free: 18.83 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00235/0.3423, allocations: 1.024 MB / 0.5203 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.789e-05/0.3424, allocations: 115.9 kB / 0.5205 GB, free: 18.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003368/0.3427, allocations: 166.6 kB / 0.5206 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009207/0.3519, allocations: 6.176 MB / 0.5266 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.271e-05/0.352, allocations: 31.61 kB / 0.5267 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000243/0.3522, allocations: 79.05 kB / 0.5267 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002419/0.3547, allocations: 1.443 MB / 0.5282 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.365, allocations: 5.386 MB / 0.5334 GB, free: 13.15 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02521/0.3902, allocations: 23.42 MB / 0.5563 GB, free: 7.996 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004699/0.3949, allocations: 1.859 MB / 0.5581 GB, free: 6.102 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001226/0.3961, allocations: 0.8746 MB / 0.559 GB, free: 5.215 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002597/0.3964, allocations: 103.7 kB / 0.5591 GB, free: 5.113 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.526e-05/0.3964, allocations: 42.5 kB / 0.5591 GB, free: 5.062 MB / 462.1 MB Notification: Performance of pre-optimization done (n=96): time 3.297e-06/0.3964, allocations: 0 / 0.5591 GB, free: 5.062 MB / 462.1 MB Notification: Performance of matching and sorting (n=106): time 0.02368/0.4201, allocations: 8.6 MB / 0.5675 GB, free: 12.39 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4202, allocations: 148.4 kB / 0.5676 GB, free: 12.22 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/0.4236, allocations: 2.449 MB / 0.57 GB, free: 9.727 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001277/0.4237, allocations: 41.7 kB / 0.5701 GB, free: 9.68 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001637/0.4253, allocations: 2.135 MB / 0.5722 GB, free: 7.52 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/0.4258, allocations: 456.6 kB / 0.5726 GB, free: 7.07 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001216/0.427, allocations: 0.8773 MB / 0.5735 GB, free: 6.18 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.4272, allocations: 334 kB / 0.5738 GB, free: 5.848 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.4293, allocations: 1.336 MB / 0.5751 GB, free: 4.504 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004801/0.4341, allocations: 4.108 MB / 0.5791 GB, free: 14.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008203/0.4423, allocations: 5.938 MB / 0.5849 GB, free: 7.668 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.074e-05/0.4424, allocations: 28 kB / 0.5849 GB, free: 7.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01012/0.4525, allocations: 5.469 MB / 0.5903 GB, free: 2.168 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.72e-05/0.4526, allocations: 44 kB / 0.5903 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001144/0.4527, allocations: 100 kB / 0.5904 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.4539, allocations: 452.5 kB / 0.5908 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0031/0.457, allocations: 0.9827 MB / 0.5918 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004705/0.4617, allocations: 3.523 MB / 0.5952 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002903/0.4646, allocations: 231.8 kB / 0.5954 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004524/0.465, allocations: 268 kB / 0.5957 GB, free: 12.48 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.002313/0.4673, allocations: 1.375 MB / 0.597 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003934/0.4677, allocations: 202.6 kB / 0.5972 GB, free: 10.9 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002473/0.4702, allocations: 1.301 MB / 0.5985 GB, free: 9.582 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.413e-05/0.4702, allocations: 12 kB / 0.5985 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.051e-05/0.4702, allocations: 4 kB / 0.5985 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/0.4702, allocations: 3.984 kB / 0.5985 GB, free: 9.562 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007449/0.4777, allocations: 3.626 MB / 0.6021 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.4777, allocations: 0 / 0.6021 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007433/0.4784, allocations: 139.8 kB / 0.6022 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009282/0.4794, allocations: 316.6 kB / 0.6025 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/0.4795, allocations: 23.97 kB / 0.6025 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003817/0.4833, allocations: 2.916 MB / 0.6054 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4833, allocations: 0 / 0.6054 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004723/0.488, allocations: 3.055 MB / 0.6084 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005585/0.4886, allocations: 174.6 kB / 0.6085 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.4888, allocations: 19.94 kB / 0.6085 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007105/0.4895, allocations: 47.94 kB / 0.6086 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001568/0.4897, allocations: 60.38 kB / 0.6086 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.263e-05/0.4897, allocations: 28 kB / 0.6087 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002363/0.4921, allocations: 1.37 MB / 0.61 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1e-07/0.4921, allocations: 0 / 0.61 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003443/0.4955, allocations: 0.5859 MB / 0.6106 GB, free: 13.01 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.0003632/0.4959, allocations: 146.9 kB / 0.6107 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005424/0.5013, allocations: 3.108 MB / 0.6138 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5013, allocations: 0 / 0.6138 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001229/0.5026, allocations: 0.8018 MB / 0.6145 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5038, allocations: 171.3 kB / 0.6147 GB, free: 8.781 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00998/0.5138, allocations: 5.519 MB / 0.6201 GB, free: 3.211 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00225/0.5161, allocations: 1.598 MB / 0.6217 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003231/0.5193, allocations: 1.366 MB / 0.623 GB, free: 212 kB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003596/0.5196, allocations: 140.5 kB / 0.6231 GB, free: 72 kB / 0.5137 GB Notification: Performance of SimCode: time 7.71e-07/0.5196, allocations: 0 / 0.6231 GB, free: 72 kB / 0.5137 GB Notification: Performance of Templates: time 0.05585/0.5755, allocations: 16.32 MB / 0.6391 GB, free: 16 kB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.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.977443187031895]