Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001658/0.001658, allocations: 114.5 kB / 21.17 MB, free: 0.6172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002154/0.002154, allocations: 209.4 kB / 24.47 MB, free: 4.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.499/1.499, allocations: 230.2 MB / 257.8 MB, free: 8.52 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2308/0.2308, allocations: 46.9 MB / 361.1 MB, free: 4.656 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Parts.PointMass") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002537/0.002537, allocations: 75.88 kB / 0.4967 GB, free: 7.852 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3451, allocations: 65.99 MB / 0.5612 GB, free: 5.023 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.01227/0.3574, allocations: 6.828 MB / 0.5679 GB, free: 14.16 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006183/0.3635, allocations: 2.462 MB / 0.5703 GB, free: 11.69 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008591/0.3644, allocations: 27.94 kB / 0.5703 GB, free: 11.66 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00302/0.3674, allocations: 1.066 MB / 0.5713 GB, free: 10.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002799/0.3702, allocations: 0.8675 MB / 0.5722 GB, free: 9.723 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.3713, allocations: 307.2 kB / 0.5725 GB, free: 9.422 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003496/0.3748, allocations: 1.868 MB / 0.5743 GB, free: 7.551 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00208/0.3769, allocations: 0.9658 MB / 0.5752 GB, free: 6.57 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001472/0.3784, allocations: 0.7004 MB / 0.5759 GB, free: 5.867 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002378/0.3807, allocations: 1.07 MB / 0.577 GB, free: 4.793 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005823/0.3813, allocations: 128 kB / 0.5771 GB, free: 4.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002086/0.3834, allocations: 0.7605 MB / 0.5778 GB, free: 3.906 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3849, allocations: 0.954 MB / 0.5788 GB, free: 2.949 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002117/0.387, allocations: 1.121 MB / 0.5799 GB, free: 1.82 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006618/0.3936, allocations: 3.73 MB / 0.5835 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3936, allocations: 4 kB / 0.5835 GB, free: 14.07 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3936, allocations: 0 / 0.5835 GB, free: 14.07 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0001644/0.3938, allocations: 3.984 kB / 0.5835 GB, free: 14.07 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.006549/0.4003, allocations: 2.719 MB / 0.5862 GB, free: 11.29 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.182e-05/0.4004, allocations: 8.031 kB / 0.5862 GB, free: 11.28 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005869/0.4062, allocations: 1.578 MB / 0.5877 GB, free: 9.695 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.4089, allocations: 1.081 MB / 0.5888 GB, free: 8.57 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/0.409, allocations: 115.3 kB / 0.5889 GB, free: 8.457 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004894/0.4095, allocations: 164 kB / 0.589 GB, free: 8.297 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009346/0.4188, allocations: 6.186 MB / 0.5951 GB, free: 1.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/0.4189, allocations: 23.75 kB / 0.5951 GB, free: 1.602 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002224/0.4191, allocations: 79.89 kB / 0.5952 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002563/0.4217, allocations: 1.441 MB / 0.5966 GB, free: 76 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009226/0.4309, allocations: 5.389 MB / 0.6018 GB, free: 10.68 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03003/0.4609, allocations: 24.82 MB / 0.6261 GB, free: 1.043 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004846/0.4658, allocations: 2.255 MB / 0.6283 GB, free: 14.64 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001254/0.467, allocations: 0.8792 MB / 0.6291 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004197/0.4675, allocations: 331 kB / 0.6295 GB, free: 13.37 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.226e-05/0.4675, allocations: 54.5 kB / 0.6295 GB, free: 13.31 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.116e-06/0.4675, allocations: 0 / 0.6295 GB, free: 13.31 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02369/0.4912, allocations: 8.545 MB / 0.6379 GB, free: 4.633 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.4913, allocations: 148.5 kB / 0.638 GB, free: 4.457 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003754/0.495, allocations: 2.636 MB / 0.6406 GB, free: 1.797 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001381/0.4952, allocations: 45.69 kB / 0.6406 GB, free: 1.746 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001659/0.4968, allocations: 2.104 MB / 0.6427 GB, free: 15.62 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.4973, allocations: 452.6 kB / 0.6431 GB, free: 15.18 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00118/0.4985, allocations: 0.8734 MB / 0.644 GB, free: 14.29 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.4986, allocations: 305.1 kB / 0.6442 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/0.5006, allocations: 1.336 MB / 0.6455 GB, free: 12.64 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004373/0.505, allocations: 4.1 MB / 0.6495 GB, free: 7.141 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007409/0.5124, allocations: 5.94 MB / 0.6554 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.236e-05/0.5125, allocations: 28 kB / 0.6554 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009397/0.5219, allocations: 5.495 MB / 0.6607 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.923e-05/0.522, allocations: 48 kB / 0.6608 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-05/0.5221, allocations: 96 kB / 0.6609 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5232, allocations: 469 kB / 0.6613 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002837/0.526, allocations: 0.9708 MB / 0.6623 GB, free: 8.711 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004616/0.5306, allocations: 3.673 MB / 0.6659 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002415/0.5331, allocations: 235.7 kB / 0.6661 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00035/0.5334, allocations: 272 kB / 0.6663 GB, free: 4.406 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.001937/0.5353, allocations: 1.372 MB / 0.6677 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003636/0.5357, allocations: 234.4 kB / 0.6679 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002463/0.5382, allocations: 1.314 MB / 0.6692 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.5382, allocations: 15.94 kB / 0.6692 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.5382, allocations: 7.938 kB / 0.6692 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.123e-05/0.5382, allocations: 3.984 kB / 0.6692 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007559/0.5458, allocations: 4.19 MB / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5458, allocations: 0 / 0.6733 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006624/0.5464, allocations: 143.8 kB / 0.6734 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008891/0.5473, allocations: 312.6 kB / 0.6737 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.069e-05/0.5474, allocations: 19.98 kB / 0.6738 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/0.5512, allocations: 3.062 MB / 0.6768 GB, free: 9.516 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/0.5512, allocations: 8.016 kB / 0.6768 GB, free: 9.508 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004395/0.5556, allocations: 3.075 MB / 0.6798 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005301/0.5561, allocations: 287.4 kB / 0.68 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002179/0.5563, allocations: 20 kB / 0.6801 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007349/0.557, allocations: 44 kB / 0.6801 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001451/0.5572, allocations: 60.31 kB / 0.6802 GB, free: 5.992 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.558e-05/0.5573, allocations: 27.98 kB / 0.6802 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002609/0.5599, allocations: 1.628 MB / 0.6818 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5599, allocations: 0 / 0.6818 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003382/0.5633, allocations: 0.5936 MB / 0.6824 GB, free: 3.73 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.0003348/0.5636, allocations: 146.9 kB / 0.6825 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005418/0.569, allocations: 3.097 MB / 0.6855 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/0.569, allocations: 1.438 kB / 0.6855 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001269/0.5703, allocations: 0.8017 MB / 0.6863 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.5718, allocations: 216.6 kB / 0.6865 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01018/0.582, allocations: 5.573 MB / 0.692 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/0.5845, allocations: 2.167 MB / 0.6941 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003241/0.5878, allocations: 1.387 MB / 0.6954 GB, free: 6.242 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004775/0.5883, allocations: 155.4 kB / 0.6956 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/0.5883, allocations: 0 / 0.6956 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of Templates: time 0.04298/0.6312, allocations: 19.41 MB / 0.7145 GB, free: 2.727 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Parts.PointMass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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.177981591317803]