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.001102/0.001102, allocations: 85.91 kB / 22.21 MB, free: 2.281 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.001894/0.001894, allocations: 164.9 kB / 25.61 MB, free: 8.59 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.971/0.971, allocations: 177 MB / 205.9 MB, free: 4.457 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.543e-06/1.543e-06, allocations: 0 / 274.1 MB, free: 4.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.037e-05/2.191e-05, allocations: 7.094 kB / 274.1 MB, free: 4.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002653/0.002675, allocations: 2.035 MB / 276.1 MB, free: 2.242 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.004266, allocations: 1.217 MB / 277.4 MB, free: 1.02 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/0.004409, allocations: 8.844 kB / 277.4 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005323/0.004942, allocations: 167.9 kB / 277.5 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.005271, allocations: 161.7 kB / 277.7 MB, free: 0.6914 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005226/0.005794, allocations: 215.1 kB / 277.9 MB, free: 492 kB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002643/0.006058, allocations: 239.2 kB / 278.1 MB, free: 252 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.006163, allocations: 30.23 kB / 278.2 MB, free: 220 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.006306, allocations: 123.6 kB / 278.3 MB, free: 96 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.006414, allocations: 83.77 kB / 278.4 MB, free: 12 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.273e-05/0.006437, allocations: 12 kB / 278.4 MB, free: 0 / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.006605, allocations: 64.55 kB / 278.4 MB, free: 15.94 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.006713, allocations: 63.75 kB / 278.5 MB, free: 15.88 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.127e-05/0.006784, allocations: 52.31 kB / 278.6 MB, free: 15.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004797/0.007264, allocations: 199.8 kB / 278.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007266, allocations: 0 / 278.8 MB, free: 15.63 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.233e-06/0.007267, allocations: 4 kB / 278.8 MB, free: 15.62 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.007272, allocations: 0 / 278.8 MB, free: 15.62 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.0005474/0.007819, allocations: 0.5828 MB / 279.3 MB, free: 15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.007852, allocations: 8.031 kB / 279.3 MB, free: 14.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.89e-05/0.007911, allocations: 40.75 kB / 279.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002292/0.00814, allocations: 240.3 kB / 279.6 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.008159, allocations: 8.375 kB / 279.6 MB, free: 14.68 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.008175, allocations: 20.38 kB / 279.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.008451, allocations: 245.5 kB / 279.9 MB, free: 14.4 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.00846, allocations: 4.188 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.008471, allocations: 4.375 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.008477, allocations: 3.938 kB / 279.9 MB, free: 14.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.466e-05/0.008532, allocations: 35.89 kB / 279.9 MB, free: 14.35 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003638/0.008895, allocations: 339.5 kB / 280.3 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.009055, allocations: 149.5 kB / 280.4 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.359e-05/0.009109, allocations: 66.95 kB / 280.5 MB, free: 13.72 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.797e-05/0.009127, allocations: 8 kB / 280.5 MB, free: 13.71 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.804e-05/0.009215, allocations: 72.92 kB / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.009217, allocations: 0 / 280.6 MB, free: 13.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002527/0.009469, allocations: 181.3 kB / 280.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.65e-05/0.009526, allocations: 114.8 kB / 280.9 MB, free: 13.31 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001619/0.009688, allocations: 292.2 kB / 281.1 MB, free: 13.01 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.009707, allocations: 33.7 kB / 281.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.12e-05/0.009779, allocations: 171.3 kB / 281.3 MB, free: 12.8 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.009803, allocations: 23.83 kB / 281.4 MB, free: 12.77 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.622e-05/0.009849, allocations: 51.3 kB / 281.4 MB, free: 12.71 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.009959, allocations: 0.504 MB / 281.9 MB, free: 12.2 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.985e-05/0.009979, allocations: 8 kB / 281.9 MB, free: 12.19 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.876e-05/0.01004, allocations: 109.9 kB / 282 MB, free: 12.05 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.88e-05/0.01011, allocations: 89.98 kB / 282.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.01011, allocations: 0 / 282.1 MB, free: 11.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001254/0.01023, allocations: 125.4 kB / 282.2 MB, free: 11.81 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.01025, allocations: 8 kB / 282.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01025, allocations: 0 / 282.2 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.01026, allocations: 4 kB / 282.3 MB, free: 11.8 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.01032, allocations: 19.92 kB / 282.3 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.01032, allocations: 4 kB / 282.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.227e-05/0.01036, allocations: 8.25 kB / 282.3 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.01037, allocations: 4 kB / 282.3 MB, free: 11.76 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 9.075e-05/0.01046, allocations: 176.7 kB / 282.5 MB, free: 11.58 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/0.01058, allocations: 125.6 kB / 282.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.01069, allocations: 95.44 kB / 282.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01069, allocations: 0 / 282.7 MB, free: 11.35 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.257e-06/0.0107, allocations: 4 kB / 282.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.0107, allocations: 0 / 282.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.01082, allocations: 153.1 kB / 282.8 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01082, allocations: 4 kB / 282.8 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.954e-05/0.01085, allocations: 19.92 kB / 282.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.01085, allocations: 0 / 282.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.01086, allocations: 4 kB / 282.9 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.01086, allocations: 7.938 kB / 282.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.01086, allocations: 3.938 kB / 282.9 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001135/0.01098, allocations: 147.6 kB / 283 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.01103, allocations: 43.81 kB / 283.1 MB, free: 10.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.01105, allocations: 11.94 kB / 283.1 MB, free: 10.9 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.323e-05/0.0111, allocations: 11.94 kB / 283.1 MB, free: 10.89 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.794e-05/0.01113, allocations: 7.984 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.01114, allocations: 4 kB / 283.1 MB, free: 10.88 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.08e-05/0.01123, allocations: 201.1 kB / 283.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01123, allocations: 0 / 283.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002008/0.01143, allocations: 39.92 kB / 283.3 MB, free: 10.64 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.0008337/0.01227, allocations: 393.6 kB / 283.7 MB, free: 10.37 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001419/0.01241, allocations: 79.52 kB / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.01241, allocations: 0 / 283.8 MB, free: 10.29 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.403e-05/0.01244, allocations: 31.66 kB / 283.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002944/0.01274, allocations: 128.2 kB / 283.9 MB, free: 10.14 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004254/0.01316, allocations: 370.8 kB / 284.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.077e-05/0.01321, allocations: 92.31 kB / 284.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.085e-05/0.01326, allocations: 22.27 kB / 284.4 MB, free: 9.609 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001081/0.01337, allocations: 114.2 kB / 284.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.01337, allocations: 0 / 284.5 MB, free: 9.496 MB / 266.7 MB Notification: Performance of Templates: time 0.005823/0.0192, allocations: 3.466 MB / 288 MB, free: 6.082 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.901926166843623]