Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001471/0.001471, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001253/0.001253, allocations: 138.6 kB / 24.97 MB, free: 9.309 MB / 18.57 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.978/0.978, allocations: 173.4 MB / 201.5 MB, free: 9.27 MB / 186.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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 268.1 MB, free: 6.68 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.299e-05/1.409e-05, allocations: 2.312 kB / 268.1 MB, free: 6.676 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.001818/0.001832, allocations: 1.553 MB / 269.6 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002621/0.002094, allocations: 131.5 kB / 269.7 MB, free: 4.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.165e-05/0.002155, allocations: 7.938 kB / 269.8 MB, free: 4.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.755e-05/0.002193, allocations: 3.938 kB / 269.8 MB, free: 4.969 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.952e-05/0.002283, allocations: 4 kB / 269.8 MB, free: 4.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.002442, allocations: 39.83 kB / 269.8 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.002511, allocations: 35.78 kB / 269.8 MB, free: 4.891 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.816e-05/0.002579, allocations: 4 kB / 269.8 MB, free: 4.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.463e-05/0.002614, allocations: 15.98 kB / 269.9 MB, free: 4.871 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.07e-05/0.002645, allocations: 11.94 kB / 269.9 MB, free: 4.859 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.00266, allocations: 4 kB / 269.9 MB, free: 4.855 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.356e-06/0.002669, allocations: 4 kB / 269.9 MB, free: 4.852 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.374e-05/0.002702, allocations: 11.92 kB / 269.9 MB, free: 4.84 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.933e-05/0.002722, allocations: 11.98 kB / 269.9 MB, free: 4.828 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.475e-05/0.002796, allocations: 23.86 kB / 269.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.392e-06/0.002798, allocations: 0 / 269.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.21e-07/0.002798, allocations: 0 / 269.9 MB, free: 4.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.002802, allocations: 0 / 269.9 MB, free: 4.805 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002985/0.0031, allocations: 384.4 kB / 270.3 MB, free: 4.391 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.003144, allocations: 12.92 kB / 270.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.003187, allocations: 12.89 kB / 270.3 MB, free: 4.367 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.003384, allocations: 147.8 kB / 270.5 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.146e-06/0.003392, allocations: 4.312 kB / 270.5 MB, free: 4.195 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.003402, allocations: 8.375 kB / 270.5 MB, free: 4.188 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001741/0.003576, allocations: 97.69 kB / 270.6 MB, free: 4.066 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.003583, allocations: 4.125 kB / 270.6 MB, free: 4.062 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-06/0.00359, allocations: 4.375 kB / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-06/0.003596, allocations: 384 / 270.6 MB, free: 4.059 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.666e-05/0.003612, allocations: 11.94 kB / 270.6 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002153/0.003828, allocations: 259.5 kB / 270.9 MB, free: 3.754 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.414e-05/0.003872, allocations: 54.05 kB / 270.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.802e-05/0.00389, allocations: 19.5 kB / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.186e-05/0.003902, allocations: 0 / 270.9 MB, free: 3.648 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.003923, allocations: 41.39 kB / 271 MB, free: 3.598 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003923, allocations: 0 / 271 MB, free: 3.598 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001208/0.004044, allocations: 53.52 kB / 271 MB, free: 3.539 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.004085, allocations: 85.3 kB / 271.1 MB, free: 3.438 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.799e-05/0.004173, allocations: 189.9 kB / 271.3 MB, free: 3.234 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.004182, allocations: 25.7 kB / 271.3 MB, free: 3.203 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001855/0.004368, allocations: 130.9 kB / 271.4 MB, free: 3.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.354e-06/0.004375, allocations: 3.953 kB / 271.4 MB, free: 3.066 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.482e-05/0.0044, allocations: 19.38 kB / 271.5 MB, free: 3.039 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.004523, allocations: 0.4923 MB / 272 MB, free: 2.535 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.985e-06/0.004531, allocations: 0 / 272 MB, free: 2.535 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.35e-06/0.004537, allocations: 0 / 272 MB, free: 2.535 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.672e-05/0.004553, allocations: 11.69 kB / 272 MB, free: 2.52 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.004555, allocations: 4.062 kB / 272 MB, free: 2.516 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.1e-05/0.004596, allocations: 33.64 kB / 272 MB, free: 2.477 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.004605, allocations: 4 kB / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.004609, allocations: 7.938 kB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.004619, allocations: 0 / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.485e-05/0.004663, allocations: 0 / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.004668, allocations: 3.984 kB / 272 MB, free: 2.461 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.18e-05/0.00468, allocations: 4 kB / 272 MB, free: 2.457 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-06/0.004684, allocations: 0 / 272 MB, free: 2.457 MB / 250.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: 1 (step.y) * 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 8.246e-05/0.004766, allocations: 164.5 kB / 272.2 MB, free: 2.285 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.32e-05/0.004799, allocations: 41.64 kB / 272.2 MB, free: 2.238 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.352e-05/0.004823, allocations: 19.73 kB / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.004824, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.355e-06/0.004827, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.004829, allocations: 0 / 272.2 MB, free: 2.219 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.771e-05/0.004917, allocations: 120.6 kB / 272.4 MB, free: 2.066 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.004919, allocations: 4 kB / 272.4 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.004934, allocations: 7.938 kB / 272.4 MB, free: 2.055 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.063e-06/0.004936, allocations: 4 kB / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.318e-06/0.00494, allocations: 0 / 272.4 MB, free: 2.051 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.004942, allocations: 7.969 kB / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.004943, allocations: 0 / 272.4 MB, free: 2.043 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.275e-05/0.005026, allocations: 199.6 kB / 272.6 MB, free: 1.824 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.337e-05/0.005049, allocations: 23.88 kB / 272.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-06/0.005058, allocations: 0 / 272.6 MB, free: 1.801 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.8e-05/0.005086, allocations: 3.938 kB / 272.6 MB, free: 1.797 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.369e-05/0.005109, allocations: 4 kB / 272.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.005111, allocations: 0 / 272.6 MB, free: 1.793 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.336e-05/0.005155, allocations: 139.2 kB / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005155, allocations: 0 / 272.7 MB, free: 1.656 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001362/0.005291, allocations: 8.031 kB / 272.8 MB, free: 1.648 MB / 250.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: 2 (step.y,sample1.y) * 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 5.675e-05/0.005348, allocations: 103.2 kB / 272.9 MB, free: 1.539 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.108e-05/0.005399, allocations: 15.69 kB / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.92e-07/0.0054, allocations: 0 / 272.9 MB, free: 1.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 9.388e-06/0.005409, allocations: 7.688 kB / 272.9 MB, free: 1.508 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001995/0.005609, allocations: 19.25 kB / 272.9 MB, free: 1.488 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002628/0.005871, allocations: 164.6 kB / 273.1 MB, free: 1.301 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.324e-05/0.005905, allocations: 59.34 kB / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.464e-05/0.005919, allocations: 0 / 273.1 MB, free: 1.223 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.204e-05/0.005941, allocations: 12.5 kB / 273.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of SimCode: time 6.52e-07/0.005942, allocations: 0 / 273.1 MB, free: 1.207 MB / 250.7 MB Notification: Performance of Templates: time 0.001891/0.007833, allocations: 494.6 kB / 273.6 MB, free: 0.7305 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SampleClocked/SampleClocked.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.676058338023722]