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.001577/0.001577, allocations: 112.2 kB / 21.19 MB, free: 0.7617 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.001936/0.001936, allocations: 209.9 kB / 24.49 MB, free: 4.145 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 / 258.3 MB, free: 7.996 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.2501/0.2501, allocations: 46.93 MB / 361.6 MB, free: 4.273 MB / 286.1 MB " [Timeout remaining time 179] 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.002046/0.002046, allocations: 68.09 kB / 0.4974 GB, free: 7.418 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3559/0.3579, allocations: 66.03 MB / 0.5619 GB, free: 4.594 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.PointMass): time 0.008909/0.3668, allocations: 6.829 MB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005191/0.372, allocations: 2.473 MB / 0.5709 GB, free: 11.25 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008661/0.3729, allocations: 31.88 kB / 0.571 GB, free: 11.21 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002294/0.3752, allocations: 1.07 MB / 0.572 GB, free: 10.14 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.3774, allocations: 0.8675 MB / 0.5729 GB, free: 9.27 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007997/0.3782, allocations: 307.2 kB / 0.5732 GB, free: 8.969 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002592/0.3807, allocations: 1.868 MB / 0.575 GB, free: 7.098 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00143/0.3822, allocations: 1.098 MB / 0.5761 GB, free: 5.98 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00103/0.3832, allocations: 0.7122 MB / 0.5768 GB, free: 5.266 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00144/0.3846, allocations: 1.066 MB / 0.5778 GB, free: 4.195 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002593/0.3849, allocations: 128 kB / 0.5779 GB, free: 4.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001403/0.3863, allocations: 0.7683 MB / 0.5787 GB, free: 3.301 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009106/0.3872, allocations: 0.9501 MB / 0.5796 GB, free: 2.348 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001075/0.3883, allocations: 1.129 MB / 0.5807 GB, free: 1.211 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004457/0.3928, allocations: 3.726 MB / 0.5843 GB, free: 13.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3928, allocations: 0 / 0.5843 GB, free: 13.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3928, allocations: 0 / 0.5843 GB, free: 13.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.551e-05/0.3928, allocations: 3.938 kB / 0.5843 GB, free: 13.46 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.004927/0.3978, allocations: 2.643 MB / 0.5869 GB, free: 10.78 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.3978, allocations: 16.02 kB / 0.5869 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005118/0.4029, allocations: 1.582 MB / 0.5885 GB, free: 9.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002347/0.4053, allocations: 1.011 MB / 0.5895 GB, free: 8.133 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.611e-05/0.4054, allocations: 115.3 kB / 0.5896 GB, free: 8.02 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/0.4057, allocations: 168 kB / 0.5897 GB, free: 7.855 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01012/0.4158, allocations: 6.182 MB / 0.5958 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-05/0.4159, allocations: 19.81 kB / 0.5958 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002305/0.4161, allocations: 83.88 kB / 0.5959 GB, free: 1.086 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002428/0.4185, allocations: 1.445 MB / 0.5973 GB, free: 15.64 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00984/0.4284, allocations: 5.389 MB / 0.6026 GB, free: 10.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03505/0.4634, allocations: 24.71 MB / 0.6267 GB, free: 0.7227 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004606/0.468, allocations: 1.805 MB / 0.6284 GB, free: 14.88 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001274/0.4693, allocations: 0.8785 MB / 0.6293 GB, free: 13.99 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002714/0.4696, allocations: 99.72 kB / 0.6294 GB, free: 13.89 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.665e-05/0.4696, allocations: 58.42 kB / 0.6295 GB, free: 13.82 MB / 478.1 MB Notification: Performance of pre-optimization done (n=96): time 3.847e-06/0.4696, allocations: 0 / 0.6295 GB, free: 13.82 MB / 478.1 MB Notification: Performance of matching and sorting (n=106): time 0.024/0.4936, allocations: 8.322 MB / 0.6376 GB, free: 5.43 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001021/0.4938, allocations: 140.5 kB / 0.6377 GB, free: 5.262 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/0.499, allocations: 2.636 MB / 0.6403 GB, free: 2.602 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001891/0.4992, allocations: 45.69 kB / 0.6403 GB, free: 2.551 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001991/0.5012, allocations: 2.104 MB / 0.6424 GB, free: 436 kB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006367/0.5018, allocations: 456.6 kB / 0.6428 GB, free: 15.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001762/0.5036, allocations: 0.8773 MB / 0.6437 GB, free: 15.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.5038, allocations: 301.1 kB / 0.644 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002267/0.506, allocations: 1.332 MB / 0.6453 GB, free: 13.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00477/0.5108, allocations: 4.108 MB / 0.6493 GB, free: 7.938 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007522/0.5183, allocations: 5.94 MB / 0.6551 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001074/0.5184, allocations: 28 kB / 0.6551 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of matching and sorting (n=560) (initialization): time 0.01073/0.5292, allocations: 5.487 MB / 0.6605 GB, free: 11.09 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001224/0.5293, allocations: 48 kB / 0.6605 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001806/0.5295, allocations: 100.9 kB / 0.6606 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001186/0.5306, allocations: 464.5 kB / 0.6611 GB, free: 10.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/0.5337, allocations: 0.9708 MB / 0.662 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/0.5383, allocations: 3.573 MB / 0.6655 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/0.5414, allocations: 231.6 kB / 0.6657 GB, free: 5.605 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008682/0.5422, allocations: 276 kB / 0.666 GB, free: 5.336 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.002927/0.5452, allocations: 1.372 MB / 0.6673 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006044/0.5458, allocations: 238.4 kB / 0.6675 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00282/0.5486, allocations: 1.314 MB / 0.6688 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.807e-05/0.5486, allocations: 12 kB / 0.6688 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.5486, allocations: 4 kB / 0.6688 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.585e-05/0.5486, allocations: 3.984 kB / 0.6688 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009234/0.5579, allocations: 4.178 MB / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-05/0.5579, allocations: 0 / 0.6729 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006669/0.5585, allocations: 139.8 kB / 0.6731 GB, free: 14 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008988/0.5594, allocations: 320.8 kB / 0.6734 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-05/0.5595, allocations: 16 kB / 0.6734 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003726/0.5633, allocations: 2.962 MB / 0.6763 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5633, allocations: 0 / 0.6763 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004625/0.5679, allocations: 3.087 MB / 0.6793 GB, free: 7.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006785/0.5686, allocations: 214.3 kB / 0.6795 GB, free: 7.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004592/0.569, allocations: 16 kB / 0.6795 GB, free: 7.254 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009928/0.57, allocations: 43.94 kB / 0.6795 GB, free: 7.211 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001573/0.5702, allocations: 60.33 kB / 0.6796 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.571e-05/0.5702, allocations: 24 kB / 0.6796 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003247/0.5735, allocations: 1.628 MB / 0.6812 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.5735, allocations: 0 / 0.6812 GB, free: 5.488 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003706/0.5772, allocations: 0.5975 MB / 0.6818 GB, free: 4.891 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.000407/0.5776, allocations: 143 kB / 0.6819 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.005443/0.583, allocations: 3.091 MB / 0.685 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.439e-06/0.5831, allocations: 0.5 kB / 0.685 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001208/0.5843, allocations: 0.8091 MB / 0.6857 GB, free: 0.8398 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001627/0.5859, allocations: 212.1 kB / 0.6859 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01205/0.5979, allocations: 5.863 MB / 0.6917 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.6009, allocations: 2.171 MB / 0.6938 GB, free: 8.512 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006304/0.6016, allocations: 199.3 kB / 0.694 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of SimCode: time 1.703e-06/0.6016, allocations: 0 / 0.694 GB, free: 8.316 MB / 0.5294 GB Notification: Performance of Templates: time 0.3593/0.9609, allocations: 46.14 MB / 0.739 GB, free: 156.6 MB / 0.5606 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Parts/PointMass/PointMass.csv","/var/lib/jenkins1/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: 11.040816772961989]