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.001578/0.001578, allocations: 91.5 kB / 21.19 MB, free: 3.398 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.00186/0.00186, allocations: 160.5 kB / 24.56 MB, free: 40 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.058/1.058, allocations: 177 MB / 204.8 MB, free: 5.574 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 3.256e-06/3.256e-06, allocations: 4 kB / 272.9 MB, free: 1.449 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.023e-05/3.348e-05, allocations: 9.125 kB / 272.9 MB, free: 1.441 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002991/0.003025, allocations: 2.057 MB / 275 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.004749, allocations: 1.238 MB / 276.2 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001322/0.004881, allocations: 7.938 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005845/0.005465, allocations: 159.4 kB / 276.4 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003274/0.005793, allocations: 167.2 kB / 276.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004461/0.006239, allocations: 215.2 kB / 276.7 MB, free: 13.58 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002603/0.006499, allocations: 235.3 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.006627, allocations: 28.58 kB / 277 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.006782, allocations: 127.6 kB / 277.1 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001218/0.006904, allocations: 87.7 kB / 277.2 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.00693, allocations: 12 kB / 277.2 MB, free: 13.1 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.007051, allocations: 63.89 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.934e-05/0.007121, allocations: 55.83 kB / 277.3 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.733e-05/0.007188, allocations: 51.78 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003208/0.007509, allocations: 203.2 kB / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007512, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.242e-06/0.007513, allocations: 0 / 277.6 MB, free: 12.73 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.152e-06/0.007519, allocations: 0 / 277.6 MB, free: 12.73 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.0008073/0.008326, allocations: 0.5827 MB / 278.2 MB, free: 12.11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.008366, allocations: 11.98 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.008433, allocations: 36.8 kB / 278.2 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.008723, allocations: 252.3 kB / 278.5 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.186e-05/0.008745, allocations: 12.38 kB / 278.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.008764, allocations: 12.38 kB / 278.5 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000381/0.009145, allocations: 264.3 kB / 278.7 MB, free: 11.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.009156, allocations: 4.125 kB / 278.7 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.009173, allocations: 12.34 kB / 278.8 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.009183, allocations: 7.938 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.741e-05/0.009261, allocations: 35.92 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.009656, allocations: 363 kB / 279.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001947/0.00985, allocations: 161.5 kB / 279.3 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.233e-05/0.009943, allocations: 75.03 kB / 279.4 MB, free: 10.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.582e-05/0.009968, allocations: 7.938 kB / 279.4 MB, free: 10.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.823e-05/0.01007, allocations: 73.05 kB / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.814e-06/0.01007, allocations: 0 / 279.5 MB, free: 10.64 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003079/0.01038, allocations: 185.6 kB / 279.6 MB, free: 10.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.01044, allocations: 118.8 kB / 279.8 MB, free: 10.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002044/0.01065, allocations: 300.3 kB / 280.1 MB, free: 10 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.01067, allocations: 29.7 kB / 280.1 MB, free: 9.969 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.236e-05/0.01075, allocations: 171.3 kB / 280.3 MB, free: 9.797 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.144e-05/0.01078, allocations: 35.83 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/0.01083, allocations: 43.36 kB / 280.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01098, allocations: 0.5001 MB / 280.8 MB, free: 9.199 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.13e-05/0.01101, allocations: 16 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.507e-05/0.01109, allocations: 107.5 kB / 280.9 MB, free: 9.043 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004103/0.0115, allocations: 94.31 kB / 281 MB, free: 8.926 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.075e-06/0.01151, allocations: 7.969 kB / 281 MB, free: 8.918 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001572/0.01166, allocations: 129.3 kB / 281.2 MB, free: 8.785 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.01168, allocations: 4 kB / 281.2 MB, free: 8.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.01169, allocations: 4 kB / 281.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.01171, allocations: 0 / 281.2 MB, free: 8.777 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.785e-05/0.0118, allocations: 15.98 kB / 281.2 MB, free: 8.762 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.01181, allocations: 4 kB / 281.2 MB, free: 8.758 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.01186, allocations: 12.09 kB / 281.2 MB, free: 8.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.01187, allocations: 11.94 kB / 281.2 MB, free: 8.734 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 0.0001016/0.01197, allocations: 172.9 kB / 281.4 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001449/0.01211, allocations: 125.4 kB / 281.5 MB, free: 8.426 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/0.01226, allocations: 99.39 kB / 281.6 MB, free: 8.324 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.01227, allocations: 4 kB / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.01227, allocations: 0 / 281.6 MB, free: 8.32 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.01228, allocations: 7.922 kB / 281.6 MB, free: 8.312 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.01243, allocations: 188.5 kB / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.01244, allocations: 0 / 281.8 MB, free: 8.094 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.01247, allocations: 16 kB / 281.8 MB, free: 8.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.212e-06/0.01248, allocations: 11.92 kB / 281.8 MB, free: 8.066 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.111e-05/0.01249, allocations: 4 kB / 281.8 MB, free: 8.062 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-06/0.0125, allocations: 7.938 kB / 281.8 MB, free: 8.055 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.0125, allocations: 3.984 kB / 281.9 MB, free: 8.051 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.01272, allocations: 220.9 kB / 282.1 MB, free: 7.805 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.436e-05/0.01278, allocations: 39.78 kB / 282.1 MB, free: 7.766 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.461e-05/0.01282, allocations: 16.05 kB / 282.1 MB, free: 7.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.349e-05/0.01287, allocations: 8 kB / 282.1 MB, free: 7.742 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.979e-05/0.01292, allocations: 7.984 kB / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.01294, allocations: 4 kB / 282.1 MB, free: 7.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001329/0.01307, allocations: 209.1 kB / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.01307, allocations: 0 / 282.3 MB, free: 7.527 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002062/0.01328, allocations: 43.94 kB / 282.4 MB, free: 7.484 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.001018/0.0143, allocations: 410.2 kB / 282.8 MB, free: 7.191 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001836/0.01448, allocations: 95.38 kB / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01448, allocations: 0 / 282.9 MB, free: 7.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.776e-05/0.01452, allocations: 19.69 kB / 282.9 MB, free: 7.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.01487, allocations: 114.2 kB / 283 MB, free: 6.961 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005081/0.01538, allocations: 387.1 kB / 283.4 MB, free: 6.547 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.737e-05/0.01545, allocations: 96.3 kB / 283.5 MB, free: 6.434 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.523e-05/0.01549, allocations: 17.95 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.01554, allocations: 28.5 kB / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of SimCode: time 9.51e-07/0.01555, allocations: 0 / 283.5 MB, free: 6.387 MB / 266.7 MB Notification: Performance of Templates: time 0.00506/0.02061, allocations: 3.141 MB / 286.7 MB, free: 3.281 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: 3.0482843201607466]