Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.001019/0.001019, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001385/0.002404, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 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.0009539/0.0009539, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001352/0.002306, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 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 0.7945/0.7945, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.14/0.9346, allocations: 52.49 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.047e-05/2.184e-05, allocations: 3.719 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.002008/0.00203, allocations: 1.774 MB / 241.5 MB, free: 4.578 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002496/0.002279, allocations: 180.7 kB / 241.7 MB, free: 4.402 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.96e-05/0.002359, allocations: 4 kB / 241.7 MB, free: 4.398 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 3.895e-05/0.002398, allocations: 7.875 kB / 241.7 MB, free: 4.391 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.922e-05/0.002467, allocations: 8.547 kB / 241.7 MB, free: 4.383 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001625/0.00263, allocations: 51.77 kB / 241.8 MB, free: 4.332 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.002734, allocations: 48.45 kB / 241.8 MB, free: 4.285 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.819e-05/0.002832, allocations: 32.44 kB / 241.9 MB, free: 4.254 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.221e-05/0.002904, allocations: 31.91 kB / 241.9 MB, free: 4.223 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.002957, allocations: 25.59 kB / 241.9 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.002982, allocations: 4 kB / 241.9 MB, free: 4.195 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.002994, allocations: 4 kB / 241.9 MB, free: 4.191 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.883e-05/0.003043, allocations: 15.92 kB / 241.9 MB, free: 4.176 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 2.355e-05/0.003067, allocations: 17.09 kB / 242 MB, free: 4.16 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.003178, allocations: 47.77 kB / 242 MB, free: 4.113 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.003187, allocations: 0 / 242 MB, free: 4.113 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.003187, allocations: 4.938 kB / 242 MB, free: 4.109 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.003199, allocations: 0 / 242 MB, free: 4.109 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003481/0.003547, allocations: 297.3 kB / 242.3 MB, free: 3.793 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.794e-05/0.003575, allocations: 12.03 kB / 242.3 MB, free: 3.781 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.003605, allocations: 8.938 kB / 242.3 MB, free: 3.773 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.003749, allocations: 142.3 kB / 242.5 MB, free: 3.609 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.727e-06/0.003758, allocations: 9.062 kB / 242.5 MB, free: 3.602 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/0.003769, allocations: 4.375 kB / 242.5 MB, free: 3.598 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.003957, allocations: 158.8 kB / 242.6 MB, free: 3.422 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.003964, allocations: 4.125 kB / 242.6 MB, free: 3.418 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.632e-06/0.003971, allocations: 4.375 kB / 242.6 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003976, allocations: 384 / 242.6 MB, free: 3.414 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.407e-05/0.004, allocations: 15.94 kB / 242.6 MB, free: 3.398 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.004192, allocations: 257.2 kB / 242.9 MB, free: 3.125 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/0.004331, allocations: 81.19 kB / 243 MB, free: 3.02 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.004362, allocations: 42.7 kB / 243 MB, free: 2.969 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/0.00438, allocations: 4.812 kB / 243 MB, free: 2.965 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.0044, allocations: 34.56 kB / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.004401, allocations: 1.094 kB / 243.1 MB, free: 2.922 MB / 234.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001309/0.004531, allocations: 84.61 kB / 243.1 MB, free: 2.836 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.004577, allocations: 110.8 kB / 243.2 MB, free: 2.703 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.587e-05/0.004642, allocations: 132.7 kB / 243.4 MB, free: 2.562 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 9.298e-06/0.004652, allocations: 29.7 kB / 243.4 MB, free: 2.527 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.312e-05/0.004685, allocations: 84.12 kB / 243.5 MB, free: 2.441 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.004702, allocations: 11.95 kB / 243.5 MB, free: 2.43 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.084e-05/0.004723, allocations: 13.67 kB / 243.5 MB, free: 2.41 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 6.517e-05/0.004788, allocations: 318.8 kB / 243.8 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.853e-06/0.004795, allocations: 0 / 243.8 MB, free: 2.09 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.004807, allocations: 18.98 kB / 243.8 MB, free: 2.066 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.242e-05/0.004829, allocations: 18.72 kB / 243.9 MB, free: 2.043 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004831, allocations: 0 / 243.9 MB, free: 2.043 MB / 234.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.041e-05/0.004872, allocations: 42.59 kB / 243.9 MB, free: 1.996 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.004883, allocations: 8 kB / 243.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.004886, allocations: 0.9062 kB / 243.9 MB, free: 1.988 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.004898, allocations: 3.938 kB / 243.9 MB, free: 1.984 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.315e-05/0.004931, allocations: 5.781 kB / 243.9 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.004934, allocations: 0 / 243.9 MB, free: 1.98 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.526e-05/0.004949, allocations: 11.94 kB / 243.9 MB, free: 1.969 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.004953, allocations: 3.984 kB / 243.9 MB, free: 1.965 MB / 234.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 5.032e-05/0.005004, allocations: 116.7 kB / 244.1 MB, free: 1.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/0.005053, allocations: 50.33 kB / 244.1 MB, free: 1.785 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.905e-05/0.005082, allocations: 21.41 kB / 244.1 MB, free: 1.762 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.005087, allocations: 7.938 kB / 244.1 MB, free: 1.754 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.254e-06/0.005089, allocations: 5.953 kB / 244.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.624e-06/0.005091, allocations: 0 / 244.1 MB, free: 1.75 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.005198, allocations: 77.88 kB / 244.2 MB, free: 1.656 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.005199, allocations: 0 / 244.2 MB, free: 1.656 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.67e-05/0.005236, allocations: 19.98 kB / 244.2 MB, free: 1.637 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.562e-05/0.005262, allocations: 20.45 kB / 244.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.005263, allocations: 0 / 244.3 MB, free: 1.617 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.005268, allocations: 8.75 kB / 244.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.051e-06/0.005269, allocations: 0 / 244.3 MB, free: 1.609 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.005271, allocations: 5.594 kB / 244.3 MB, free: 1.605 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.936e-05/0.005351, allocations: 219.7 kB / 244.5 MB, free: 1.371 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.748e-06/0.00536, allocations: 8 kB / 244.5 MB, free: 1.363 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.962e-05/0.00541, allocations: 7.984 kB / 244.5 MB, free: 1.355 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.135e-05/0.005431, allocations: 4.344 kB / 244.5 MB, free: 1.352 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.005435, allocations: 8 kB / 244.5 MB, free: 1.344 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.167e-05/0.005457, allocations: 31.17 kB / 244.5 MB, free: 1.312 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005457, allocations: 0 / 244.5 MB, free: 1.312 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001418/0.005599, allocations: 8 kB / 244.5 MB, free: 1.305 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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 6.058e-05/0.005659, allocations: 80.36 kB / 244.6 MB, free: 1.219 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 5.837e-05/0.005718, allocations: 28.78 kB / 244.7 MB, free: 1.188 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.005722, allocations: 0 / 244.7 MB, free: 1.188 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 1.593e-05/0.005738, allocations: 13.05 kB / 244.7 MB, free: 1.172 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002582/0.005996, allocations: 93.61 kB / 244.8 MB, free: 1.066 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000429/0.006425, allocations: 211 kB / 245 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.205e-05/0.006467, allocations: 67.34 kB / 245 MB, free: 0.7344 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 1.611e-05/0.006483, allocations: 3.984 kB / 245 MB, free: 0.7305 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/0.006529, allocations: 59.38 kB / 245.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of SimCode: time 5.61e-07/0.00653, allocations: 0 / 245.1 MB, free: 0.6719 MB / 234.7 MB Notification: Performance of Templates: time 0.002089/0.008619, allocations: 0.7212 MB / 245.8 MB, free: 15.96 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.1366098979488015]