Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.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.001187/0.001187, allocations: 85.91 kB / 22.22 MB, free: 2.285 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.001438/0.001438, allocations: 159.6 kB / 25.61 MB, free: 8.859 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.033/1.033, allocations: 177 MB / 205.9 MB, free: 4.457 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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 274.1 MB, free: 4.293 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.556e-05/2.714e-05, allocations: 3.594 kB / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.002509/0.002536, allocations: 1.558 MB / 275.7 MB, free: 2.73 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003587/0.002895, allocations: 139.5 kB / 275.8 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.563e-05/0.002981, allocations: 5.5 kB / 275.8 MB, free: 2.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.329e-05/0.003034, allocations: 3.938 kB / 275.8 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001346/0.003169, allocations: 4 kB / 275.8 MB, free: 2.582 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002119/0.003381, allocations: 39.77 kB / 275.9 MB, free: 2.543 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.09e-05/0.003471, allocations: 37.78 kB / 275.9 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.988e-05/0.003561, allocations: 8 kB / 275.9 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.523e-05/0.003607, allocations: 15.92 kB / 275.9 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.003645, allocations: 4 kB / 275.9 MB, free: 2.48 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/0.003663, allocations: 4 kB / 275.9 MB, free: 2.477 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.596e-06/0.003671, allocations: 4 kB / 275.9 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.116e-05/0.003723, allocations: 15.92 kB / 275.9 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.104e-05/0.003744, allocations: 7.984 kB / 276 MB, free: 2.449 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001024/0.003846, allocations: 27.86 kB / 276 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003848, allocations: 0 / 276 MB, free: 2.422 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.00385, allocations: 0 / 276 MB, free: 2.422 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.003854, allocations: 4 kB / 276 MB, free: 2.418 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.0003529/0.004207, allocations: 388.3 kB / 276.4 MB, free: 2 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.004247, allocations: 8.031 kB / 276.4 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.004282, allocations: 8.891 kB / 276.4 MB, free: 1.984 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.004452, allocations: 146.7 kB / 276.5 MB, free: 1.816 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.004462, allocations: 8.312 kB / 276.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.244e-06/0.004469, allocations: 384 / 276.5 MB, free: 1.809 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.004648, allocations: 101.7 kB / 276.6 MB, free: 1.684 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.004657, allocations: 4.125 kB / 276.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.535e-06/0.004665, allocations: 384 / 276.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.004671, allocations: 384 / 276.6 MB, free: 1.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.004686, allocations: 7.938 kB / 276.6 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000239/0.004925, allocations: 240.1 kB / 276.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.003e-05/0.004985, allocations: 54.06 kB / 276.9 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.019e-05/0.005006, allocations: 19.38 kB / 276.9 MB, free: 1.301 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.005022, allocations: 4.125 kB / 277 MB, free: 1.297 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.00505, allocations: 37.38 kB / 277 MB, free: 1.25 MB / 250.7 MB Notification: Performance of pre-optimization done (n=2): time 2.785e-06/0.005053, allocations: 3.984 kB / 277 MB, free: 1.246 MB / 250.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001347/0.005187, allocations: 49.53 kB / 277 MB, free: 1.191 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.289e-05/0.00524, allocations: 85.05 kB / 277.1 MB, free: 1.09 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.005342, allocations: 190.1 kB / 277.3 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.005353, allocations: 25.7 kB / 277.3 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.943e-05/0.005412, allocations: 138.8 kB / 277.5 MB, free: 0.7148 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.816e-06/0.005421, allocations: 3.984 kB / 277.5 MB, free: 0.7109 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.804e-05/0.005449, allocations: 19.38 kB / 277.5 MB, free: 0.6836 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.005575, allocations: 0.4884 MB / 278 MB, free: 188 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.006e-05/0.005585, allocations: 4 kB / 278 MB, free: 184 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-06/0.005592, allocations: 0 / 278 MB, free: 184 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.125e-05/0.005613, allocations: 11.69 kB / 278 MB, free: 168 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.005615, allocations: 0 / 278 MB, free: 168 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.867e-05/0.005664, allocations: 53.58 kB / 278.1 MB, free: 108 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.005676, allocations: 4 kB / 278.1 MB, free: 104 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.005682, allocations: 4 kB / 278.1 MB, free: 100 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.005693, allocations: 3.938 kB / 278.1 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.189e-05/0.005745, allocations: 0 / 278.1 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.776e-06/0.005748, allocations: 0 / 278.1 MB, free: 96 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.005762, allocations: 4 kB / 278.1 MB, free: 92 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.777e-06/0.005766, allocations: 0 / 278.1 MB, free: 92 kB / 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 9.186e-05/0.005858, allocations: 152.6 kB / 278.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-05/0.005899, allocations: 41.72 kB / 278.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.518e-05/0.005924, allocations: 7.812 kB / 278.3 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.005927, allocations: 7.938 kB / 278.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.005929, allocations: 0 / 278.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.005932, allocations: 0 / 278.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001083/0.006041, allocations: 105.2 kB / 278.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.006042, allocations: 0 / 278.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.006071, allocations: 7.938 kB / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.006073, allocations: 0 / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.23e-06/0.006078, allocations: 0 / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.00608, allocations: 4 kB / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.006081, allocations: 4.031 kB / 278.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001013/0.006182, allocations: 199.5 kB / 278.6 MB, free: 15.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.647e-05/0.006209, allocations: 11.89 kB / 278.6 MB, free: 15.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.558e-06/0.006218, allocations: 4 kB / 278.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.328e-05/0.006252, allocations: 3.984 kB / 278.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.241e-05/0.006274, allocations: 0 / 278.6 MB, free: 15.49 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.006278, allocations: 7.938 kB / 278.6 MB, free: 15.48 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.822e-05/0.006327, allocations: 141.4 kB / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.006327, allocations: 0 / 278.8 MB, free: 15.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001312/0.006458, allocations: 4 kB / 278.8 MB, free: 15.34 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 8.556e-05/0.006543, allocations: 103.2 kB / 278.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.296e-05/0.006606, allocations: 15.67 kB / 278.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.006608, allocations: 0 / 278.9 MB, free: 15.21 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.288e-05/0.006621, allocations: 7.688 kB / 278.9 MB, free: 15.2 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.006851, allocations: 12.31 kB / 278.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.007101, allocations: 145.6 kB / 279 MB, free: 15.01 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.46e-05/0.007146, allocations: 67.31 kB / 279.1 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.726e-05/0.007163, allocations: 11.86 kB / 279.1 MB, free: 14.91 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.189e-05/0.007215, allocations: 74.19 kB / 279.2 MB, free: 14.84 MB / 266.7 MB Notification: Performance of SimCode: time 9.01e-07/0.007216, allocations: 4 kB / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of Templates: time 0.002719/0.009935, allocations: 0.5185 MB / 279.7 MB, free: 14.34 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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.819242012221366]