Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001329/0.001329, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.0009172/0.0009172, allocations: 171.8 kB / 24.92 MB, free: 8.723 MB / 18.57 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.8771/0.8771, allocations: 177.1 MB / 205.3 MB, free: 5.121 MB / 186.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.5 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.241e-05/1.362e-05, allocations: 2.312 kB / 273.5 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.001746/0.00176, allocations: 1.618 MB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002817/0.002041, allocations: 143.4 kB / 275.2 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.002101, allocations: 4 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.867e-05/0.00214, allocations: 3.938 kB / 275.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.002241, allocations: 7.938 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.002393, allocations: 43.77 kB / 275.3 MB, free: 15.35 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 6.859e-05/0.002462, allocations: 27.92 kB / 275.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.13e-05/0.002523, allocations: 15.97 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.002567, allocations: 19.92 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.12e-05/0.002599, allocations: 8 kB / 275.3 MB, free: 15.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.002615, allocations: 8 kB / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.533e-06/0.002622, allocations: 0 / 275.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.508e-05/0.002657, allocations: 15.92 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.755e-05/0.002674, allocations: 7.938 kB / 275.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.293e-05/0.002747, allocations: 39.83 kB / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.142e-06/0.002748, allocations: 0 / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.002749, allocations: 0 / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.544e-06/0.002751, allocations: 0 / 275.4 MB, free: 15.21 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0002365/0.002988, allocations: 272.6 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.495e-05/0.003013, allocations: 8.031 kB / 275.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.178e-05/0.003035, allocations: 8.938 kB / 275.7 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.003146, allocations: 133.7 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.013e-06/0.003153, allocations: 4.375 kB / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.584e-06/0.003161, allocations: 384 / 275.8 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000138/0.003299, allocations: 126.2 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.002e-06/0.003305, allocations: 4.125 kB / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.519e-06/0.003309, allocations: 384 / 276 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003314, allocations: 8.375 kB / 276 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.243e-05/0.003327, allocations: 7.938 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001279/0.003455, allocations: 149.1 kB / 276.1 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.097e-05/0.003546, allocations: 53.14 kB / 276.2 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.828e-05/0.003564, allocations: 17.7 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.003574, allocations: 0 / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.589e-05/0.00359, allocations: 34.56 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.003591, allocations: 0 / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.459e-05/0.003675, allocations: 57.64 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.003712, allocations: 93.02 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.321e-05/0.003765, allocations: 126.7 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-06/0.003773, allocations: 25.7 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.544e-05/0.003798, allocations: 84.14 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.162e-05/0.00381, allocations: 11.94 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.003829, allocations: 13.72 kB / 276.6 MB, free: 13.82 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.315e-05/0.003893, allocations: 314.8 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.887e-06/0.003896, allocations: 0 / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-06/0.003901, allocations: 4 kB / 276.9 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.231e-05/0.003913, allocations: 8.922 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.003914, allocations: 4 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 2.76e-05/0.003942, allocations: 37.62 kB / 277 MB, free: 13.44 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.003955, allocations: 4 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.003958, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.003967, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.582e-05/0.003993, allocations: 7.938 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.124e-06/0.003995, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.558e-06/0.004005, allocations: 0 / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.004009, allocations: 4 kB / 277 MB, free: 13.42 MB / 266.7 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 (1): * Single equations (assignments): 1 * 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.565e-05/0.004055, allocations: 116.7 kB / 277.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.073e-05/0.004085, allocations: 41.69 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.97e-05/0.004105, allocations: 8.344 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.004106, allocations: 0 / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.004108, allocations: 3.938 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.004111, allocations: 0 / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.372e-05/0.004184, allocations: 73.88 kB / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.004185, allocations: 0 / 277.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.994e-05/0.004205, allocations: 15.94 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.004206, allocations: 0 / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-06/0.00421, allocations: 4 kB / 277.3 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.004211, allocations: 4 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.004212, allocations: 0 / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.289e-05/0.004265, allocations: 136.3 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.012e-05/0.004285, allocations: 15.94 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.742e-06/0.004291, allocations: 3.938 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.004319, allocations: 8 kB / 277.4 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.725e-05/0.004336, allocations: 4 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-06/0.004338, allocations: 0 / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of sorting global known variables: time 1.968e-05/0.004358, allocations: 36.56 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004358, allocations: 0 / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001136/0.004471, allocations: 8.031 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (4): * Single equations (assignments): 4 * 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.359e-05/0.004525, allocations: 80.3 kB / 277.6 MB, free: 12.81 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.223e-05/0.004567, allocations: 20.84 kB / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.004569, allocations: 0 / 277.6 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.875e-06/0.004577, allocations: 8.859 kB / 277.6 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001451/0.004722, allocations: 16.8 kB / 277.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001776/0.0049, allocations: 155.2 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.967e-05/0.004929, allocations: 63.47 kB / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.199e-05/0.004941, allocations: 256 / 277.8 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.818e-05/0.00498, allocations: 59.36 kB / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.00498, allocations: 0 / 277.9 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Templates: time 0.001642/0.006622, allocations: 0.5332 MB / 278.4 MB, free: 11.91 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.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.5166168129071593]