Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.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.0008883/0.0008883, allocations: 84.73 kB / 21.5 MB, free: 2.984 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.000987/0.000987, allocations: 160.2 kB / 24.91 MB, free: 8.766 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.9068/0.9068, allocations: 177 MB / 205.2 MB, free: 5.453 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.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5030,variableFilter="time|upSample1.y|upSample2.y|and1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 273.4 MB, free: 1.238 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.177e-05/1.297e-05, allocations: 2.312 kB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002188/0.002201, allocations: 2.048 MB / 275.4 MB, free: 15.17 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001355/0.003556, allocations: 1.246 MB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.003677, allocations: 7.938 kB / 276.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004475/0.004124, allocations: 155.4 kB / 276.8 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002722/0.004396, allocations: 167.2 kB / 277 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003828/0.004779, allocations: 223.1 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002001/0.004979, allocations: 223.4 kB / 277.4 MB, free: 13.15 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.352e-05/0.005063, allocations: 34.53 kB / 277.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.00518, allocations: 135.6 kB / 277.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.04e-05/0.00527, allocations: 79.72 kB / 277.7 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.928e-05/0.00529, allocations: 12 kB / 277.7 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.898e-05/0.005389, allocations: 63.89 kB / 277.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.894e-05/0.005448, allocations: 55.83 kB / 277.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.496e-05/0.005492, allocations: 55.77 kB / 277.9 MB, free: 12.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000203/0.005695, allocations: 199.2 kB / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005697, allocations: 0 / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.005698, allocations: 0 / 278.1 MB, free: 12.53 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.325e-06/0.0057, allocations: 0 / 278.1 MB, free: 12.53 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0004074/0.006107, allocations: 469.1 kB / 278.5 MB, free: 12.04 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.006137, allocations: 11.98 kB / 278.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.746e-05/0.006175, allocations: 28.91 kB / 278.5 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.006379, allocations: 233.5 kB / 278.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.006396, allocations: 8.375 kB / 278.8 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.006412, allocations: 16.36 kB / 278.8 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002511/0.006663, allocations: 248.9 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.00667, allocations: 192 / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.006679, allocations: 4.375 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006685, allocations: 7.938 kB / 279.1 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.653e-05/0.006731, allocations: 34.69 kB / 279.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002366/0.006968, allocations: 215.5 kB / 279.3 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001412/0.007109, allocations: 162.7 kB / 279.5 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.336e-05/0.007152, allocations: 58.48 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.007169, allocations: 8 kB / 279.5 MB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.126e-05/0.00724, allocations: 74.14 kB / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.112e-06/0.007241, allocations: 0 / 279.6 MB, free: 10.83 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001597/0.007401, allocations: 129.5 kB / 279.7 MB, free: 10.7 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.007448, allocations: 122.8 kB / 279.8 MB, free: 10.55 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/0.007586, allocations: 238.6 kB / 280.1 MB, free: 10.3 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.007604, allocations: 33.7 kB / 280.1 MB, free: 10.27 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.716e-05/0.007642, allocations: 105 kB / 280.2 MB, free: 10.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.164e-05/0.007663, allocations: 27.83 kB / 280.2 MB, free: 10.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.007698, allocations: 41.69 kB / 280.3 MB, free: 10.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.14e-05/0.007769, allocations: 330.8 kB / 280.6 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.007787, allocations: 18.81 kB / 280.6 MB, free: 9.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.007834, allocations: 87.62 kB / 280.7 MB, free: 9.621 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.804e-05/0.007892, allocations: 74.72 kB / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.007894, allocations: 0 / 280.8 MB, free: 9.527 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 8.822e-05/0.007982, allocations: 104.3 kB / 280.9 MB, free: 9.418 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.007992, allocations: 11.92 kB / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.437e-06/0.007996, allocations: 0 / 280.9 MB, free: 9.406 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.008005, allocations: 4 kB / 280.9 MB, free: 9.402 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.4e-05/0.008049, allocations: 8 kB / 280.9 MB, free: 9.395 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.126e-06/0.008052, allocations: 4 kB / 280.9 MB, free: 9.391 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.718e-05/0.008089, allocations: 7.984 kB / 280.9 MB, free: 9.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.008096, allocations: 8 kB / 280.9 MB, free: 9.375 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 14 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,$CLKPRE.upSample2.b_super,upSample2.b_super,$CLKPRE.upSample1.b_super,upSample1.b_super,$CLKPRE.upSample2.b,upSample2.b,$CLKPRE.upSample1.b,upSample1.b) * Number of discrete states: 0 () * Number of clocked states: 4 (upSample2.b_super,upSample1.b_super,upSample2.b,upSample1.b) * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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.98e-05/0.008166, allocations: 133 kB / 281.1 MB, free: 9.234 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.805e-05/0.008234, allocations: 93.52 kB / 281.1 MB, free: 9.137 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.415e-05/0.008318, allocations: 83.42 kB / 281.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.00832, allocations: 0 / 281.2 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-06/0.008322, allocations: 4.312 kB / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008326, allocations: 0 / 281.2 MB, free: 9.043 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.023e-05/0.008416, allocations: 125.7 kB / 281.4 MB, free: 8.902 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.008419, allocations: 4 kB / 281.4 MB, free: 8.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.008439, allocations: 7.938 kB / 281.4 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.008442, allocations: 8 kB / 281.4 MB, free: 8.883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.008451, allocations: 7.984 kB / 281.4 MB, free: 8.875 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/0.008453, allocations: 7.938 kB / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.008454, allocations: 0 / 281.4 MB, free: 8.867 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.334e-05/0.008528, allocations: 104.4 kB / 281.5 MB, free: 8.738 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.008572, allocations: 31.84 kB / 281.5 MB, free: 8.707 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.07e-05/0.008593, allocations: 8 kB / 281.5 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.461e-05/0.008628, allocations: 11.92 kB / 281.5 MB, free: 8.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.043e-05/0.008648, allocations: 4 kB / 281.5 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.008659, allocations: 7.984 kB / 281.6 MB, free: 8.676 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.224e-05/0.008722, allocations: 85.61 kB / 281.6 MB, free: 8.59 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008722, allocations: 4 kB / 281.6 MB, free: 8.586 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001436/0.008865, allocations: 43.89 kB / 281.7 MB, free: 8.543 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: 20 ($whenCondition1,table1.y,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 4 (upSample1.b_super,upSample2.b_super,upSample1.b,upSample2.b) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001016/0.009882, allocations: 0.5172 MB / 282.2 MB, free: 8.211 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001024/0.009984, allocations: 76.61 kB / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.009987, allocations: 320 / 282.3 MB, free: 8.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.496e-05/0.01001, allocations: 24.8 kB / 282.3 MB, free: 8.105 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001969/0.01021, allocations: 113.2 kB / 282.4 MB, free: 8 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003405/0.01055, allocations: 361.2 kB / 282.8 MB, free: 7.609 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.01059, allocations: 92.3 kB / 282.9 MB, free: 7.5 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.965e-05/0.01063, allocations: 29.95 kB / 282.9 MB, free: 7.469 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.997e-05/0.01071, allocations: 87.36 kB / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01071, allocations: 0 / 283 MB, free: 7.383 MB / 266.7 MB Notification: Performance of Templates: time 0.004392/0.01511, allocations: 3.406 MB / 286.4 MB, free: 4.027 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.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.6009492948651314]