Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001627/0.001627, allocations: 104.7 kB / 19.8 MB, free: 2.516 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.002142/0.002142, allocations: 211.1 kB / 23 MB, free: 5.609 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.465/1.465, allocations: 230.2 MB / 256.2 MB, free: 8.566 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2459/0.2459, allocations: 46.91 MB / 359.4 MB, free: 4.883 MB / 286.1 MB " [Timeout remaining time 179] 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.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 83.86 kB / 0.4946 GB, free: 8.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3938/0.3963, allocations: 65.97 MB / 0.5591 GB, free: 5.086 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00183/0.3981, allocations: 496.9 kB / 0.5595 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.4019, allocations: 2.166 MB / 0.5616 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.531e-05/0.402, allocations: 0 / 0.5616 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.1e-05/0.402, allocations: 0 / 0.5616 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.172e-05/0.402, allocations: 0 / 0.5616 GB, free: 2.414 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.4034, allocations: 394.7 kB / 0.562 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.686e-05/0.4034, allocations: 0 / 0.562 GB, free: 2.027 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.334e-05/0.4035, allocations: 11.98 kB / 0.562 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.791e-05/0.4035, allocations: 0 / 0.562 GB, free: 2.016 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02038/0.4239, allocations: 3.379 MB / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.749e-05/0.4239, allocations: 0 / 0.5653 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001096/0.424, allocations: 8 kB / 0.5653 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.139e-05/0.424, allocations: 3.938 kB / 0.5653 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.501e-05/0.424, allocations: 8 kB / 0.5654 GB, free: 15.25 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001779/0.4242, allocations: 11.97 kB / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.4242, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.073e-06/0.4242, allocations: 0 / 0.5654 GB, free: 15.23 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.724e-06/0.4242, allocations: 0 / 0.5654 GB, free: 15.23 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.0004075/0.4246, allocations: 318.3 kB / 0.5657 GB, free: 14.88 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.85e-05/0.4247, allocations: 19.91 kB / 0.5657 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002376/0.4249, allocations: 84.2 kB / 0.5658 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002036/0.4251, allocations: 239.7 kB / 0.566 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.406e-05/0.4252, allocations: 150.9 kB / 0.5661 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.437e-05/0.4253, allocations: 154.9 kB / 0.5663 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.057e-05/0.4253, allocations: 109.3 kB / 0.5664 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.721e-05/0.4254, allocations: 75.28 kB / 0.5665 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.525e-05/0.4255, allocations: 154.6 kB / 0.5666 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.846e-05/0.4255, allocations: 154.6 kB / 0.5668 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.412e-05/0.4256, allocations: 158.5 kB / 0.5669 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003604/0.4259, allocations: 442 kB / 0.5673 GB, free: 13.07 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.426, allocations: 169.1 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.4261, allocations: 84.14 kB / 0.5676 GB, free: 12.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.218e-05/0.4261, allocations: 75.28 kB / 0.5676 GB, free: 12.74 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.225e-05/0.4262, allocations: 109.8 kB / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.203e-06/0.4262, allocations: 0 / 0.5677 GB, free: 12.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.996e-05/0.4263, allocations: 37.62 kB / 0.5678 GB, free: 12.58 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.4264, allocations: 178.1 kB / 0.568 GB, free: 12.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.4265, allocations: 97.86 kB / 0.568 GB, free: 12.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.412e-05/0.4265, allocations: 29.7 kB / 0.5681 GB, free: 12.24 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.72e-05/0.4266, allocations: 80.14 kB / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.813e-06/0.4266, allocations: 0 / 0.5681 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.675e-05/0.4266, allocations: 9.719 kB / 0.5682 GB, free: 12.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.4268, allocations: 314.8 kB / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.523e-06/0.4268, allocations: 0 / 0.5685 GB, free: 11.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.223e-05/0.4268, allocations: 17.83 kB / 0.5685 GB, free: 11.8 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.4269, allocations: 75.28 kB / 0.5685 GB, free: 11.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.753e-05/0.4269, allocations: 75.28 kB / 0.5686 GB, free: 11.65 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.924e-05/0.4269, allocations: 33.64 kB / 0.5687 GB, free: 11.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.427, allocations: 87.22 kB / 0.5687 GB, free: 11.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.33e-05/0.427, allocations: 79.28 kB / 0.5688 GB, free: 11.45 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.294e-05/0.4271, allocations: 154.5 kB / 0.569 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.175e-05/0.4272, allocations: 83.36 kB / 0.569 GB, free: 11.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-05/0.4272, allocations: 150.6 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.4273, allocations: 87.2 kB / 0.5693 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.4274, allocations: 79.22 kB / 0.5693 GB, free: 10.9 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.000147/0.4275, allocations: 268.3 kB / 0.5696 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.652e-05/0.4276, allocations: 108.9 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.933e-05/0.4276, allocations: 111.9 kB / 0.5698 GB, free: 10.4 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-05/0.4277, allocations: 184.2 kB / 0.57 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.656e-05/0.4278, allocations: 180.2 kB / 0.5702 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.2e-05/0.4279, allocations: 176.3 kB / 0.5703 GB, free: 9.852 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002726/0.4281, allocations: 401.2 kB / 0.5707 GB, free: 9.402 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.165e-05/0.4282, allocations: 113 kB / 0.5708 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.851e-05/0.4282, allocations: 104.9 kB / 0.5709 GB, free: 9.176 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001014/0.4284, allocations: 180.2 kB / 0.5711 GB, free: 8.992 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.454e-05/0.4284, allocations: 176.3 kB / 0.5713 GB, free: 8.812 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.557e-05/0.4285, allocations: 188.2 kB / 0.5714 GB, free: 8.621 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.909e-05/0.4286, allocations: 180.2 kB / 0.5716 GB, free: 8.438 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001747/0.4288, allocations: 308.1 kB / 0.5719 GB, free: 8.113 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.4289, allocations: 186 kB / 0.5721 GB, free: 7.906 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.429, allocations: 192.2 kB / 0.5723 GB, free: 7.711 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.4291, allocations: 101 kB / 0.5724 GB, free: 7.605 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.4292, allocations: 184.2 kB / 0.5725 GB, free: 7.418 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-05/0.4292, allocations: 105 kB / 0.5726 GB, free: 7.309 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.032e-05/0.4293, allocations: 79.28 kB / 0.5727 GB, free: 7.23 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4293, allocations: 0 / 0.5727 GB, free: 7.23 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002729/0.4295, allocations: 0 / 0.5727 GB, free: 7.23 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.0001432/0.4297, allocations: 174.5 kB / 0.5729 GB, free: 7.047 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 6.276e-05/0.4298, allocations: 12.08 kB / 0.5729 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.4298, allocations: 0 / 0.5729 GB, free: 7.035 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.206e-06/0.4298, allocations: 3.938 kB / 0.5729 GB, free: 7.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003928/0.4302, allocations: 454.7 kB / 0.5733 GB, free: 6.586 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002645/0.4304, allocations: 156.3 kB / 0.5735 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003111/0.4307, allocations: 0.6729 MB / 0.5741 GB, free: 5.707 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.264e-05/0.4308, allocations: 4 kB / 0.5741 GB, free: 5.703 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.368e-05/0.4308, allocations: 7.438 kB / 0.5741 GB, free: 5.695 MB / 414.1 MB Notification: Performance of SimCode: time 5.71e-07/0.4308, allocations: 0 / 0.5741 GB, free: 5.695 MB / 414.1 MB Notification: Performance of Templates: time 0.002746/0.4335, allocations: 303.3 kB / 0.5744 GB, free: 5.402 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.174714691005647]