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.001862/0.001862, allocations: 108.4 kB / 21.17 MB, free: 0.7852 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.002386/0.002386, allocations: 217.3 kB / 24.47 MB, free: 4.359 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.521/1.521, allocations: 230.2 MB / 257.8 MB, free: 8.488 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.2511/0.2511, allocations: 46.89 MB / 361.1 MB, free: 4.621 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.00238/0.00238, allocations: 83.86 kB / 0.4967 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.365/0.3674, allocations: 65.98 MB / 0.5612 GB, free: 5.016 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009246/0.3766, allocations: 6.83 MB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005371/0.382, allocations: 2.461 MB / 0.5702 GB, free: 11.68 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009171/0.3829, allocations: 35.88 kB / 0.5703 GB, free: 11.64 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002445/0.3854, allocations: 1.066 MB / 0.5713 GB, free: 10.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002387/0.3878, allocations: 0.8675 MB / 0.5722 GB, free: 9.703 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008999/0.3887, allocations: 299.3 kB / 0.5725 GB, free: 9.41 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002917/0.3916, allocations: 1.865 MB / 0.5743 GB, free: 7.539 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.393, allocations: 0.9695 MB / 0.5752 GB, free: 6.555 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001178/0.3942, allocations: 0.7004 MB / 0.5759 GB, free: 5.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001698/0.3959, allocations: 1.07 MB / 0.577 GB, free: 4.777 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.3962, allocations: 128 kB / 0.5771 GB, free: 4.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001567/0.3978, allocations: 0.7605 MB / 0.5778 GB, free: 3.891 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000995/0.3988, allocations: 0.9578 MB / 0.5788 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001141/0.3999, allocations: 1.121 MB / 0.5799 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005317/0.4052, allocations: 3.73 MB / 0.5835 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.4053, allocations: 0 / 0.5835 GB, free: 14.05 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.394e-06/0.4053, allocations: 0 / 0.5835 GB, free: 14.05 MB / 430.1 MB Notification: Performance of Transformations before backend: time 9.642e-05/0.4054, allocations: 0 / 0.5835 GB, free: 14.05 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.005741/0.4111, allocations: 2.723 MB / 0.5862 GB, free: 11.27 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.4111, allocations: 8.031 kB / 0.5862 GB, free: 11.26 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005622/0.4168, allocations: 1.586 MB / 0.5877 GB, free: 9.672 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002486/0.4192, allocations: 1.077 MB / 0.5888 GB, free: 8.551 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001131/0.4194, allocations: 119.3 kB / 0.5889 GB, free: 8.434 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003416/0.4197, allocations: 164 kB / 0.589 GB, free: 8.273 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009966/0.4297, allocations: 6.182 MB / 0.5951 GB, free: 1.605 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.907e-05/0.4297, allocations: 23.75 kB / 0.5951 GB, free: 1.582 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.43, allocations: 79.89 kB / 0.5952 GB, free: 1.504 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002617/0.4326, allocations: 1.449 MB / 0.5966 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009955/0.4425, allocations: 5.393 MB / 0.6018 GB, free: 10.65 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02991/0.4724, allocations: 24.81 MB / 0.6261 GB, free: 1.023 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004714/0.4772, allocations: 2.249 MB / 0.6283 GB, free: 14.62 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/0.4783, allocations: 0.8817 MB / 0.6291 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003835/0.4787, allocations: 339 kB / 0.6295 GB, free: 13.35 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/0.4787, allocations: 46.5 kB / 0.6295 GB, free: 13.29 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.256e-06/0.4787, allocations: 0 / 0.6295 GB, free: 13.29 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.02304/0.5018, allocations: 8.556 MB / 0.6379 GB, free: 4.605 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.824e-05/0.5019, allocations: 136.5 kB / 0.638 GB, free: 4.441 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003577/0.5055, allocations: 2.64 MB / 0.6406 GB, free: 1.777 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001336/0.5056, allocations: 37.89 kB / 0.6406 GB, free: 1.734 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001582/0.5072, allocations: 2.108 MB / 0.6427 GB, free: 15.61 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004435/0.5076, allocations: 456.6 kB / 0.6431 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.5087, allocations: 0.8851 MB / 0.644 GB, free: 14.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5088, allocations: 301.1 kB / 0.6442 GB, free: 13.96 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001932/0.5107, allocations: 1.332 MB / 0.6455 GB, free: 12.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004384/0.5151, allocations: 4.1 MB / 0.6496 GB, free: 7.117 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007378/0.5225, allocations: 5.947 MB / 0.6554 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.866e-05/0.5226, allocations: 32 kB / 0.6554 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01028/0.5329, allocations: 5.487 MB / 0.6607 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.5329, allocations: 48 kB / 0.6608 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000115/0.5331, allocations: 96.91 kB / 0.6609 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001132/0.5342, allocations: 468.5 kB / 0.6613 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003162/0.5373, allocations: 0.9708 MB / 0.6623 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004925/0.5423, allocations: 3.669 MB / 0.6659 GB, free: 4.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003382/0.5457, allocations: 227.7 kB / 0.6661 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005136/0.5462, allocations: 276 kB / 0.6663 GB, free: 4.387 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.002363/0.5485, allocations: 1.364 MB / 0.6677 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004318/0.549, allocations: 238.5 kB / 0.6679 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002406/0.5514, allocations: 1.31 MB / 0.6692 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-05/0.5514, allocations: 19.92 kB / 0.6692 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/0.5514, allocations: 4.281 kB / 0.6692 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.042e-05/0.5514, allocations: 3.984 kB / 0.6692 GB, free: 1.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007771/0.5592, allocations: 4.194 MB / 0.6733 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.012e-06/0.5592, allocations: 3.938 kB / 0.6733 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006442/0.5598, allocations: 139.8 kB / 0.6734 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008856/0.5607, allocations: 316.6 kB / 0.6737 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/0.5608, allocations: 15.98 kB / 0.6738 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003629/0.5644, allocations: 3.078 MB / 0.6768 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.5644, allocations: 0 / 0.6768 GB, free: 9.484 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004367/0.5688, allocations: 3.079 MB / 0.6798 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/0.5694, allocations: 283.5 kB / 0.68 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002287/0.5696, allocations: 19.98 kB / 0.6801 GB, free: 6.07 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007287/0.5703, allocations: 48 kB / 0.6801 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/0.5704, allocations: 56.31 kB / 0.6802 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-05/0.5705, allocations: 27.98 kB / 0.6802 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002422/0.5729, allocations: 1.625 MB / 0.6818 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5729, allocations: 0 / 0.6818 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002944/0.5759, allocations: 0.5859 MB / 0.6823 GB, free: 3.719 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.0003636/0.5762, allocations: 150.9 kB / 0.6825 GB, free: 3.562 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005141/0.5814, allocations: 3.106 MB / 0.6855 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.5814, allocations: 0.5625 kB / 0.6855 GB, free: 480 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001197/0.5826, allocations: 0.8053 MB / 0.6863 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001392/0.584, allocations: 211.8 kB / 0.6865 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009764/0.5937, allocations: 5.577 MB / 0.692 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002271/0.596, allocations: 2.163 MB / 0.6941 GB, free: 7.613 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002933/0.5989, allocations: 1.383 MB / 0.6954 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.5993, allocations: 155.4 kB / 0.6956 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of SimCode: time 1.303e-06/0.5993, allocations: 0 / 0.6956 GB, free: 6.07 MB / 0.5294 GB Notification: Performance of Templates: time 0.04098/0.6403, allocations: 19.42 MB / 0.7145 GB, free: 2.695 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 cvode -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.48233765270561]