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.001533/0.001533, allocations: 84.25 kB / 22.21 MB, free: 2.281 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.001152/0.001152, allocations: 163.8 kB / 25.61 MB, free: 8.578 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.027/1.027, allocations: 177 MB / 205.9 MB, free: 4.438 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.663e-06/1.663e-06, allocations: 0 / 274.1 MB, free: 4.355 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.355e-05/3.522e-05, allocations: 6.828 kB / 274.1 MB, free: 4.352 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003479/0.003514, allocations: 1.57 MB / 275.7 MB, free: 2.781 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004873/0.004002, allocations: 151.4 kB / 275.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.401e-05/0.004096, allocations: 0 / 275.8 MB, free: 2.633 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.305e-05/0.004159, allocations: 4.719 kB / 275.8 MB, free: 2.629 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.004318, allocations: 7.938 kB / 275.8 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.004585, allocations: 37.73 kB / 275.9 MB, free: 2.586 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001209/0.004706, allocations: 39.86 kB / 275.9 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.004822, allocations: 15.97 kB / 275.9 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.701e-05/0.004879, allocations: 11.98 kB / 275.9 MB, free: 2.52 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.781e-05/0.004927, allocations: 7.938 kB / 275.9 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.004949, allocations: 10.16 kB / 276 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.481e-05/0.004963, allocations: 4 kB / 276 MB, free: 2.5 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.005028, allocations: 15.92 kB / 276 MB, free: 2.484 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.802e-05/0.005056, allocations: 11.98 kB / 276 MB, free: 2.473 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.005182, allocations: 31.83 kB / 276 MB, free: 2.441 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.005185, allocations: 0 / 276 MB, free: 2.441 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005186, allocations: 0.9375 kB / 276 MB, free: 2.441 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.005191, allocations: 0 / 276 MB, free: 2.441 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005004/0.005692, allocations: 397 kB / 276.4 MB, free: 2.016 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.005738, allocations: 12.03 kB / 276.4 MB, free: 2.004 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.913e-05/0.005777, allocations: 11.2 kB / 276.4 MB, free: 1.996 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002031/0.00598, allocations: 138.8 kB / 276.6 MB, free: 1.836 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.005993, allocations: 4.375 kB / 276.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-06/0.006002, allocations: 384 / 276.6 MB, free: 1.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000255/0.006257, allocations: 134.8 kB / 276.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.006267, allocations: 1.156 kB / 276.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.006276, allocations: 384 / 276.7 MB, free: 1.676 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.006284, allocations: 4.375 kB / 276.7 MB, free: 1.672 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.415e-05/0.006308, allocations: 12.53 kB / 276.7 MB, free: 1.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003338/0.006642, allocations: 244.1 kB / 277 MB, free: 1.391 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001819/0.006824, allocations: 74.09 kB / 277 MB, free: 1.293 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.955e-05/0.006863, allocations: 19.44 kB / 277 MB, free: 1.266 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.006882, allocations: 4 kB / 277.1 MB, free: 1.262 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/0.006914, allocations: 33.39 kB / 277.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 1.262e-06/0.006915, allocations: 0 / 277.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001981/0.007113, allocations: 61.52 kB / 277.1 MB, free: 1.152 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/0.007185, allocations: 81.11 kB / 277.2 MB, free: 1.055 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.007324, allocations: 189.9 kB / 277.4 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.00734, allocations: 29.83 kB / 277.4 MB, free: 0.8164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.286e-05/0.007423, allocations: 138.9 kB / 277.6 MB, free: 0.6758 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.267e-05/0.007436, allocations: 3.938 kB / 277.6 MB, free: 0.6719 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.007476, allocations: 23.33 kB / 277.6 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.007683, allocations: 496.1 kB / 278.1 MB, free: 148 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.335e-05/0.007696, allocations: 4 kB / 278.1 MB, free: 144 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.407e-06/0.007706, allocations: 3.938 kB / 278.1 MB, free: 140 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.007738, allocations: 15.61 kB / 278.1 MB, free: 120 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.007741, allocations: 0 / 278.1 MB, free: 120 kB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.784e-05/0.007819, allocations: 33.8 kB / 278.1 MB, free: 80 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.007837, allocations: 8 kB / 278.2 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.007843, allocations: 0 / 278.2 MB, free: 72 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.007858, allocations: 3.938 kB / 278.2 MB, free: 68 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.161e-05/0.007919, allocations: 4 kB / 278.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.007923, allocations: 0 / 278.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.923e-05/0.007942, allocations: 0 / 278.2 MB, free: 64 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.007948, allocations: 4 kB / 278.2 MB, free: 60 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 0.0001337/0.008082, allocations: 160.6 kB / 278.3 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.093e-05/0.008162, allocations: 45.59 kB / 278.4 MB, free: 15.84 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.09e-05/0.008203, allocations: 16.33 kB / 278.4 MB, free: 15.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-06/0.008211, allocations: 7.938 kB / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.008214, allocations: 0 / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.008218, allocations: 0 / 278.4 MB, free: 15.81 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.008382, allocations: 105.2 kB / 278.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.008384, allocations: 0 / 278.5 MB, free: 15.68 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.531e-05/0.00845, allocations: 12 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.008454, allocations: 0 / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.008463, allocations: 4 kB / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.008466, allocations: 0 / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.008467, allocations: 0 / 278.5 MB, free: 15.67 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001487/0.008616, allocations: 207.5 kB / 278.7 MB, free: 15.44 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.807e-05/0.008654, allocations: 7.953 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.008668, allocations: 4 kB / 278.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.104e-05/0.008729, allocations: 7.984 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.379e-05/0.008763, allocations: 0 / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.008769, allocations: 3.938 kB / 278.7 MB, free: 15.42 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.411e-05/0.008843, allocations: 141.5 kB / 278.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.008844, allocations: 0 / 278.9 MB, free: 15.28 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002399/0.009083, allocations: 4 kB / 278.9 MB, free: 15.28 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 0.0001284/0.009212, allocations: 103.3 kB / 279 MB, free: 15.16 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 8.91e-05/0.009301, allocations: 19.61 kB / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.009304, allocations: 0 / 279 MB, free: 15.14 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.595e-05/0.00932, allocations: 15.62 kB / 279 MB, free: 15.12 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.009693, allocations: 16.86 kB / 279 MB, free: 15.1 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003876/0.01008, allocations: 153.3 kB / 279.2 MB, free: 14.92 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.323e-05/0.01014, allocations: 71.08 kB / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.979e-05/0.01016, allocations: 4 kB / 279.2 MB, free: 14.83 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.284e-05/0.01023, allocations: 78.31 kB / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01023, allocations: 0 / 279.3 MB, free: 14.75 MB / 266.7 MB Notification: Performance of Templates: time 0.003265/0.01349, allocations: 0.5572 MB / 279.9 MB, free: 14.21 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.9064281531609595]