Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007464/0.0007464, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009401/0.001686, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006769/0.0006769, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008574/0.001534, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9105/0.9105, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09034/1.001, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.143e-06/1.143e-06, allocations: 0 / 244.5 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.138e-05/1.253e-05, allocations: 2.312 kB / 244.5 MB, free: 14.29 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.001874/0.001887, allocations: 1.788 MB / 246.3 MB, free: 12.49 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002338/0.002121, allocations: 183.2 kB / 246.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.381e-05/0.002184, allocations: 4 kB / 246.5 MB, free: 12.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.473e-05/0.002219, allocations: 11.86 kB / 246.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.048e-05/0.00228, allocations: 7.875 kB / 246.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001381/0.002418, allocations: 47.83 kB / 246.6 MB, free: 12.24 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.839e-05/0.002506, allocations: 51.84 kB / 246.6 MB, free: 12.19 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.411e-05/0.00259, allocations: 27.97 kB / 246.7 MB, free: 12.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.158e-05/0.002652, allocations: 31.92 kB / 246.7 MB, free: 12.13 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.506e-05/0.002697, allocations: 23.89 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.002718, allocations: 4 kB / 246.7 MB, free: 12.11 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.638e-06/0.002728, allocations: 4 kB / 246.7 MB, free: 12.1 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.002763, allocations: 15.94 kB / 246.7 MB, free: 12.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.127e-05/0.002784, allocations: 15.94 kB / 246.7 MB, free: 12.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.998e-05/0.002874, allocations: 51.7 kB / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.946e-06/0.002883, allocations: 0 / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.002884, allocations: 0 / 246.8 MB, free: 12.02 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.081e-05/0.002895, allocations: 4 kB / 246.8 MB, free: 12.02 MB / 250.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.0003299/0.003224, allocations: 304.2 kB / 247.1 MB, free: 11.69 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.716e-05/0.003252, allocations: 12.03 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.518e-05/0.003277, allocations: 4.938 kB / 247.1 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.003415, allocations: 141.6 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.003423, allocations: 4.375 kB / 247.3 MB, free: 11.51 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.003432, allocations: 4.375 kB / 247.3 MB, free: 11.5 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.003625, allocations: 170.9 kB / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-06/0.003631, allocations: 192 / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.003637, allocations: 384 / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.003641, allocations: 384 / 247.4 MB, free: 11.31 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.77e-05/0.003668, allocations: 15.94 kB / 247.4 MB, free: 11.3 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002365/0.003905, allocations: 245.2 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.004038, allocations: 87.8 kB / 247.8 MB, free: 10.92 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.004069, allocations: 38.56 kB / 247.8 MB, free: 10.88 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.004089, allocations: 8 kB / 247.8 MB, free: 10.87 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.695e-05/0.004106, allocations: 30.56 kB / 247.8 MB, free: 10.83 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 8.51e-07/0.004107, allocations: 4 kB / 247.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=10): time 0.0001261/0.004233, allocations: 85.62 kB / 247.9 MB, free: 10.73 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.004275, allocations: 106.8 kB / 248 MB, free: 10.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.65e-05/0.004332, allocations: 130.7 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.847e-06/0.00434, allocations: 29.7 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.725e-05/0.004368, allocations: 92.08 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.079e-05/0.004378, allocations: 8.188 kB / 248.3 MB, free: 10.33 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.21e-05/0.004401, allocations: 21.66 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.245e-05/0.004463, allocations: 318.8 kB / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.685e-06/0.004471, allocations: 0 / 248.6 MB, free: 9.98 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.004483, allocations: 17.72 kB / 248.6 MB, free: 9.957 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.781e-05/0.004501, allocations: 17.66 kB / 248.7 MB, free: 9.934 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.004503, allocations: 4 kB / 248.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.518e-05/0.004539, allocations: 41.62 kB / 248.7 MB, free: 9.883 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.004549, allocations: 12.12 kB / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.004553, allocations: 0 / 248.7 MB, free: 9.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.985e-06/0.004561, allocations: 3.938 kB / 248.7 MB, free: 9.867 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.707e-05/0.004588, allocations: 4 kB / 248.7 MB, free: 9.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.00459, allocations: 3.938 kB / 248.7 MB, free: 9.859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.408e-05/0.004604, allocations: 7.984 kB / 248.7 MB, free: 9.852 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.778e-06/0.004608, allocations: 0 / 248.7 MB, free: 9.852 MB / 250.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 4.558e-05/0.004654, allocations: 112.7 kB / 248.8 MB, free: 9.73 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.621e-05/0.0047, allocations: 57.62 kB / 248.9 MB, free: 9.668 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.47e-05/0.004725, allocations: 16.77 kB / 248.9 MB, free: 9.652 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.004728, allocations: 11.94 kB / 248.9 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.004729, allocations: 0 / 248.9 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.334e-06/0.004731, allocations: 0 / 248.9 MB, free: 9.641 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.004835, allocations: 81.88 kB / 249 MB, free: 9.543 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.572e-06/0.004836, allocations: 3.984 kB / 249 MB, free: 9.539 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.596e-05/0.004872, allocations: 19.98 kB / 249 MB, free: 9.52 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.365e-05/0.004896, allocations: 15.91 kB / 249 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.004897, allocations: 0 / 249 MB, free: 9.504 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.004902, allocations: 4 kB / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.004903, allocations: 0 / 249 MB, free: 9.5 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.004904, allocations: 3.938 kB / 249.1 MB, free: 9.496 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.313e-05/0.004977, allocations: 227.6 kB / 249.3 MB, free: 9.254 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.867e-06/0.004986, allocations: 3.984 kB / 249.3 MB, free: 9.25 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.738e-05/0.005033, allocations: 4 kB / 249.3 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.924e-05/0.005053, allocations: 7.938 kB / 249.3 MB, free: 9.238 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.005055, allocations: 4 kB / 249.3 MB, free: 9.234 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.895e-05/0.005074, allocations: 28.27 kB / 249.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005074, allocations: 0 / 249.3 MB, free: 9.207 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001351/0.005209, allocations: 8 kB / 249.3 MB, free: 9.199 MB / 250.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 5.407e-05/0.005263, allocations: 84.39 kB / 249.4 MB, free: 9.109 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.79e-05/0.005321, allocations: 28.78 kB / 249.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.005325, allocations: 0 / 249.4 MB, free: 9.078 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.294e-05/0.005338, allocations: 12.8 kB / 249.5 MB, free: 9.062 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000229/0.005567, allocations: 38.27 kB / 249.5 MB, free: 9.023 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00034/0.005907, allocations: 211.2 kB / 249.7 MB, free: 8.777 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.753e-05/0.005944, allocations: 63.34 kB / 249.8 MB, free: 8.695 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.539e-05/0.00596, allocations: 8.25 kB / 249.8 MB, free: 8.688 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.006001, allocations: 59.36 kB / 249.8 MB, free: 8.629 MB / 250.7 MB Notification: Performance of SimCode: time 5.51e-07/0.006002, allocations: 3.938 kB / 249.8 MB, free: 8.625 MB / 250.7 MB Notification: Performance of Templates: time 0.001929/0.007931, allocations: 0.7119 MB / 250.5 MB, free: 7.93 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.4042388051748276]