Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.0009294/0.0009294, allocations: 77.97 kB / 21.42 MB, free: 3.07 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.001133/0.001133, allocations: 169.5 kB / 24.82 MB, free: 9.234 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 1.019/1.019, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.IntegerSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 273.4 MB, free: 1.281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.915e-05/3.11e-05, allocations: 6.312 kB / 273.4 MB, free: 1.273 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002664/0.002695, allocations: 1.555 MB / 274.9 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.003066, allocations: 143.4 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.497e-05/0.003141, allocations: 4 kB / 275.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.507e-05/0.003186, allocations: 7.938 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.003305, allocations: 3.938 kB / 275.1 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001959/0.003501, allocations: 39.83 kB / 275.1 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.997e-05/0.003591, allocations: 31.86 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.64e-05/0.003678, allocations: 8 kB / 275.2 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.834e-05/0.003726, allocations: 11.98 kB / 275.2 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.027e-05/0.003766, allocations: 11.92 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.718e-05/0.003783, allocations: 0 / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-06/0.003793, allocations: 4 kB / 275.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.003833, allocations: 11.98 kB / 275.2 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.64e-05/0.003849, allocations: 7.938 kB / 275.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.058e-05/0.00394, allocations: 35.84 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003942, allocations: 0 / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.003942, allocations: 0 / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.686e-06/0.003946, allocations: 0 / 275.3 MB, free: 15.39 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.000359/0.004305, allocations: 392.3 kB / 275.6 MB, free: 14.97 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.962e-05/0.004345, allocations: 8.031 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.313e-05/0.004378, allocations: 8.891 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001494/0.004527, allocations: 136.5 kB / 275.8 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.056e-05/0.004538, allocations: 4.375 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.442e-06/0.004544, allocations: 8.312 kB / 275.8 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001675/0.004712, allocations: 101.6 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.004719, allocations: 192 / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.532e-06/0.004725, allocations: 4.375 kB / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.132e-06/0.004731, allocations: 384 / 275.9 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.25e-05/0.004744, allocations: 3.938 kB / 275.9 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002127/0.004957, allocations: 248 kB / 276.2 MB, free: 14.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.738e-05/0.005004, allocations: 50.19 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.265e-05/0.005027, allocations: 35.28 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.77e-05/0.005044, allocations: 3.984 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.005066, allocations: 37.45 kB / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.393e-06/0.005067, allocations: 0 / 276.3 MB, free: 14.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001258/0.005193, allocations: 45.58 kB / 276.3 MB, free: 14.16 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.015e-05/0.005233, allocations: 77.11 kB / 276.4 MB, free: 14.07 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.864e-05/0.005331, allocations: 193.2 kB / 276.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.269e-05/0.005344, allocations: 29.7 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.005391, allocations: 135.1 kB / 276.7 MB, free: 13.69 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.254e-06/0.005398, allocations: 4 kB / 276.8 MB, free: 13.69 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.244e-05/0.00543, allocations: 19.38 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.005563, allocations: 496.1 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.104e-05/0.005574, allocations: 4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.069e-05/0.005585, allocations: 4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.005607, allocations: 11.62 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.005609, allocations: 0 / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.775e-05/0.005667, allocations: 45.64 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.00568, allocations: 4 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.005685, allocations: 4.094 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.005697, allocations: 3.938 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.593e-05/0.005753, allocations: 4 kB / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.005756, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.535e-05/0.005771, allocations: 0 / 277.3 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.196e-06/0.005774, allocations: 4 kB / 277.3 MB, free: 13.07 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: 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.146e-05/0.005856, allocations: 152.6 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.953e-05/0.005905, allocations: 45.58 kB / 277.5 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.791e-05/0.005933, allocations: 11.75 kB / 277.5 MB, free: 12.85 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.005937, allocations: 3.969 kB / 277.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-06/0.005938, allocations: 8 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.00594, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.006062, allocations: 105.2 kB / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.006064, allocations: 0 / 277.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.586e-05/0.00609, allocations: 4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.006092, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.038e-06/0.006096, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.006097, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.006099, allocations: 4 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001034/0.006202, allocations: 199.5 kB / 277.9 MB, free: 12.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.957e-05/0.006232, allocations: 19.91 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.518e-06/0.006241, allocations: 0 / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.381e-05/0.006285, allocations: 4 kB / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.108e-05/0.006306, allocations: 0 / 277.9 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.00631, allocations: 3.938 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.22e-05/0.006372, allocations: 143.2 kB / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.006372, allocations: 0 / 278 MB, free: 12.31 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.00657, allocations: 4 kB / 278 MB, free: 12.31 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: 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 9.631e-05/0.006666, allocations: 99.23 kB / 278.1 MB, free: 12.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 5.93e-05/0.006725, allocations: 15.69 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.006727, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.296e-05/0.00674, allocations: 11.62 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002667/0.007007, allocations: 21.75 kB / 278.2 MB, free: 12.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002466/0.007253, allocations: 145.5 kB / 278.3 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.007302, allocations: 59.3 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.75e-05/0.00732, allocations: 7.984 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.487e-05/0.007375, allocations: 70.42 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of SimCode: time 7.81e-07/0.007375, allocations: 4 kB / 278.5 MB, free: 11.81 MB / 266.7 MB Notification: Performance of Templates: time 0.00234/0.009715, allocations: 0.5304 MB / 279 MB, free: 11.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.74797409074381]