Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 119.4 kB / 18.41 MB, free: 4.516 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 188.3 kB / 21.34 MB, free: 1.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 247 MB, free: 4.188 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo): time 0.8225/0.8225, allocations: 119.3 MB / 418.6 MB, free: 12 MB / 350.1 MB " [Timeout remaining time 179] Using package ScalableTestSuite with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ScalableTestSuite 2.2.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") translateModel(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|time|x|y",fileNamePrefix="ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 71.88 kB / 0.5801 GB, free: 12.73 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5117/0.5135, allocations: 80.69 MB / 0.6588 GB, free: 13.33 MB / 0.4983 GB Notification: Performance of NFInst.instantiate(ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist): time 0.001399/0.515, allocations: 394.9 kB / 0.6592 GB, free: 13.04 MB / 0.4983 GB Notification: Performance of NFInst.instExpressions: time 0.0001595/0.5151, allocations: 30.34 kB / 0.6593 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.196e-05/0.5152, allocations: 4.906 kB / 0.6593 GB, free: 13.01 MB / 0.4983 GB Notification: Performance of NFTyping.typeComponents: time 1.134e-05/0.5152, allocations: 3.938 kB / 0.6593 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.5152, allocations: 0 / 0.6593 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001242/0.5154, allocations: 10.72 kB / 0.6593 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFFlatten.flatten: time 3.697e-05/0.5154, allocations: 2.969 kB / 0.6593 GB, free: 13 MB / 0.4983 GB Notification: Performance of NFFlatten.resolveConnections: time 4.706e-05/0.5155, allocations: 5.359 kB / 0.6593 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFEvalConstants.evaluate: time 1.463e-05/0.5155, allocations: 5.375 kB / 0.6593 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFSimplifyModel.simplify: time 3.597e-05/0.5155, allocations: 0 / 0.6593 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFPackage.collectConstants: time 9.688e-06/0.5155, allocations: 1.188 kB / 0.6593 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFFlatten.collectFunctions: time 5.135e-05/0.5156, allocations: 4.531 kB / 0.6593 GB, free: 12.99 MB / 0.4983 GB Notification: Performance of NFScalarize.scalarize: time 9.017e-06/0.5156, allocations: 13.19 kB / 0.6593 GB, free: 12.98 MB / 0.4983 GB Notification: Performance of NFVerifyModel.verify: time 1.437e-05/0.5156, allocations: 3.938 kB / 0.6593 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of NFConvertDAE.convert: time 6.405e-05/0.5157, allocations: 12.25 kB / 0.6593 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.5157, allocations: 0 / 0.6593 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5157, allocations: 0.9062 kB / 0.6593 GB, free: 12.97 MB / 0.4983 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.5157, allocations: 0 / 0.6593 GB, free: 12.97 MB / 0.4983 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0001869/0.5159, allocations: 311.9 kB / 0.6596 GB, free: 12.62 MB / 0.4983 GB Notification: Performance of prepare preOptimizeDAE: time 3.252e-05/0.5159, allocations: 13.48 kB / 0.6596 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.467e-05/0.516, allocations: 4.891 kB / 0.6596 GB, free: 12.61 MB / 0.4983 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.979e-05/0.516, allocations: 161.9 kB / 0.6598 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.502e-06/0.516, allocations: 4.375 kB / 0.6598 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.628e-06/0.5161, allocations: 1.875 kB / 0.6598 GB, free: 12.41 MB / 0.4983 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.638e-05/0.5161, allocations: 41.31 kB / 0.6598 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.823e-06/0.5161, allocations: 192 / 0.6598 GB, free: 12.37 MB / 0.4983 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.5162, allocations: 3.938 kB / 0.6598 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-06/0.5162, allocations: 0 / 0.6598 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.5162, allocations: 3.188 kB / 0.6598 GB, free: 12.36 MB / 0.4983 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.04e-05/0.5163, allocations: 155.8 kB / 0.66 GB, free: 12.17 MB / 0.4983 GB Notification: Performance of preOpt comSubExp (simulation): time 3.605e-05/0.5163, allocations: 23.23 kB / 0.66 GB, free: 12.14 MB / 0.4983 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.687e-05/0.5164, allocations: 11.17 kB / 0.66 GB, free: 12.13 MB / 0.4983 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001825/0.5165, allocations: 86.28 kB / 0.6601 GB, free: 12.04 MB / 0.4983 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.52e-05/0.5166, allocations: 39.62 kB / 0.6601 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5166, allocations: 0 / 0.6601 GB, free: 11.98 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2): time 0.0001232/0.5167, allocations: 38.33 kB / 0.6602 GB, free: 11.95 MB / 0.4983 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.766e-05/0.5167, allocations: 57 kB / 0.6602 GB, free: 11.88 MB / 0.4983 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.331e-05/0.5168, allocations: 93.8 kB / 0.6603 GB, free: 11.78 MB / 0.4983 GB Notification: Performance of collectPreVariables (initialization): time 5.761e-06/0.5168, allocations: 29.7 kB / 0.6604 GB, free: 11.74 MB / 0.4983 GB Notification: Performance of collectInitialEqns (initialization): time 8.837e-06/0.5168, allocations: 85.75 kB / 0.6604 GB, free: 11.66 MB / 0.4983 GB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.5168, allocations: 3.953 kB / 0.6604 GB, free: 11.65 MB / 0.4983 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.103e-05/0.5168, allocations: 13.28 kB / 0.6605 GB, free: 11.64 MB / 0.4983 GB Notification: Performance of setup shared object (initialization): time 3.473e-05/0.5169, allocations: 312.7 kB / 0.6607 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.251e-05/0.5169, allocations: 5.812 kB / 0.6608 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-06/0.5169, allocations: 5.938 kB / 0.6608 GB, free: 11.32 MB / 0.4983 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.526e-05/0.5169, allocations: 22.11 kB / 0.6608 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5169, allocations: 0 / 0.6608 GB, free: 11.3 MB / 0.4983 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.654e-05/0.517, allocations: 41 kB / 0.6608 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/0.517, allocations: 5.406 kB / 0.6608 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.517, allocations: 0 / 0.6608 GB, free: 11.26 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.517, allocations: 5.719 kB / 0.6608 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.167e-05/0.5171, allocations: 1.812 kB / 0.6608 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.5171, allocations: 1.875 kB / 0.6608 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.5171, allocations: 4 kB / 0.6608 GB, free: 11.25 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-06/0.5171, allocations: 0 / 0.6608 GB, free: 11.25 MB / 0.4983 GB 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 (2): * Single equations (assignments): 2 * 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 3.556e-05/0.5172, allocations: 108.5 kB / 0.6609 GB, free: 11.14 MB / 0.4983 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.5172, allocations: 5.766 kB / 0.6609 GB, free: 11.13 MB / 0.4983 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.5172, allocations: 47.89 kB / 0.661 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.5173, allocations: 0 / 0.661 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-06/0.5173, allocations: 0 / 0.661 GB, free: 11.09 MB / 0.4983 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.5173, allocations: 9.797 kB / 0.661 GB, free: 11.08 MB / 0.4983 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.294e-05/0.5173, allocations: 151.5 kB / 0.6611 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.5173, allocations: 0 / 0.6611 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.864e-05/0.5173, allocations: 3.594 kB / 0.6612 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.5174, allocations: 0 / 0.6612 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.96e-06/0.5174, allocations: 3.938 kB / 0.6612 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.5174, allocations: 0 / 0.6612 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.5174, allocations: 1.781 kB / 0.6612 GB, free: 10.88 MB / 0.4983 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.862e-05/0.5174, allocations: 70.72 kB / 0.6612 GB, free: 10.8 MB / 0.4983 GB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.5174, allocations: 77.11 kB / 0.6613 GB, free: 10.71 MB / 0.4983 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-06/0.5175, allocations: 3.938 kB / 0.6613 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.051e-05/0.5175, allocations: 0 / 0.6613 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.5175, allocations: 2.219 kB / 0.6613 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5175, allocations: 7.922 kB / 0.6613 GB, free: 10.7 MB / 0.4983 GB Notification: Performance of sorting global known variables: time 1.044e-05/0.5175, allocations: 75.28 kB / 0.6614 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5175, allocations: 0 / 0.6614 GB, free: 10.62 MB / 0.4983 GB Notification: Performance of remove unused functions: time 0.0001873/0.5177, allocations: 3.219 kB / 0.6614 GB, free: 10.62 MB / 0.4983 GB 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 (2): * Single equations (assignments): 2 * 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 7.865e-05/0.5178, allocations: 110.5 kB / 0.6615 GB, free: 10.52 MB / 0.4983 GB Notification: Performance of simCode: created initialization part: time 6.854e-05/0.5179, allocations: 9.562 kB / 0.6615 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5179, allocations: 1.312 kB / 0.6615 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.5179, allocations: 7.938 kB / 0.6615 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001153/0.518, allocations: 0.9062 kB / 0.6615 GB, free: 10.51 MB / 0.4983 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001438/0.5181, allocations: 111.1 kB / 0.6616 GB, free: 10.38 MB / 0.4983 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.5182, allocations: 0.6741 MB / 0.6623 GB, free: 9.676 MB / 0.4983 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.236e-05/0.5183, allocations: 12.97 kB / 0.6623 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of SimCode: time 2.21e-07/0.5183, allocations: 0 / 0.6623 GB, free: 9.664 MB / 0.4983 GB Notification: Performance of Templates: time 0.001671/0.5199, allocations: 436.1 kB / 0.6627 GB, free: 9.453 MB / 0.4983 GB " [Timeout remaining time 299] make -j1 -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.makefile [Timeout 300] (rm -f ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; mkfifo ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe ; head -c 1048576 < ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe >> ../files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.sim & ./ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist -abortSlowSimulation -alarm=300 -emit_protected -lv LOG_STATS > ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.pipe 2>&1) [Timeout 300] diffSimulationResults("ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/ReferenceFiles/ScalableTestSuite/ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ScalableTestSuite_ScalableTestSuite.Thermal.DistrictHeating.Verification.TestHist.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.645158585160971]