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.0009128/0.0009128, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.001007/0.001007, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9654/0.9654, allocations: 177 MB / 205.2 MB, free: 5.027 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.643e-06/1.643e-06, allocations: 0 / 273.4 MB, free: 1.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.51e-05, allocations: 5.266 kB / 273.4 MB, free: 1.066 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.001898/0.001913, allocations: 1.576 MB / 275 MB, free: 15.48 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004093/0.002323, allocations: 147.4 kB / 275.1 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.871e-05/0.002401, allocations: 11.94 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.569e-05/0.002447, allocations: 3.938 kB / 275.1 MB, free: 15.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001211/0.002568, allocations: 3.984 kB / 275.1 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001841/0.002752, allocations: 39.78 kB / 275.2 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.231e-05/0.002835, allocations: 31.86 kB / 275.2 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.083e-05/0.002905, allocations: 19.97 kB / 275.2 MB, free: 15.22 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.576e-05/0.002951, allocations: 15.92 kB / 275.2 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.617e-05/0.002987, allocations: 11.98 kB / 275.2 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.129e-05/0.003009, allocations: 4 kB / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.706e-06/0.003017, allocations: 0 / 275.2 MB, free: 15.19 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.052e-05/0.003058, allocations: 11.94 kB / 275.2 MB, free: 15.18 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.52e-05/0.003083, allocations: 15.94 kB / 275.3 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.623e-05/0.003169, allocations: 31.89 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.003171, allocations: 3.938 kB / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.162e-06/0.003173, allocations: 0 / 275.3 MB, free: 15.13 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003176, allocations: 0 / 275.3 MB, free: 15.13 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.0002847/0.003461, allocations: 268.7 kB / 275.6 MB, free: 14.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.003493, allocations: 15.98 kB / 275.6 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.951e-05/0.003523, allocations: 12.92 kB / 275.6 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.003652, allocations: 125.6 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.00366, allocations: 8.375 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.135e-06/0.003668, allocations: 384 / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.003843, allocations: 118.3 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.57e-06/0.003848, allocations: 192 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.921e-06/0.003854, allocations: 384 / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.003859, allocations: 4.375 kB / 275.8 MB, free: 14.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.389e-05/0.003873, allocations: 11.88 kB / 275.9 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.00403, allocations: 157.1 kB / 276 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.004134, allocations: 53.06 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.839e-05/0.004152, allocations: 13.78 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.004163, allocations: 0 / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.004183, allocations: 38.56 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.004184, allocations: 0 / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 8.972e-05/0.004274, allocations: 45.77 kB / 276.2 MB, free: 14.14 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.004319, allocations: 93.06 kB / 276.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.616e-05/0.004385, allocations: 133.6 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.004393, allocations: 29.83 kB / 276.4 MB, free: 13.86 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.186e-05/0.004425, allocations: 88.08 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-06/0.004433, allocations: 3.953 kB / 276.5 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.566e-05/0.004458, allocations: 17.7 kB / 276.5 MB, free: 13.74 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.881e-05/0.004537, allocations: 314.8 kB / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.178e-06/0.004541, allocations: 0 / 276.8 MB, free: 13.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.104e-06/0.004548, allocations: 7.922 kB / 276.8 MB, free: 13.42 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.537e-05/0.004564, allocations: 8.859 kB / 276.8 MB, free: 13.41 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.004567, allocations: 4 kB / 276.8 MB, free: 13.4 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.203e-05/0.004599, allocations: 29.8 kB / 276.9 MB, free: 13.37 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.004609, allocations: 8 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.004613, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.141e-05/0.004624, allocations: 4 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.051e-05/0.004655, allocations: 7.922 kB / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.004658, allocations: 0 / 276.9 MB, free: 13.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.206e-05/0.00467, allocations: 4 kB / 276.9 MB, free: 13.34 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-06/0.004674, allocations: 0 / 276.9 MB, free: 13.34 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.395e-05/0.004728, allocations: 116.6 kB / 277 MB, free: 13.22 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.925e-05/0.004757, allocations: 37.69 kB / 277 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.004783, allocations: 16.34 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.004785, allocations: 0 / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.004789, allocations: 3.938 kB / 277.1 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.004793, allocations: 4 kB / 277.1 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.768e-05/0.00487, allocations: 69.88 kB / 277.1 MB, free: 13.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.004872, allocations: 4 kB / 277.1 MB, free: 13.06 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.016e-05/0.004892, allocations: 7.984 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.004894, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-06/0.004898, allocations: 4 kB / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.004898, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.004899, allocations: 0 / 277.1 MB, free: 13.05 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.141e-05/0.00497, allocations: 144.3 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.728e-05/0.004997, allocations: 19.94 kB / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.664e-06/0.005005, allocations: 0 / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.005031, allocations: 0 / 277.3 MB, free: 12.87 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.087e-05/0.005052, allocations: 7.984 kB / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-06/0.005054, allocations: 0 / 277.3 MB, free: 12.86 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.426e-05/0.005078, allocations: 32.72 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.005078, allocations: 0 / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000106/0.005184, allocations: 4 kB / 277.4 MB, free: 12.82 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.357e-05/0.005248, allocations: 84.45 kB / 277.4 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.632e-05/0.005294, allocations: 12.8 kB / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.005296, allocations: 0 / 277.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.757e-06/0.005305, allocations: 8.859 kB / 277.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.005461, allocations: 20.8 kB / 277.5 MB, free: 12.68 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002243/0.005685, allocations: 163 kB / 277.6 MB, free: 12.49 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.589e-05/0.005721, allocations: 55.36 kB / 277.7 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.361e-05/0.005735, allocations: 7.984 kB / 277.7 MB, free: 12.41 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.601e-05/0.005781, allocations: 55.5 kB / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of SimCode: time 5.81e-07/0.005781, allocations: 0 / 277.8 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Templates: time 0.001884/0.007666, allocations: 0.553 MB / 278.3 MB, free: 11.82 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.588321906980127]