Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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.001414/0.001414, 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.001709/0.001709, 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.461/1.461, 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.2233/0.2233, allocations: 46.89 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.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring") [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.002338/0.002338, allocations: 79.88 kB / 0.4968 GB, free: 7.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3332/0.3355, allocations: 65.99 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01364/0.3492, allocations: 11.44 MB / 0.5724 GB, free: 9.523 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008095/0.3573, allocations: 4.108 MB / 0.5764 GB, free: 5.398 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001311/0.3586, allocations: 67.81 kB / 0.5765 GB, free: 5.332 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004874/0.3634, allocations: 2.523 MB / 0.5789 GB, free: 2.801 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004733/0.3682, allocations: 1.887 MB / 0.5808 GB, free: 0.9062 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001935/0.3701, allocations: 0.7761 MB / 0.5815 GB, free: 132 kB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007042/0.3771, allocations: 4.511 MB / 0.5859 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003813/0.381, allocations: 2.541 MB / 0.5884 GB, free: 9.023 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002883/0.3838, allocations: 1.554 MB / 0.5899 GB, free: 7.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003814/0.3877, allocations: 2.406 MB / 0.5923 GB, free: 5.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009911/0.3886, allocations: 332 kB / 0.5926 GB, free: 4.727 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002152/0.3908, allocations: 0.987 MB / 0.5936 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002118/0.3929, allocations: 1.967 MB / 0.5955 GB, free: 1.766 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002728/0.3956, allocations: 2.225 MB / 0.5977 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008268/0.4039, allocations: 6.839 MB / 0.6043 GB, free: 8.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.4039, allocations: 0 / 0.6043 GB, free: 8.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.4039, allocations: 0 / 0.6043 GB, free: 8.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001939/0.4041, allocations: 4 kB / 0.6043 GB, free: 8.656 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01038/0.4145, allocations: 4.917 MB / 0.6091 GB, free: 3.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.263e-05/0.4145, allocations: 12.03 kB / 0.6091 GB, free: 3.648 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007558/0.4221, allocations: 1.967 MB / 0.6111 GB, free: 1.676 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005311/0.4274, allocations: 2.33 MB / 0.6133 GB, free: 15.29 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002252/0.4276, allocations: 266.4 kB / 0.6136 GB, free: 15.02 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008357/0.4285, allocations: 327.8 kB / 0.6139 GB, free: 14.7 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01818/0.4467, allocations: 10.23 MB / 0.6239 GB, free: 3.676 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001382/0.4468, allocations: 55.58 kB / 0.624 GB, free: 3.621 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004378/0.4472, allocations: 159.9 kB / 0.6241 GB, free: 3.465 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003056/0.4503, allocations: 1.912 MB / 0.626 GB, free: 1.551 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01747/0.4678, allocations: 8.173 MB / 0.634 GB, free: 9.352 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05074/0.5185, allocations: 39.3 MB / 0.6723 GB, free: 0.8711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008568/0.5271, allocations: 3.181 MB / 0.6754 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.5287, allocations: 0.9631 MB / 0.6764 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009964/0.5386, allocations: 6.013 MB / 0.6822 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.06e-05/0.5387, allocations: 51.5 kB / 0.6823 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 7.424e-06/0.5387, allocations: 3.984 kB / 0.6823 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02457/0.5633, allocations: 9.735 MB / 0.6918 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/0.5634, allocations: 204.9 kB / 0.692 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005629/0.569, allocations: 4.051 MB / 0.696 GB, free: 7.941 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001993/0.5692, allocations: 49.69 kB / 0.696 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002546/0.5718, allocations: 3.306 MB / 0.6992 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007066/0.5725, allocations: 0.6668 MB / 0.6999 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.574, allocations: 1.227 MB / 0.7011 GB, free: 2.637 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.5741, allocations: 309.1 kB / 0.7014 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002729/0.5768, allocations: 1.659 MB / 0.703 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006134/0.583, allocations: 5.538 MB / 0.7084 GB, free: 9.191 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009823/0.5928, allocations: 7.796 MB / 0.716 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-05/0.5929, allocations: 40 kB / 0.7161 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01294/0.6058, allocations: 6.943 MB / 0.7228 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.731e-05/0.6059, allocations: 60.19 kB / 0.7229 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001524/0.6061, allocations: 144 kB / 0.723 GB, free: 8.281 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001771/0.6062, allocations: 180 kB / 0.7232 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004443/0.6107, allocations: 1.439 MB / 0.7246 GB, free: 6.664 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002222/0.6109, allocations: 270.9 kB / 0.7249 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003763/0.6147, allocations: 303.7 kB / 0.7252 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006103/0.6153, allocations: 375.9 kB / 0.7255 GB, free: 5.734 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003286/0.6186, allocations: 2.033 MB / 0.7275 GB, free: 3.688 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006212/0.6192, allocations: 362 kB / 0.7278 GB, free: 3.332 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007043/0.6199, allocations: 418.6 kB / 0.7282 GB, free: 2.918 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/0.6199, allocations: 7.984 kB / 0.7283 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6199, allocations: 8 kB / 0.7283 GB, free: 2.902 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000648/0.6206, allocations: 406.5 kB / 0.7287 GB, free: 2.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/0.6209, allocations: 27.88 kB / 0.7287 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.6219, allocations: 63.86 kB / 0.7287 GB, free: 2.395 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.622, allocations: 76.89 kB / 0.7288 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003292/0.6253, allocations: 1.989 MB / 0.7308 GB, free: 332 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.246/0.8713, allocations: 3.219 MB / 0.7339 GB, free: 151.8 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009001/0.8722, allocations: 0.6718 MB / 0.7346 GB, free: 151.6 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003727/0.8759, allocations: 2.507 MB / 0.737 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of Backend: time 3.81e-07/0.8759, allocations: 0 / 0.737 GB, free: 150.7 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00595/0.8819, allocations: 3.298 MB / 0.7402 GB, free: 149.7 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01147/0.8934, allocations: 8.901 MB / 0.7489 GB, free: 145.6 MB / 0.5606 GB Notification: Performance of Templates: time 0.05734/0.9507, allocations: 37.52 MB / 0.7856 GB, free: 110.4 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Forces.Spring.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.674503018148243]