Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|prismatic.s|prismatic.v|prismatic1.s|prismatic1.v",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001519/0.001519, allocations: 115.6 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001896/0.001896, allocations: 212 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.369/1.369, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 46.1 MB / 345 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 79.8 kB / 482 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3139, allocations: 62.44 MB / 0.5317 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01314/0.3271, allocations: 11.36 MB / 0.5428 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.008962/0.3361, allocations: 4.057 MB / 0.5467 GB, free: 1.492 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/0.338, allocations: 66.22 kB / 0.5468 GB, free: 1.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004913/0.3429, allocations: 2.492 MB / 0.5492 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005149/0.3481, allocations: 1.836 MB / 0.551 GB, free: 13.85 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001878/0.35, allocations: 0.7761 MB / 0.5518 GB, free: 13.07 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006226/0.3563, allocations: 4.506 MB / 0.5562 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004297/0.3606, allocations: 3.338 MB / 0.5594 GB, free: 5.176 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002453/0.363, allocations: 1.546 MB / 0.5609 GB, free: 3.625 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003229/0.3663, allocations: 2.223 MB / 0.5631 GB, free: 1.395 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009165/0.3672, allocations: 332 kB / 0.5634 GB, free: 1.07 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002473/0.3697, allocations: 0.9597 MB / 0.5644 GB, free: 112 kB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002244/0.372, allocations: 1.921 MB / 0.5662 GB, free: 14.18 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003226/0.3752, allocations: 2.233 MB / 0.5684 GB, free: 11.94 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007414/0.3826, allocations: 6.806 MB / 0.5751 GB, free: 5.109 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.3827, allocations: 0 / 0.5751 GB, free: 5.109 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3827, allocations: 4 kB / 0.5751 GB, free: 5.105 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0002004/0.3829, allocations: 0 / 0.5751 GB, free: 5.105 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.009624/0.3925, allocations: 4.788 MB / 0.5798 GB, free: 252 kB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3926, allocations: 8.031 kB / 0.5798 GB, free: 244 kB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007398/0.4, allocations: 1.945 MB / 0.5817 GB, free: 14.28 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004559/0.4046, allocations: 2.329 MB / 0.5839 GB, free: 11.89 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001986/0.4048, allocations: 258.4 kB / 0.5842 GB, free: 11.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007846/0.4056, allocations: 327.8 kB / 0.5845 GB, free: 11.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0163/0.4219, allocations: 10.23 MB / 0.5945 GB, free: 300 kB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001374/0.422, allocations: 55.52 kB / 0.5945 GB, free: 244 kB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000492/0.4225, allocations: 159.9 kB / 0.5947 GB, free: 84 kB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002747/0.4253, allocations: 1.904 MB / 0.5965 GB, free: 14.17 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0165/0.4418, allocations: 8.181 MB / 0.6045 GB, free: 5.969 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04231/0.4841, allocations: 39.23 MB / 0.6428 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007958/0.4921, allocations: 3.305 MB / 0.6461 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.4937, allocations: 1.055 MB / 0.6471 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00812/0.5019, allocations: 5.981 MB / 0.6529 GB, free: 2.645 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.589e-05/0.502, allocations: 63.42 kB / 0.653 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=148): time 3.757e-06/0.502, allocations: 0 / 0.653 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=160): time 0.02271/0.5247, allocations: 9.51 MB / 0.6623 GB, free: 8.953 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/0.5249, allocations: 200.9 kB / 0.6625 GB, free: 8.711 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007259/0.5321, allocations: 4.035 MB / 0.6664 GB, free: 4.648 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.5323, allocations: 49.7 kB / 0.6665 GB, free: 4.594 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002252/0.5345, allocations: 3.182 MB / 0.6696 GB, free: 1.367 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006166/0.5352, allocations: 0.6327 MB / 0.6702 GB, free: 0.7266 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001483/0.5367, allocations: 1.222 MB / 0.6714 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.5368, allocations: 309.1 kB / 0.6717 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002596/0.5394, allocations: 1.663 MB / 0.6733 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005002/0.5444, allocations: 5.538 MB / 0.6787 GB, free: 6.043 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008237/0.5526, allocations: 7.804 MB / 0.6863 GB, free: 12.32 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.285e-05/0.5527, allocations: 40 kB / 0.6864 GB, free: 12.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0117/0.5644, allocations: 6.914 MB / 0.6931 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.5646, allocations: 70.06 kB / 0.6932 GB, free: 5.285 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002063/0.5648, allocations: 136 kB / 0.6933 GB, free: 5.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.565, allocations: 180 kB / 0.6935 GB, free: 4.977 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004461/0.5695, allocations: 1.439 MB / 0.6949 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002386/0.5697, allocations: 271 kB / 0.6952 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003707/0.5735, allocations: 299.6 kB / 0.6954 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005832/0.574, allocations: 379.9 kB / 0.6958 GB, free: 2.605 MB / 0.545 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.002926/0.577, allocations: 2.033 MB / 0.6978 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005707/0.5776, allocations: 343.5 kB / 0.6981 GB, free: 224 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00084/0.5784, allocations: 414.6 kB / 0.6985 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.304e-05/0.5784, allocations: 11.98 kB / 0.6985 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.964e-06/0.5784, allocations: 4.453 kB / 0.6985 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006092/0.5791, allocations: 384.5 kB / 0.6989 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003892/0.5795, allocations: 31.94 kB / 0.6989 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/0.5805, allocations: 59.84 kB / 0.699 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001483/0.5807, allocations: 68.91 kB / 0.699 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003139/0.5838, allocations: 1.992 MB / 0.701 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004013/0.5878, allocations: 3.208 MB / 0.7041 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001038/0.5889, allocations: 0.7417 MB / 0.7049 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003901/0.5928, allocations: 2.507 MB / 0.7073 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of Backend: time 5.82e-07/0.5928, allocations: 0 / 0.7073 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006717/0.5995, allocations: 3.452 MB / 0.7107 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of SimCode: time 0.01317/0.6127, allocations: 8.761 MB / 0.7192 GB, free: 10.49 MB / 0.5763 GB Notification: Performance of Templates: time 0.2933/0.906, allocations: 35.26 MB / 0.7537 GB, free: 167.3 MB / 0.5763 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches