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.002602/0.002602, allocations: 99.53 kB / 20.96 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.003014/0.003014, allocations: 160.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.577/1.577, allocations: 177 MB / 204.5 MB, free: 5.613 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.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.674e-06/1.674e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.611e-05, allocations: 2.312 kB / 272.2 MB, free: 1.812 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1): time 0.003274/0.00331, allocations: 1.544 MB / 273.7 MB, free: 264 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.000426/0.003736, allocations: 147.5 kB / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.723e-05/0.003804, allocations: 0 / 273.9 MB, free: 116 kB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.665e-05/0.00386, allocations: 3.938 kB / 273.9 MB, free: 112 kB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.003974, allocations: 7.938 kB / 273.9 MB, free: 104 kB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.004223, allocations: 43.77 kB / 273.9 MB, free: 60 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001065/0.00433, allocations: 31.91 kB / 274 MB, free: 28 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.233e-05/0.004422, allocations: 15.89 kB / 274 MB, free: 12 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.811e-05/0.0045, allocations: 19.92 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.993e-05/0.00454, allocations: 8 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.051e-05/0.00456, allocations: 0 / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.493e-05/0.004575, allocations: 4 kB / 274 MB, free: 15.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.942e-05/0.004635, allocations: 23.91 kB / 274 MB, free: 15.96 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.875e-05/0.004664, allocations: 7.938 kB / 274 MB, free: 15.95 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001661/0.00483, allocations: 51.75 kB / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.594e-06/0.004832, allocations: 0 / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.92e-07/0.004833, allocations: 0 / 274.1 MB, free: 15.9 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.004838, allocations: 0 / 274.1 MB, free: 15.9 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.0005671/0.005405, allocations: 392.1 kB / 274.5 MB, free: 15.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.314e-05/0.005448, allocations: 11.98 kB / 274.5 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.833e-05/0.005497, allocations: 16.88 kB / 274.5 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.005716, allocations: 136.5 kB / 274.6 MB, free: 15.29 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.047e-05/0.005727, allocations: 8.375 kB / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.244e-05/0.005739, allocations: 4.375 kB / 274.6 MB, free: 15.28 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003039/0.006043, allocations: 128.8 kB / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.006061, allocations: 192 / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.006071, allocations: 384 / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.006075, allocations: 384 / 274.8 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.27e-05/0.006148, allocations: 27.92 kB / 274.8 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004191/0.006567, allocations: 271.4 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.006781, allocations: 70.23 kB / 275.1 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.215e-05/0.006854, allocations: 31.36 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.006873, allocations: 3.938 kB / 275.2 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.111e-05/0.006915, allocations: 41.39 kB / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 9.71e-07/0.006916, allocations: 0 / 275.2 MB, free: 14.61 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002803/0.007196, allocations: 77.69 kB / 275.3 MB, free: 14.53 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.595e-05/0.007272, allocations: 89.22 kB / 275.4 MB, free: 14.42 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001773/0.007449, allocations: 197.8 kB / 275.6 MB, free: 14.21 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.007472, allocations: 29.7 kB / 275.6 MB, free: 14.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.007561, allocations: 130.9 kB / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.872e-06/0.007568, allocations: 0 / 275.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.938e-05/0.007618, allocations: 31.31 kB / 275.8 MB, free: 14 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002603/0.007878, allocations: 496.1 kB / 276.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.287e-05/0.007911, allocations: 8 kB / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.62e-05/0.007927, allocations: 0 / 276.2 MB, free: 13.5 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.079e-05/0.007998, allocations: 23.73 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.007999, allocations: 3.938 kB / 276.3 MB, free: 13.47 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.338e-05/0.008093, allocations: 49.69 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.008106, allocations: 4 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.008113, allocations: 3.938 kB / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.008126, allocations: 0 / 276.3 MB, free: 13.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.907e-05/0.008165, allocations: 4 kB / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.008169, allocations: 0 / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.774e-05/0.008187, allocations: 0 / 276.3 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.07e-06/0.008192, allocations: 0 / 276.3 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 0.0001212/0.008313, allocations: 160.6 kB / 276.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.519e-05/0.008398, allocations: 53.58 kB / 276.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.883e-05/0.008437, allocations: 16.28 kB / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.008439, allocations: 0 / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.008442, allocations: 0 / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.008445, allocations: 0 / 276.6 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002955/0.00874, allocations: 132.6 kB / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.008742, allocations: 0 / 276.7 MB, free: 13 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.008789, allocations: 15.94 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.993e-06/0.008791, allocations: 0 / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.008799, allocations: 4 kB / 276.7 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.632e-06/0.008805, allocations: 7.938 kB / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.008806, allocations: 0 / 276.7 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.009063, allocations: 223.5 kB / 276.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.009097, allocations: 7.953 kB / 276.9 MB, free: 12.72 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.445e-05/0.009112, allocations: 3.984 kB / 276.9 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.586e-05/0.009167, allocations: 7.938 kB / 277 MB, free: 12.71 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.009199, allocations: 4 kB / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.009202, allocations: 0 / 277 MB, free: 12.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.009306, allocations: 146.1 kB / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009306, allocations: 0 / 277.1 MB, free: 12.56 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.009503, allocations: 8 kB / 277.1 MB, free: 12.55 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.0001097/0.009613, allocations: 95.25 kB / 277.2 MB, free: 12.45 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001185/0.009732, allocations: 27.67 kB / 277.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.009733, allocations: 0 / 277.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.516e-05/0.009768, allocations: 15.62 kB / 277.2 MB, free: 12.4 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.01009, allocations: 20.86 kB / 277.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/0.01043, allocations: 164.9 kB / 277.4 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.819e-05/0.01052, allocations: 75.33 kB / 277.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.829e-05/0.01054, allocations: 4 kB / 277.5 MB, free: 12.09 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.792e-05/0.01057, allocations: 8.5 kB / 277.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01057, allocations: 0 / 277.5 MB, free: 12.08 MB / 266.7 MB Notification: Performance of Templates: time 0.003227/0.01379, allocations: 0.535 MB / 278 MB, free: 11.55 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample1.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.494790699915029]