Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.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.001044/0.001044, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.00116/0.00116, allocations: 171.8 kB / 24.82 MB, free: 9.254 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.046/1.046, allocations: 177 MB / 205.1 MB, free: 5.48 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.493e-06/1.493e-06, allocations: 0 / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.35e-05/1.499e-05, allocations: 2.312 kB / 273.3 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2): time 0.002061/0.002076, allocations: 1.664 MB / 275 MB, free: 15.55 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003992/0.002475, allocations: 175.3 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.002559, allocations: 7.938 kB / 275.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.733e-05/0.002656, allocations: 11.86 kB / 275.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.00278, allocations: 19.84 kB / 275.2 MB, free: 15.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001818/0.002962, allocations: 51.83 kB / 275.3 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.00307, allocations: 55.84 kB / 275.3 MB, free: 15.24 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.003171, allocations: 35.84 kB / 275.3 MB, free: 15.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.169e-05/0.003223, allocations: 35.91 kB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.549e-05/0.003298, allocations: 27.95 kB / 275.4 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.038e-05/0.003318, allocations: 11.88 kB / 275.4 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.148e-05/0.00333, allocations: 8 kB / 275.4 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.018e-05/0.00337, allocations: 27.91 kB / 275.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.647e-05/0.003397, allocations: 23.92 kB / 275.5 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.003507, allocations: 63.75 kB / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.432e-06/0.003508, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003509, allocations: 0 / 275.5 MB, free: 15.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.003512, allocations: 0 / 275.5 MB, free: 15.01 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0003886/0.003901, allocations: 436.1 kB / 276 MB, free: 14.54 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.003937, allocations: 15.92 kB / 276 MB, free: 14.53 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.003973, allocations: 24.84 kB / 276 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/0.004113, allocations: 152.3 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.766e-06/0.004122, allocations: 8.375 kB / 276.2 MB, free: 14.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/0.004141, allocations: 8.375 kB / 276.2 MB, free: 14.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.004359, allocations: 172 kB / 276.3 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.004367, allocations: 4.172 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004375, allocations: 8.375 kB / 276.3 MB, free: 14.11 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.004379, allocations: 4.312 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.829e-05/0.004408, allocations: 19.92 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002887/0.004696, allocations: 402.9 kB / 276.8 MB, free: 13.65 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.004797, allocations: 105.3 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.712e-05/0.004844, allocations: 59.16 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.025e-05/0.004865, allocations: 4 kB / 276.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.004891, allocations: 41.31 kB / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.004892, allocations: 0 / 277 MB, free: 13.39 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001709/0.005063, allocations: 101.7 kB / 277.1 MB, free: 13.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/0.005112, allocations: 119.2 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.005205, allocations: 207.2 kB / 277.4 MB, free: 12.92 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.005217, allocations: 33.7 kB / 277.4 MB, free: 12.88 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.024e-05/0.005267, allocations: 143.1 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.058e-05/0.005278, allocations: 3.953 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.00531, allocations: 31.34 kB / 277.6 MB, free: 12.69 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001095/0.005419, allocations: 0.4923 MB / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.663e-06/0.005426, allocations: 0 / 278.1 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.661e-05/0.005443, allocations: 23.38 kB / 278.1 MB, free: 12.16 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.359e-05/0.005466, allocations: 27.38 kB / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.005468, allocations: 0 / 278.1 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.832e-05/0.005517, allocations: 45.66 kB / 278.2 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.005526, allocations: 7.938 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.005532, allocations: 3.984 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.005541, allocations: 3.938 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.067e-05/0.005582, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.005585, allocations: 4 kB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.359e-05/0.005598, allocations: 0 / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-06/0.005602, allocations: 4.062 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (sample1.u,hold1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 6.477e-05/0.005667, allocations: 156.6 kB / 278.4 MB, free: 11.88 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/0.005745, allocations: 85.47 kB / 278.4 MB, free: 11.79 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/0.005775, allocations: 16.77 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.005781, allocations: 7.938 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.005784, allocations: 0 / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.005787, allocations: 0 / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001323/0.00592, allocations: 117.2 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.005922, allocations: 4 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.902e-05/0.005971, allocations: 19.98 kB / 278.6 MB, free: 11.6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.005974, allocations: 4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.00598, allocations: 4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005981, allocations: 0 / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.005982, allocations: 3.938 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.006108, allocations: 326.7 kB / 278.9 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.006142, allocations: 31.88 kB / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.057e-06/0.006151, allocations: 0 / 279 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.403e-05/0.006205, allocations: 8 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.179e-05/0.006227, allocations: 3.938 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-06/0.006232, allocations: 11.92 kB / 279 MB, free: 11.19 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.245e-05/0.006284, allocations: 152.8 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006284, allocations: 0 / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001638/0.006448, allocations: 8 kB / 279.1 MB, free: 11.03 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 12 (sample1.u,hold1.y,sample1.y,hold1.u,sample2.y,sum1.u[1],sum1.u[2],sum1.y,sum2.u[1],sum2.u[2],sum2.y,integerConstant.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 12 * 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 8.34e-05/0.006531, allocations: 107.2 kB / 279.3 MB, free: 10.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.417e-05/0.006595, allocations: 27.62 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.042e-06/0.006597, allocations: 0 / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.378e-05/0.00661, allocations: 15.86 kB / 279.3 MB, free: 10.87 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002865/0.006897, allocations: 54.27 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002787/0.007175, allocations: 226.8 kB / 279.6 MB, free: 10.56 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.714e-05/0.007223, allocations: 75.27 kB / 279.6 MB, free: 10.47 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.76e-05/0.00724, allocations: 7.984 kB / 279.7 MB, free: 10.46 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.664e-05/0.007297, allocations: 82.19 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of SimCode: time 6.61e-07/0.007297, allocations: 4 kB / 279.7 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Templates: time 0.002375/0.009673, allocations: 0.974 MB / 280.7 MB, free: 9.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.Sample2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/Sample2/Sample2.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.743018591310829]