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.0009006/0.0009006, allocations: 88.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.001104/0.001104, allocations: 164.2 kB / 24.91 MB, free: 8.762 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.9741/0.9741, allocations: 177 MB / 205.2 MB, free: 5.055 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.343e-06/1.343e-06, allocations: 3.938 kB / 273.4 MB, free: 1.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.142e-05/1.276e-05, allocations: 2.312 kB / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002412/0.002425, allocations: 2.083 MB / 275.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001401/0.003827, allocations: 1.25 MB / 276.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001037/0.00393, allocations: 7.938 kB / 276.8 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006132/0.004543, allocations: 159.4 kB / 276.9 MB, free: 13.51 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000253/0.004796, allocations: 167.1 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006346/0.005431, allocations: 211.2 kB / 277.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000219/0.00565, allocations: 227.4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.178e-05/0.005742, allocations: 34.53 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001249/0.005867, allocations: 135.6 kB / 277.7 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.721e-05/0.005964, allocations: 75.77 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.169e-05/0.005986, allocations: 16 kB / 277.8 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001181/0.006104, allocations: 71.88 kB / 277.8 MB, free: 12.59 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.964e-05/0.006163, allocations: 59.77 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.609e-05/0.006209, allocations: 43.86 kB / 277.9 MB, free: 12.49 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002106/0.00642, allocations: 207.1 kB / 278.1 MB, free: 12.29 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.623e-06/0.006422, allocations: 3.938 kB / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.006422, allocations: 0 / 278.1 MB, free: 12.28 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.216e-06/0.006426, allocations: 0 / 278.1 MB, free: 12.28 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.0004301/0.006856, allocations: 461.1 kB / 278.6 MB, free: 11.8 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.115e-05/0.006887, allocations: 15.98 kB / 278.6 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.128e-05/0.006928, allocations: 24.92 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.007154, allocations: 233.5 kB / 278.9 MB, free: 11.51 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.007173, allocations: 12.38 kB / 278.9 MB, free: 11.5 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.007187, allocations: 12.38 kB / 278.9 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002537/0.007441, allocations: 248.9 kB / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.223e-06/0.007448, allocations: 192 / 279.1 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.919e-06/0.007458, allocations: 8.375 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.007463, allocations: 3.938 kB / 279.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.007509, allocations: 30.75 kB / 279.2 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.007748, allocations: 211.5 kB / 279.4 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.007891, allocations: 178.6 kB / 279.6 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.306e-05/0.007934, allocations: 50.55 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.00795, allocations: 7.984 kB / 279.6 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.286e-05/0.008023, allocations: 66.16 kB / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.092e-06/0.008024, allocations: 0 / 279.7 MB, free: 10.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0001743/0.008198, allocations: 137.4 kB / 279.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.008253, allocations: 118.8 kB / 279.9 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.008394, allocations: 238.6 kB / 280.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.00841, allocations: 37.7 kB / 280.2 MB, free: 10.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.803e-05/0.008448, allocations: 105 kB / 280.3 MB, free: 9.918 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.146e-05/0.008469, allocations: 27.83 kB / 280.3 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.698e-05/0.008506, allocations: 37.69 kB / 280.4 MB, free: 9.848 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.964e-05/0.008586, allocations: 334.8 kB / 280.7 MB, free: 9.512 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.59e-05/0.008602, allocations: 14.77 kB / 280.7 MB, free: 9.496 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.616e-05/0.008648, allocations: 87.62 kB / 280.8 MB, free: 9.383 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.849e-05/0.008707, allocations: 78.73 kB / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.008709, allocations: 0 / 280.9 MB, free: 9.285 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 9.15e-05/0.0088, allocations: 100.5 kB / 281 MB, free: 9.18 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.031e-05/0.00881, allocations: 7.938 kB / 281 MB, free: 9.172 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.008815, allocations: 4.062 kB / 281 MB, free: 9.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.008825, allocations: 4 kB / 281 MB, free: 9.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.996e-05/0.008875, allocations: 19.98 kB / 281 MB, free: 9.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.00888, allocations: 4.469 kB / 281 MB, free: 9.141 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.513e-05/0.008915, allocations: 8 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/0.008921, allocations: 4 kB / 281 MB, free: 9.129 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 7.642e-05/0.008997, allocations: 136.6 kB / 281.1 MB, free: 8.984 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.00907, allocations: 89.53 kB / 281.2 MB, free: 8.891 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.47e-05/0.009154, allocations: 75.44 kB / 281.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.009157, allocations: 4 kB / 281.3 MB, free: 8.805 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.009159, allocations: 3.938 kB / 281.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.009164, allocations: 7.984 kB / 281.3 MB, free: 8.793 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.79e-05/0.009252, allocations: 109.7 kB / 281.4 MB, free: 8.668 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.009254, allocations: 7.984 kB / 281.4 MB, free: 8.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.534e-05/0.009279, allocations: 12 kB / 281.4 MB, free: 8.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.009281, allocations: 4 kB / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.009288, allocations: 0 / 281.5 MB, free: 8.645 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.009292, allocations: 11.92 kB / 281.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.009293, allocations: 0 / 281.5 MB, free: 8.633 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.077e-05/0.009363, allocations: 108.4 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.009407, allocations: 31.84 kB / 281.6 MB, free: 8.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.009427, allocations: 4 kB / 281.6 MB, free: 8.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.556e-05/0.009463, allocations: 11.94 kB / 281.6 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.009487, allocations: 15.97 kB / 281.6 MB, free: 8.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.134e-05/0.009498, allocations: 8 kB / 281.6 MB, free: 8.43 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.009563, allocations: 89.58 kB / 281.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009563, allocations: 0 / 281.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001468/0.00971, allocations: 43.89 kB / 281.8 MB, free: 8.297 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.0009645/0.01067, allocations: 0.5164 MB / 282.3 MB, free: 7.965 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001067/0.01078, allocations: 76.62 kB / 282.4 MB, free: 7.887 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.01079, allocations: 7.938 kB / 282.4 MB, free: 7.879 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 2.557e-05/0.01081, allocations: 16.84 kB / 282.4 MB, free: 7.859 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002189/0.01103, allocations: 117.4 kB / 282.5 MB, free: 7.75 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000368/0.0114, allocations: 369.1 kB / 282.9 MB, free: 7.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.393e-05/0.01144, allocations: 88.31 kB / 282.9 MB, free: 7.246 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.277e-05/0.01148, allocations: 26.25 kB / 283 MB, free: 7.219 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.502e-05/0.01157, allocations: 87.36 kB / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01157, allocations: 0 / 283.1 MB, free: 7.133 MB / 266.7 MB Notification: Performance of Templates: time 0.004853/0.01642, allocations: 3.393 MB / 286.5 MB, free: 3.789 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 -s gbode -gbm=radauIIA3 -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.6429582620039582]