Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001062/0.001062, allocations: 79.69 kB / 21.7 MB, free: 2.852 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001186/0.001186, allocations: 162.2 kB / 24.99 MB, free: 8.801 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.075/1.075, allocations: 177 MB / 205.2 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 273 MB, free: 1.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.388e-05/2.512e-05, allocations: 2.312 kB / 273 MB, free: 1.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001982/0.002007, allocations: 1.572 MB / 274.5 MB, free: 188 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000301/0.002308, allocations: 151.4 kB / 274.7 MB, free: 36 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.124e-05/0.002379, allocations: 3.938 kB / 274.7 MB, free: 32 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.394e-05/0.002423, allocations: 11.92 kB / 274.7 MB, free: 20 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.002537, allocations: 3.938 kB / 274.7 MB, free: 16 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.002733, allocations: 39.83 kB / 274.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.416e-05/0.002817, allocations: 35.84 kB / 274.8 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.736e-05/0.002904, allocations: 12 kB / 274.8 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.1e-05/0.002945, allocations: 15.98 kB / 274.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.727e-05/0.002982, allocations: 15.92 kB / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.003, allocations: 0 / 274.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.039e-05/0.003011, allocations: 4 kB / 274.8 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.185e-05/0.003053, allocations: 15.92 kB / 274.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.422e-05/0.003077, allocations: 7.984 kB / 274.9 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.432e-05/0.003171, allocations: 35.84 kB / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.003173, allocations: 0 / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.003174, allocations: 0 / 274.9 MB, free: 15.84 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.003178, allocations: 0 / 274.9 MB, free: 15.84 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.000347/0.003525, allocations: 400.3 kB / 275.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.003564, allocations: 11.98 kB / 275.3 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.003605, allocations: 12.89 kB / 275.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001564/0.003761, allocations: 143.1 kB / 275.5 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.03e-05/0.003771, allocations: 8.375 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.003781, allocations: 4.375 kB / 275.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.003993, allocations: 129.6 kB / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.37e-06/0.003998, allocations: 192 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.004006, allocations: 384 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.004012, allocations: 384 / 275.6 MB, free: 15.05 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.116e-05/0.004033, allocations: 19.86 kB / 275.6 MB, free: 15.04 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002275/0.00426, allocations: 263.5 kB / 275.9 MB, free: 14.74 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001266/0.004387, allocations: 70.11 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.213e-05/0.004419, allocations: 23.44 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.912e-05/0.004438, allocations: 4 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.771e-05/0.004456, allocations: 37.39 kB / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.623e-06/0.004458, allocations: 0 / 276 MB, free: 14.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001469/0.004604, allocations: 65.52 kB / 276.1 MB, free: 14.49 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.004659, allocations: 85.09 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.098e-05/0.00475, allocations: 185.9 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.086e-06/0.004758, allocations: 25.7 kB / 276.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.55e-05/0.004804, allocations: 134.8 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.387e-06/0.004813, allocations: 7.953 kB / 276.5 MB, free: 14.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.406e-05/0.004837, allocations: 19.38 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.004943, allocations: 0.4884 MB / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.585e-06/0.004951, allocations: 128 / 277 MB, free: 13.49 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.004956, allocations: 4 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.051e-05/0.004976, allocations: 15.69 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.004978, allocations: 3.938 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.697e-05/0.005015, allocations: 33.7 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.005028, allocations: 7.125 kB / 277.1 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.005033, allocations: 3.938 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.005043, allocations: 0 / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.691e-05/0.00508, allocations: 7.938 kB / 277.1 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.82e-06/0.005085, allocations: 4.078 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.177e-05/0.005097, allocations: 4 kB / 277.1 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.005101, allocations: 0 / 277.1 MB, free: 13.4 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 5.795e-05/0.005159, allocations: 156.6 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.209e-05/0.005221, allocations: 45.64 kB / 277.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.769e-05/0.005249, allocations: 16.28 kB / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.00525, allocations: 0 / 277.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.005254, allocations: 4 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-06/0.005258, allocations: 0 / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.005383, allocations: 124.6 kB / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.005385, allocations: 0 / 277.4 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.511e-05/0.00543, allocations: 15.98 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.005432, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.005439, allocations: 0 / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.005443, allocations: 7.875 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/0.005444, allocations: 4 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.005557, allocations: 203.6 kB / 277.6 MB, free: 12.76 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.65e-05/0.005583, allocations: 15.94 kB / 277.7 MB, free: 12.74 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.077e-05/0.005594, allocations: 8.281 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.466e-05/0.005629, allocations: 3.938 kB / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.381e-05/0.005653, allocations: 0 / 277.7 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.005656, allocations: 8 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.09e-05/0.005707, allocations: 142.1 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005707, allocations: 0 / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001344/0.005841, allocations: 4 kB / 277.8 MB, free: 12.58 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: 4 (step.y,assignClock.u,assignClock.y,sample1.y) * 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 6.846e-05/0.00591, allocations: 103.2 kB / 277.9 MB, free: 12.47 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.884e-05/0.005978, allocations: 19.67 kB / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.00598, allocations: 0 / 277.9 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.024e-05/0.00599, allocations: 7.688 kB / 278 MB, free: 12.43 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.006215, allocations: 25.84 kB / 278 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002504/0.006466, allocations: 168.6 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.546e-05/0.006521, allocations: 63.34 kB / 278.2 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.416e-05/0.006535, allocations: 4 kB / 278.2 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.109e-05/0.006566, allocations: 12.48 kB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of SimCode: time 9.81e-07/0.006567, allocations: 0 / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of Templates: time 0.002119/0.008686, allocations: 0.5129 MB / 278.7 MB, free: 11.6 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample1/Sample1.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.896161293145269]