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.001556/0.001556, allocations: 114 kB / 21.18 MB, free: 0.7422 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.00149/0.00149, allocations: 214.1 kB / 24.48 MB, free: 4.191 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.448/1.448, allocations: 230.2 MB / 257.8 MB, free: 8.496 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.2352/0.2352, allocations: 46.88 MB / 361.1 MB, free: 4.641 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.002343/0.002343, allocations: 75.88 kB / 0.4967 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3345/0.3369, allocations: 65.98 MB / 0.5612 GB, free: 5.066 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.009394/0.3463, allocations: 6.838 MB / 0.5679 GB, free: 14.2 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00496/0.3512, allocations: 2.458 MB / 0.5703 GB, free: 11.73 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000597/0.3518, allocations: 31.94 kB / 0.5703 GB, free: 11.7 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002197/0.354, allocations: 1.07 MB / 0.5713 GB, free: 10.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001978/0.356, allocations: 0.8674 MB / 0.5722 GB, free: 9.75 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007666/0.3568, allocations: 303.3 kB / 0.5725 GB, free: 9.453 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002458/0.3592, allocations: 1.868 MB / 0.5743 GB, free: 7.582 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001255/0.3605, allocations: 0.9695 MB / 0.5752 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009107/0.3614, allocations: 0.7005 MB / 0.5759 GB, free: 5.895 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.3627, allocations: 1.066 MB / 0.577 GB, free: 4.824 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002408/0.363, allocations: 132 kB / 0.5771 GB, free: 4.695 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001286/0.3643, allocations: 0.7566 MB / 0.5778 GB, free: 3.938 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000892/0.3652, allocations: 0.954 MB / 0.5788 GB, free: 2.98 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001043/0.3662, allocations: 1.125 MB / 0.5799 GB, free: 1.848 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004285/0.3705, allocations: 3.726 MB / 0.5835 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3705, allocations: 0 / 0.5835 GB, free: 14.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3705, allocations: 0 / 0.5835 GB, free: 14.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.3705, allocations: 0 / 0.5835 GB, free: 14.11 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.004812/0.3754, allocations: 2.727 MB / 0.5862 GB, free: 11.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.3754, allocations: 8.031 kB / 0.5862 GB, free: 11.31 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005529/0.3809, allocations: 1.59 MB / 0.5877 GB, free: 9.715 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002443/0.3834, allocations: 1.069 MB / 0.5888 GB, free: 8.602 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.772e-05/0.3835, allocations: 115.3 kB / 0.5889 GB, free: 8.488 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003207/0.3838, allocations: 168 kB / 0.589 GB, free: 8.324 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009385/0.3932, allocations: 6.178 MB / 0.5951 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.43e-05/0.3933, allocations: 27.75 kB / 0.5951 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002299/0.3935, allocations: 79.89 kB / 0.5952 GB, free: 1.555 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00262/0.3961, allocations: 1.445 MB / 0.5966 GB, free: 104 kB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009883/0.406, allocations: 5.389 MB / 0.6019 GB, free: 10.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03013/0.4361, allocations: 24.82 MB / 0.6261 GB, free: 1.078 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004773/0.4409, allocations: 2.251 MB / 0.6283 GB, free: 14.68 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001194/0.4421, allocations: 0.8831 MB / 0.6291 GB, free: 13.79 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003911/0.4425, allocations: 335 kB / 0.6295 GB, free: 13.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.49e-05/0.4425, allocations: 50.5 kB / 0.6295 GB, free: 13.34 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.236e-06/0.4425, allocations: 0 / 0.6295 GB, free: 13.34 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.0234/0.4659, allocations: 8.553 MB / 0.6379 GB, free: 4.66 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.756e-05/0.466, allocations: 140.5 kB / 0.638 GB, free: 4.492 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003872/0.4699, allocations: 2.64 MB / 0.6406 GB, free: 1.828 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001209/0.47, allocations: 37.7 kB / 0.6406 GB, free: 1.785 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001564/0.4716, allocations: 2.108 MB / 0.6427 GB, free: 15.65 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004456/0.472, allocations: 456.6 kB / 0.6431 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.4731, allocations: 0.8812 MB / 0.644 GB, free: 14.31 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4732, allocations: 301.1 kB / 0.6443 GB, free: 14.01 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002023/0.4753, allocations: 1.332 MB / 0.6456 GB, free: 12.67 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005113/0.4804, allocations: 4.1 MB / 0.6496 GB, free: 7.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009054/0.4894, allocations: 5.943 MB / 0.6554 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/0.4895, allocations: 28 kB / 0.6554 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of matching and sorting (n=560) (initialization): time 0.009181/0.4987, allocations: 5.491 MB / 0.6608 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.545e-05/0.4988, allocations: 48 kB / 0.6608 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-05/0.4988, allocations: 96 kB / 0.6609 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.4999, allocations: 468.5 kB / 0.6613 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002765/0.5027, allocations: 0.9708 MB / 0.6623 GB, free: 8.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00448/0.5072, allocations: 3.673 MB / 0.6659 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/0.5097, allocations: 231.7 kB / 0.6661 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003423/0.5101, allocations: 276 kB / 0.6664 GB, free: 4.438 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.001935/0.512, allocations: 1.368 MB / 0.6677 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003751/0.5124, allocations: 234.4 kB / 0.6679 GB, free: 2.828 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.5148, allocations: 1.31 MB / 0.6692 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.086e-05/0.5148, allocations: 7.922 kB / 0.6692 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/0.5148, allocations: 4 kB / 0.6692 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004397/0.5153, allocations: 291.3 kB / 0.6695 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/0.5155, allocations: 23.98 kB / 0.6695 GB, free: 1.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007215/0.5162, allocations: 51.88 kB / 0.6696 GB, free: 1.117 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.5163, allocations: 60.34 kB / 0.6696 GB, free: 1.059 MB / 0.4981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003343/0.5197, allocations: 2.028 MB / 0.6716 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003453/0.5231, allocations: 2.859 MB / 0.6744 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008314/0.524, allocations: 0.6195 MB / 0.675 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00236/0.5263, allocations: 1.625 MB / 0.6766 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of Backend: time 2.8e-07/0.5263, allocations: 4 kB / 0.6766 GB, free: 9.883 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005397/0.5317, allocations: 2.701 MB / 0.6792 GB, free: 7.18 MB / 0.5137 GB Notification: Performance of SimCode: time 0.008342/0.5401, allocations: 5.709 MB / 0.6848 GB, free: 1.402 MB / 0.5137 GB Notification: Performance of Templates: time 0.05157/0.5916, allocations: 26.8 MB / 0.711 GB, free: 6.648 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 -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: 5.993755450937897]