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.001904/0.001904, allocations: 99.53 kB / 20.97 MB, free: 3.457 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.001979/0.001979, allocations: 164.8 kB / 24.27 MB, free: 156 kB / 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.614/1.614, allocations: 177 MB / 204.5 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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.513e-06/1.513e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.152e-05/3.303e-05, allocations: 5.266 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.003202/0.003235, allocations: 1.533 MB / 273.7 MB, free: 284 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000443/0.003678, allocations: 135.5 kB / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.209e-05/0.00375, allocations: 0 / 273.9 MB, free: 148 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.613e-05/0.003807, allocations: 7.922 kB / 273.9 MB, free: 140 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001247/0.003931, allocations: 15.92 kB / 273.9 MB, free: 124 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002384/0.00417, allocations: 31.8 kB / 273.9 MB, free: 92 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.004274, allocations: 31.91 kB / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.00436, allocations: 7.984 kB / 273.9 MB, free: 52 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.185e-05/0.004412, allocations: 15.92 kB / 274 MB, free: 36 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.004447, allocations: 8 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.004469, allocations: 4 kB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.004479, allocations: 0 / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.004532, allocations: 11.92 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.004582, allocations: 16.02 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.004697, allocations: 39.73 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004699, allocations: 4 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.0047, allocations: 0 / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.004704, allocations: 3.938 kB / 274.1 MB, free: 15.95 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.0005195/0.005224, allocations: 384.1 kB / 274.4 MB, free: 15.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.718e-05/0.005261, allocations: 11.98 kB / 274.4 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.874e-05/0.00531, allocations: 16.88 kB / 274.5 MB, free: 15.51 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002176/0.005527, allocations: 132.5 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.005537, allocations: 4.375 kB / 274.6 MB, free: 15.35 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.061e-05/0.005547, allocations: 4.375 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002565/0.005804, allocations: 104.9 kB / 274.7 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.005817, allocations: 4.172 kB / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.005824, allocations: 384 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.005829, allocations: 384 / 274.7 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.715e-05/0.005896, allocations: 19.88 kB / 274.7 MB, free: 15.2 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.006254, allocations: 267.5 kB / 275 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.006363, allocations: 58.12 kB / 275 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.754e-05/0.006421, allocations: 31.42 kB / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.811e-05/0.006439, allocations: 0 / 275.1 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.006475, allocations: 37.39 kB / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 8.01e-07/0.006476, allocations: 0 / 275.1 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002211/0.006697, allocations: 57.56 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.006767, allocations: 81.11 kB / 275.2 MB, free: 14.57 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.00694, allocations: 196.6 kB / 275.4 MB, free: 14.36 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.652e-05/0.006967, allocations: 25.7 kB / 275.5 MB, free: 14.33 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.634e-05/0.007053, allocations: 138.8 kB / 275.6 MB, free: 14.19 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.00706, allocations: 4.25 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.805e-05/0.007108, allocations: 31.3 kB / 275.6 MB, free: 14.14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002526/0.007361, allocations: 496.1 kB / 276.1 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.034e-05/0.007391, allocations: 3.938 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.045e-05/0.007412, allocations: 4 kB / 276.1 MB, free: 13.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.667e-05/0.007468, allocations: 27.67 kB / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.00747, allocations: 0 / 276.1 MB, free: 13.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.98e-05/0.00757, allocations: 41.64 kB / 276.2 MB, free: 13.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.007586, allocations: 8.094 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/0.007595, allocations: 7.938 kB / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.007607, allocations: 0 / 276.2 MB, free: 13.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.007659, allocations: 4 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.007663, allocations: 0 / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.292e-05/0.007686, allocations: 4 kB / 276.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.00769, allocations: 3.938 kB / 276.2 MB, free: 13.54 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 0.000114/0.007804, allocations: 156.6 kB / 276.4 MB, free: 13.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.004e-05/0.007874, allocations: 33.69 kB / 276.4 MB, free: 13.33 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.309e-05/0.007907, allocations: 15.75 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.007909, allocations: 4.031 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.906e-06/0.007912, allocations: 0 / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.007914, allocations: 4 kB / 276.4 MB, free: 13.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.008084, allocations: 124.6 kB / 276.5 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.008089, allocations: 4 kB / 276.5 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.725e-05/0.008126, allocations: 3.984 kB / 276.6 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.008128, allocations: 4 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.008135, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.008139, allocations: 3.938 kB / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.00814, allocations: 0 / 276.6 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/0.008369, allocations: 219.5 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.916e-05/0.008408, allocations: 7.953 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.555e-05/0.008423, allocations: 3.984 kB / 276.8 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.877e-05/0.008482, allocations: 7.938 kB / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.078e-05/0.008513, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.936e-06/0.008516, allocations: 0 / 276.8 MB, free: 12.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001081/0.008624, allocations: 143.2 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.008624, allocations: 4 kB / 276.9 MB, free: 12.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002166/0.008841, allocations: 3.938 kB / 276.9 MB, free: 12.73 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 0.0002332/0.009074, allocations: 103.2 kB / 277 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001211/0.009195, allocations: 27.61 kB / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.009197, allocations: 0 / 277.1 MB, free: 12.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.04e-05/0.009237, allocations: 11.69 kB / 277.1 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003169/0.009554, allocations: 20.2 kB / 277.1 MB, free: 12.55 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003296/0.009883, allocations: 149.4 kB / 277.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.957e-05/0.009973, allocations: 75.48 kB / 277.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.688e-05/0.00999, allocations: 4 kB / 277.3 MB, free: 12.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.062e-05/0.01002, allocations: 12.5 kB / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01002, allocations: 0 / 277.3 MB, free: 12.27 MB / 266.7 MB Notification: Performance of Templates: time 0.003248/0.01327, allocations: 0.502 MB / 277.8 MB, free: 11.78 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.592327750055119]