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.00177/0.00177, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002349/0.002349, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.462/1.462, allocations: 230.3 MB / 258 MB, free: 8.25 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.2426/0.2426, allocations: 46.88 MB / 361.3 MB, free: 4.441 MB / 286.1 MB " [Timeout remaining time 180] 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.002506/0.002506, allocations: 79.88 kB / 0.497 GB, free: 7.613 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3966/0.3991, allocations: 66.03 MB / 0.5615 GB, free: 4.598 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.002014/0.4011, allocations: 491.2 kB / 0.562 GB, free: 4.121 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003877/0.405, allocations: 2.178 MB / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.987e-05/0.405, allocations: 0 / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.087e-05/0.405, allocations: 0 / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.964e-05/0.4051, allocations: 0 / 0.5641 GB, free: 1.926 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001328/0.4064, allocations: 398.7 kB / 0.5645 GB, free: 1.535 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.282e-05/0.4064, allocations: 4 kB / 0.5645 GB, free: 1.531 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.637e-05/0.4065, allocations: 12 kB / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.145e-05/0.4065, allocations: 0 / 0.5645 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.02038/0.4269, allocations: 3.387 MB / 0.5678 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.4269, allocations: 0 / 0.5678 GB, free: 14.76 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.427, allocations: 11.98 kB / 0.5678 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 1.119e-05/0.427, allocations: 4 kB / 0.5678 GB, free: 14.75 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.4271, allocations: 4 kB / 0.5678 GB, free: 14.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.4272, allocations: 7.984 kB / 0.5678 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.4272, allocations: 0 / 0.5678 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.4272, allocations: 0 / 0.5678 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.069e-05/0.4272, allocations: 0 / 0.5678 GB, free: 14.73 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.000328/0.4276, allocations: 242.4 kB / 0.5681 GB, free: 14.47 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4276, allocations: 15.97 kB / 0.5681 GB, free: 14.45 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.4278, allocations: 84.22 kB / 0.5682 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.428, allocations: 185.8 kB / 0.5683 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.719e-05/0.428, allocations: 150.9 kB / 0.5685 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.726e-05/0.4281, allocations: 150.9 kB / 0.5686 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.118e-05/0.4282, allocations: 105.3 kB / 0.5687 GB, free: 13.76 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.518e-05/0.4283, allocations: 83.22 kB / 0.5688 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-05/0.4283, allocations: 154.6 kB / 0.569 GB, free: 13.52 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.449e-05/0.4284, allocations: 154.6 kB / 0.5691 GB, free: 13.37 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.835e-05/0.4285, allocations: 150.6 kB / 0.5692 GB, free: 13.22 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003608/0.4289, allocations: 413 kB / 0.5696 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.429, allocations: 169.1 kB / 0.5698 GB, free: 12.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.429, allocations: 84.08 kB / 0.5699 GB, free: 12.52 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.129e-05/0.4291, allocations: 83.27 kB / 0.57 GB, free: 12.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.642e-05/0.4292, allocations: 113.7 kB / 0.5701 GB, free: 12.31 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 9.32e-07/0.4292, allocations: 0 / 0.5701 GB, free: 12.31 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.175e-05/0.4292, allocations: 25.7 kB / 0.5701 GB, free: 12.28 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.4294, allocations: 190.1 kB / 0.5703 GB, free: 12.07 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001241/0.4295, allocations: 89.86 kB / 0.5704 GB, free: 11.97 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.4295, allocations: 25.7 kB / 0.5704 GB, free: 11.94 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.4295, allocations: 80.14 kB / 0.5705 GB, free: 11.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.083e-06/0.4296, allocations: 0 / 0.5705 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.614e-05/0.4296, allocations: 13.72 kB / 0.5705 GB, free: 11.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4297, allocations: 314.8 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.185e-06/0.4297, allocations: 8.062 kB / 0.5708 GB, free: 11.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.4298, allocations: 13.72 kB / 0.5708 GB, free: 11.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.845e-05/0.4298, allocations: 75.28 kB / 0.5709 GB, free: 11.42 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.765e-05/0.4299, allocations: 79.28 kB / 0.5709 GB, free: 11.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.97e-05/0.4299, allocations: 29.7 kB / 0.571 GB, free: 11.31 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.562e-05/0.43, allocations: 83.22 kB / 0.571 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.7e-05/0.43, allocations: 83.2 kB / 0.5711 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.737e-05/0.4301, allocations: 158.6 kB / 0.5713 GB, free: 10.99 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.226e-05/0.4301, allocations: 79.28 kB / 0.5714 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.48e-05/0.4302, allocations: 158.5 kB / 0.5715 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.696e-05/0.4303, allocations: 75.28 kB / 0.5716 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.291e-05/0.4303, allocations: 83.22 kB / 0.5717 GB, free: 10.6 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.0001546/0.4305, allocations: 269.7 kB / 0.5719 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.73e-05/0.4306, allocations: 104.9 kB / 0.572 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.987e-05/0.4306, allocations: 115.8 kB / 0.5721 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.841e-05/0.4307, allocations: 180.2 kB / 0.5723 GB, free: 9.91 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.428e-05/0.4308, allocations: 176.3 kB / 0.5725 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.271e-05/0.4309, allocations: 184.2 kB / 0.5726 GB, free: 9.543 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002754/0.4312, allocations: 376.3 kB / 0.573 GB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.171e-05/0.4312, allocations: 101 kB / 0.5731 GB, free: 9.02 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.238e-05/0.4313, allocations: 104.9 kB / 0.5732 GB, free: 8.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.644e-05/0.4313, allocations: 188.2 kB / 0.5734 GB, free: 8.719 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.138e-05/0.4314, allocations: 180.2 kB / 0.5735 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.853e-05/0.4315, allocations: 180.3 kB / 0.5737 GB, free: 8.352 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.691e-05/0.4316, allocations: 188.2 kB / 0.5739 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001674/0.4318, allocations: 304.1 kB / 0.5742 GB, free: 7.84 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.797e-05/0.4318, allocations: 112.9 kB / 0.5743 GB, free: 7.723 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.928e-05/0.4319, allocations: 184.3 kB / 0.5745 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.432, allocations: 109 kB / 0.5746 GB, free: 7.422 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.365e-05/0.4321, allocations: 180.2 kB / 0.5747 GB, free: 7.238 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.563e-05/0.4321, allocations: 105 kB / 0.5748 GB, free: 7.129 MB / 414.1 MB Notification: Performance of sorting global known variables: time 3.993e-05/0.4322, allocations: 75.28 kB / 0.5749 GB, free: 7.055 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4322, allocations: 3.938 kB / 0.5749 GB, free: 7.051 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002842/0.4325, allocations: 4 kB / 0.5749 GB, free: 7.047 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.0001428/0.4326, allocations: 174.6 kB / 0.5751 GB, free: 6.863 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.635e-05/0.4327, allocations: 3.938 kB / 0.5751 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4327, allocations: 0 / 0.5751 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.4327, allocations: 0 / 0.5751 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.4331, allocations: 459.6 kB / 0.5755 GB, free: 6.406 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.4333, allocations: 156.3 kB / 0.5757 GB, free: 6.227 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/0.4336, allocations: 0.669 MB / 0.5763 GB, free: 5.531 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.865e-05/0.4336, allocations: 7.984 kB / 0.5763 GB, free: 5.523 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.439e-05/0.4337, allocations: 7.438 kB / 0.5764 GB, free: 5.516 MB / 414.1 MB Notification: Performance of SimCode: time 4.3e-07/0.4337, allocations: 0 / 0.5764 GB, free: 5.516 MB / 414.1 MB Notification: Performance of Templates: time 0.002716/0.4364, allocations: 303.2 kB / 0.5766 GB, free: 5.223 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.19721788726747]