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.001055/0.001055, allocations: 82.59 kB / 21.42 MB, free: 3.066 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.001171/0.001171, allocations: 170.3 kB / 24.83 MB, free: 9.266 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.034/1.034, allocations: 177 MB / 205.1 MB, free: 5.465 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.392e-06/1.392e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.616e-05/1.755e-05, allocations: 9.266 kB / 273.3 MB, free: 1.219 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SampleClocked): time 0.005149/0.005166, allocations: 1.56 MB / 274.9 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003025/0.005469, allocations: 143.4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.645e-05/0.005535, allocations: 4 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.014e-05/0.005575, allocations: 3.938 kB / 275 MB, free: 15.5 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.005679, allocations: 4 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001666/0.005845, allocations: 35.78 kB / 275.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.676e-05/0.005922, allocations: 31.86 kB / 275.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.005994, allocations: 11.97 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.267e-05/0.006036, allocations: 11.98 kB / 275.1 MB, free: 15.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.529e-05/0.006072, allocations: 11.94 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.006087, allocations: 4 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.544e-06/0.006095, allocations: 0 / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.006129, allocations: 15.92 kB / 275.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.006145, allocations: 8 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 7.48e-05/0.00622, allocations: 27.84 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.583e-06/0.006222, allocations: 0 / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd: time 4.81e-07/0.006222, allocations: 4 kB / 275.2 MB, free: 15.33 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.685e-06/0.006225, allocations: 0 / 275.2 MB, free: 15.33 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.0003027/0.006528, allocations: 384.4 kB / 275.6 MB, free: 14.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.006561, allocations: 11.98 kB / 275.6 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.798e-05/0.006589, allocations: 16.89 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.006712, allocations: 140.4 kB / 275.7 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.366e-06/0.00672, allocations: 8.375 kB / 275.7 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.831e-06/0.006726, allocations: 384 / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.006864, allocations: 105.6 kB / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.623e-06/0.006871, allocations: 192 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.5e-06/0.006876, allocations: 384 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.006881, allocations: 384 / 275.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.425e-05/0.006896, allocations: 11.92 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004309/0.007326, allocations: 240.1 kB / 276.1 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.007368, allocations: 58.06 kB / 276.2 MB, free: 14.23 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.672e-05/0.007385, allocations: 15.5 kB / 276.2 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002579/0.009964, allocations: 4 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.009992, allocations: 41.33 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.009994, allocations: 0 / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001201/0.01011, allocations: 45.62 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.825e-05/0.01015, allocations: 81.05 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.01025, allocations: 196.8 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.227e-06/0.01026, allocations: 25.95 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.774e-05/0.01031, allocations: 138.9 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.01031, allocations: 4 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.01034, allocations: 19.36 kB / 276.7 MB, free: 13.59 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.01047, allocations: 496.1 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-06/0.01048, allocations: 0 / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.4e-06/0.01048, allocations: 0 / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.901e-05/0.0105, allocations: 19.67 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.0105, allocations: 0 / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.257e-05/0.01056, allocations: 37.59 kB / 277.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.241e-05/0.01057, allocations: 14.75 kB / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.01057, allocations: 0 / 277.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.01058, allocations: 7.922 kB / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.36e-05/0.01063, allocations: 0 / 277.3 MB, free: 13.01 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.086e-06/0.01063, allocations: 7.938 kB / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.391e-05/0.01064, allocations: 0 / 277.3 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-06/0.01065, allocations: 0 / 277.3 MB, free: 13 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 6.424e-05/0.01071, allocations: 156.6 kB / 277.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.01075, allocations: 37.66 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.01078, allocations: 11.83 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.01078, allocations: 7.938 kB / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.01078, allocations: 0 / 277.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.01078, allocations: 3.984 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001138/0.0109, allocations: 109.2 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.0109, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.01092, allocations: 4 kB / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.01092, allocations: 0 / 277.6 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/0.01093, allocations: 4 kB / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.01093, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.01093, allocations: 0 / 277.6 MB, free: 12.63 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.407e-05/0.01101, allocations: 199.5 kB / 277.8 MB, free: 12.41 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.734e-05/0.01104, allocations: 19.89 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.784e-06/0.01105, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.161e-05/0.01109, allocations: 0 / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.211e-05/0.01111, allocations: 7.984 kB / 277.8 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-06/0.01111, allocations: 3.938 kB / 277.8 MB, free: 12.38 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.924e-05/0.01116, allocations: 135.1 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01116, allocations: 0 / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001995/0.01136, allocations: 4 kB / 278 MB, free: 12.25 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 6.845e-05/0.01143, allocations: 103.3 kB / 278.1 MB, free: 12.13 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.819e-05/0.01148, allocations: 11.69 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.01148, allocations: 0 / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.176e-05/0.01149, allocations: 11.69 kB / 278.1 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/0.01174, allocations: 16.23 kB / 278.1 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.01196, allocations: 145.5 kB / 278.3 MB, free: 11.91 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.138e-05/0.012, allocations: 67.22 kB / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.24e-05/0.01201, allocations: 224 / 278.3 MB, free: 11.82 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.01206, allocations: 86.19 kB / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01206, allocations: 0 / 278.4 MB, free: 11.74 MB / 266.7 MB Notification: Performance of Templates: time 0.002064/0.01413, allocations: 0.5263 MB / 278.9 MB, free: 11.22 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.866016337182373]