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.001047/0.001047, allocations: 80.81 kB / 21.5 MB, free: 2.828 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.001281/0.001281, allocations: 164.9 kB / 24.91 MB, free: 9.258 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.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.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.943e-06/1.943e-06, allocations: 0 / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.325e-05/2.52e-05, allocations: 2.312 kB / 273.4 MB, free: 1.172 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.002298/0.002323, allocations: 1.626 MB / 275 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003284/0.002651, allocations: 143.4 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.976e-05/0.002721, allocations: 3.938 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.304e-05/0.002764, allocations: 3.938 kB / 275.2 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000121/0.002885, allocations: 3.938 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002024/0.003087, allocations: 43.83 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.47e-05/0.003172, allocations: 35.86 kB / 275.3 MB, free: 15.3 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.713e-05/0.003249, allocations: 19.97 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.447e-05/0.003294, allocations: 15.92 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.745e-05/0.003331, allocations: 4 kB / 275.3 MB, free: 15.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.003349, allocations: 4 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.506e-06/0.003358, allocations: 4 kB / 275.3 MB, free: 15.26 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.085e-05/0.003399, allocations: 15.92 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.937e-05/0.003418, allocations: 11.94 kB / 275.3 MB, free: 15.23 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.003515, allocations: 31.83 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.003518, allocations: 4 kB / 275.4 MB, free: 15.2 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.003519, allocations: 4 kB / 275.4 MB, free: 15.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.003523, allocations: 0 / 275.4 MB, free: 15.19 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.0002802/0.003804, allocations: 272.6 kB / 275.6 MB, free: 14.9 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.003835, allocations: 15.98 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.003861, allocations: 4.938 kB / 275.7 MB, free: 14.88 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.003987, allocations: 129.6 kB / 275.8 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-06/0.003996, allocations: 8.375 kB / 275.8 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.293e-06/0.004003, allocations: 4.375 kB / 275.8 MB, free: 14.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.004173, allocations: 114.3 kB / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.17e-06/0.004178, allocations: 192 / 275.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.004185, allocations: 8.375 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.056e-06/0.004188, allocations: 4.312 kB / 275.9 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.658e-05/0.004205, allocations: 11.92 kB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001527/0.004358, allocations: 145.2 kB / 276.1 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.886e-05/0.004456, allocations: 53.08 kB / 276.1 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.185e-05/0.004478, allocations: 21.77 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.004492, allocations: 4 kB / 276.2 MB, free: 14.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.004509, allocations: 30.56 kB / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.00451, allocations: 0 / 276.2 MB, free: 14.26 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001057/0.004616, allocations: 49.62 kB / 276.2 MB, free: 14.2 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.004654, allocations: 85.05 kB / 276.3 MB, free: 14.1 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.275e-05/0.004717, allocations: 130.6 kB / 276.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 9.658e-06/0.004727, allocations: 29.7 kB / 276.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.058e-05/0.004757, allocations: 88.06 kB / 276.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.004765, allocations: 3.953 kB / 276.6 MB, free: 13.83 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.516e-05/0.00479, allocations: 21.83 kB / 276.6 MB, free: 13.8 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/0.00486, allocations: 318.8 kB / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-06/0.004868, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.004874, allocations: 0 / 276.9 MB, free: 13.48 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.365e-05/0.004897, allocations: 8.859 kB / 276.9 MB, free: 13.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/0.004902, allocations: 7.984 kB / 276.9 MB, free: 13.46 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.002e-05/0.004952, allocations: 29.7 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.004967, allocations: 6.812 kB / 277 MB, free: 13.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.259e-06/0.004972, allocations: 7.938 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.675e-06/0.00498, allocations: 96 / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.036e-05/0.00502, allocations: 7.938 kB / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.215e-06/0.005023, allocations: 0 / 277 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.453e-05/0.005037, allocations: 7.984 kB / 277 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.005041, allocations: 0 / 277 MB, free: 13.4 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.864e-05/0.0051, allocations: 108.7 kB / 277.1 MB, free: 13.29 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.005141, allocations: 37.69 kB / 277.1 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.232e-05/0.005163, allocations: 12.34 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.005165, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.005168, allocations: 7.938 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.005171, allocations: 0 / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.246e-05/0.005254, allocations: 77.88 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.005255, allocations: 0 / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.046e-05/0.005285, allocations: 4 kB / 277.2 MB, free: 13.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.005288, allocations: 7.938 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.018e-06/0.005292, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.005294, allocations: 0 / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.005295, allocations: 3.984 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.445e-05/0.00536, allocations: 136.4 kB / 277.4 MB, free: 12.96 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.544e-05/0.005385, allocations: 23.92 kB / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.026e-06/0.005393, allocations: 0 / 277.4 MB, free: 12.94 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.004e-05/0.005423, allocations: 8.031 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.092e-05/0.005444, allocations: 0 / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.306e-06/0.005448, allocations: 3.938 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of sorting global known variables: time 2.078e-05/0.005468, allocations: 31.88 kB / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005468, allocations: 0 / 277.4 MB, free: 12.9 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.00011/0.005579, allocations: 4 kB / 277.4 MB, free: 12.89 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 7.816e-05/0.005657, allocations: 84.34 kB / 277.5 MB, free: 12.8 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.472e-05/0.005701, allocations: 9.094 kB / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.005704, allocations: 64 / 277.5 MB, free: 12.79 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.455e-06/0.005712, allocations: 12.86 kB / 277.5 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001815/0.005894, allocations: 28.88 kB / 277.6 MB, free: 12.74 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000222/0.006116, allocations: 151.2 kB / 277.7 MB, free: 12.57 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.006152, allocations: 63.34 kB / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.467e-05/0.006167, allocations: 0 / 277.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.444e-05/0.006211, allocations: 59.36 kB / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.006212, allocations: 0 / 277.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of Templates: time 0.001941/0.008153, allocations: 0.548 MB / 278.4 MB, free: 11.89 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 -s gbode -gbm=radauIIA3 -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.617119482252747]