Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.001803/0.001803, allocations: 110.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.002163/0.002163, allocations: 217.4 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.514/1.514, allocations: 230.2 MB / 257.8 MB, free: 8.504 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.2285/0.2285, 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator") [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.00236/0.00236, allocations: 87.84 kB / 0.4967 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3897, allocations: 65.98 MB / 0.5612 GB, free: 5.012 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001764/0.3914, allocations: 499.6 kB / 0.5616 GB, free: 4.527 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003407/0.3949, allocations: 2.162 MB / 0.5638 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.086e-05/0.3949, allocations: 4 kB / 0.5638 GB, free: 2.344 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.279e-05/0.3949, allocations: 4 kB / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.567e-05/0.3949, allocations: 0 / 0.5638 GB, free: 2.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.3961, allocations: 394.7 kB / 0.5641 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.222e-05/0.3961, allocations: 0 / 0.5641 GB, free: 1.953 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.813e-05/0.3962, allocations: 11.98 kB / 0.5641 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.492e-05/0.3962, allocations: 0 / 0.5641 GB, free: 1.941 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02043/0.4166, allocations: 3.379 MB / 0.5674 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.4166, allocations: 3.938 kB / 0.5675 GB, free: 15.19 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.345e-05/0.4167, allocations: 8 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.285e-05/0.4167, allocations: 3.984 kB / 0.5675 GB, free: 15.18 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.498e-05/0.4168, allocations: 4 kB / 0.5675 GB, free: 15.17 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.4169, allocations: 4 kB / 0.5675 GB, free: 15.17 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4169, allocations: 3.938 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.4169, allocations: 0 / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.27e-05/0.4169, allocations: 4 kB / 0.5675 GB, free: 15.16 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003589/0.4173, allocations: 319.5 kB / 0.5678 GB, free: 14.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.4173, allocations: 8.031 kB / 0.5678 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002077/0.4175, allocations: 92.14 kB / 0.5679 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/0.4177, allocations: 235.7 kB / 0.5681 GB, free: 14.43 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.867e-05/0.4178, allocations: 150.9 kB / 0.5682 GB, free: 14.29 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.016e-05/0.4178, allocations: 154.9 kB / 0.5684 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.361e-05/0.4179, allocations: 113.3 kB / 0.5685 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.432e-05/0.4179, allocations: 75.28 kB / 0.5686 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.559e-05/0.418, allocations: 154.5 kB / 0.5687 GB, free: 13.79 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.739e-05/0.4181, allocations: 150.6 kB / 0.5689 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.172e-05/0.4182, allocations: 150.6 kB / 0.569 GB, free: 13.49 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003244/0.4185, allocations: 449.9 kB / 0.5694 GB, free: 13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.4186, allocations: 169.1 kB / 0.5696 GB, free: 12.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.055e-05/0.4186, allocations: 80.14 kB / 0.5697 GB, free: 12.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.803e-05/0.4187, allocations: 79.22 kB / 0.5698 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.073e-05/0.4188, allocations: 117.8 kB / 0.5699 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.4188, allocations: 0 / 0.5699 GB, free: 12.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 7.813e-05/0.4188, allocations: 29.7 kB / 0.5699 GB, free: 12.51 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000107/0.4189, allocations: 182.1 kB / 0.5701 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.419, allocations: 93.84 kB / 0.5702 GB, free: 12.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.781e-05/0.4191, allocations: 25.7 kB / 0.5702 GB, free: 12.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.693e-05/0.4191, allocations: 88.27 kB / 0.5703 GB, free: 12.08 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.643e-06/0.4191, allocations: 0 / 0.5703 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.559e-05/0.4191, allocations: 9.719 kB / 0.5703 GB, free: 12.07 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.4193, allocations: 310.8 kB / 0.5706 GB, free: 11.75 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.25e-06/0.4193, allocations: 0 / 0.5706 GB, free: 11.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.283e-05/0.4193, allocations: 17.66 kB / 0.5706 GB, free: 11.73 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.899e-05/0.4194, allocations: 79.28 kB / 0.5707 GB, free: 11.65 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-05/0.4194, allocations: 75.28 kB / 0.5707 GB, free: 11.58 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.919e-05/0.4194, allocations: 37.72 kB / 0.5708 GB, free: 11.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.608e-05/0.4195, allocations: 83.22 kB / 0.5708 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.952e-05/0.4195, allocations: 75.28 kB / 0.5709 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.838e-05/0.4196, allocations: 158.5 kB / 0.5711 GB, free: 11.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.659e-05/0.4197, allocations: 79.33 kB / 0.5711 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.256e-05/0.4197, allocations: 154.5 kB / 0.5713 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.41e-05/0.4198, allocations: 83.28 kB / 0.5714 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.589e-05/0.4199, allocations: 83.28 kB / 0.5715 GB, free: 10.83 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * Array equations: 0 * 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.0001536/0.42, allocations: 264.3 kB / 0.5717 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.825e-05/0.4201, allocations: 112.9 kB / 0.5718 GB, free: 10.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.048e-05/0.4202, allocations: 111.8 kB / 0.5719 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.799e-05/0.4203, allocations: 184.2 kB / 0.5721 GB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.174e-05/0.4203, allocations: 180.3 kB / 0.5723 GB, free: 9.953 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.594e-05/0.4204, allocations: 188.2 kB / 0.5724 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.4207, allocations: 393.2 kB / 0.5728 GB, free: 9.32 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.178e-05/0.4208, allocations: 101 kB / 0.5729 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.527e-05/0.4208, allocations: 112.9 kB / 0.573 GB, free: 9.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.175e-05/0.4209, allocations: 184.2 kB / 0.5732 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.54e-05/0.421, allocations: 184.2 kB / 0.5734 GB, free: 8.723 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.105e-05/0.4211, allocations: 176.3 kB / 0.5735 GB, free: 8.543 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.484e-05/0.4211, allocations: 180.3 kB / 0.5737 GB, free: 8.359 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002083/0.4214, allocations: 316.1 kB / 0.574 GB, free: 8.027 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.4215, allocations: 186 kB / 0.5742 GB, free: 7.82 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.4216, allocations: 180.3 kB / 0.5744 GB, free: 7.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/0.4217, allocations: 105 kB / 0.5745 GB, free: 7.527 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.4218, allocations: 184.2 kB / 0.5746 GB, free: 7.34 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.566e-05/0.4219, allocations: 101 kB / 0.5747 GB, free: 7.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.923e-05/0.4219, allocations: 87.28 kB / 0.5748 GB, free: 7.148 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4219, allocations: 0 / 0.5748 GB, free: 7.148 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000274/0.4222, allocations: 0 / 0.5748 GB, free: 7.148 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0001796/0.4224, allocations: 166.5 kB / 0.575 GB, free: 6.977 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.896e-05/0.4224, allocations: 3.938 kB / 0.575 GB, free: 6.973 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.4224, allocations: 4 kB / 0.575 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.162e-06/0.4224, allocations: 0 / 0.575 GB, free: 6.969 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004424/0.4229, allocations: 455.8 kB / 0.5754 GB, free: 6.52 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002325/0.4231, allocations: 160.3 kB / 0.5756 GB, free: 6.336 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.4234, allocations: 0.6729 MB / 0.5762 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.399e-05/0.4235, allocations: 0 / 0.5762 GB, free: 5.637 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.376e-05/0.4235, allocations: 7.438 kB / 0.5762 GB, free: 5.629 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.4235, allocations: 0 / 0.5762 GB, free: 5.629 MB / 414.1 MB Notification: Performance of Templates: time 0.003168/0.4266, allocations: 312.1 kB / 0.5765 GB, free: 5.328 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Utilities.TestExamplesCalculator.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.1201298967935145]