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.000791/0.000791, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00112/0.001911, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.0006919/0.0006919, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009128/0.001605, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.9508/0.9508, allocations: 177.5 MB / 190 MB, free: 4.812 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09153/1.042, allocations: 53.87 MB / 243.9 MB, free: 14.87 MB / 250.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 2.014e-06/2.014e-06, allocations: 0 / 245.2 MB, free: 13.59 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.974e-05, allocations: 5.406 kB / 245.2 MB, free: 13.58 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004205/0.004234, allocations: 2.1 MB / 247.3 MB, free: 11.46 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002291/0.006525, allocations: 1.253 MB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000168/0.006693, allocations: 7.938 kB / 248.6 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006493/0.007343, allocations: 163.2 kB / 248.7 MB, free: 10.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004256/0.007768, allocations: 163.2 kB / 248.9 MB, free: 9.875 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006887/0.008457, allocations: 223 kB / 249.1 MB, free: 9.656 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003229/0.00878, allocations: 235.3 kB / 249.3 MB, free: 9.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.008906, allocations: 38.53 kB / 249.4 MB, free: 9.391 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002585/0.009164, allocations: 155.6 kB / 249.5 MB, free: 9.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.009432, allocations: 83.77 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.776e-05/0.00947, allocations: 15.94 kB / 249.6 MB, free: 9.141 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.009644, allocations: 67.84 kB / 249.7 MB, free: 9.074 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.1e-05/0.009725, allocations: 47.86 kB / 249.7 MB, free: 9.027 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.009786, allocations: 39.86 kB / 249.8 MB, free: 8.988 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003231/0.01011, allocations: 175.3 kB / 249.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.094e-05/0.01012, allocations: 0 / 249.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.01012, allocations: 4 kB / 249.9 MB, free: 8.812 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.01013, allocations: 0 / 249.9 MB, free: 8.812 MB / 250.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.0007531/0.01089, allocations: 0.4967 MB / 250.4 MB, free: 8.285 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.01093, allocations: 8.031 kB / 250.5 MB, free: 8.277 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.011, allocations: 28.91 kB / 250.5 MB, free: 8.25 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003459/0.01134, allocations: 229.4 kB / 250.7 MB, free: 7.996 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.971e-05/0.01137, allocations: 12.38 kB / 250.7 MB, free: 7.984 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.0114, allocations: 12.38 kB / 250.7 MB, free: 7.973 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004135/0.01181, allocations: 237 kB / 251 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01182, allocations: 192 / 251 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.01184, allocations: 4.375 kB / 251 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.01184, allocations: 7.938 kB / 251 MB, free: 7.707 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.76e-05/0.01192, allocations: 38.75 kB / 251 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.01229, allocations: 211.6 kB / 251.2 MB, free: 7.438 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.01252, allocations: 178.4 kB / 251.4 MB, free: 7.234 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.209e-05/0.01259, allocations: 50.55 kB / 251.4 MB, free: 7.176 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01261, allocations: 4 kB / 251.4 MB, free: 7.172 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.01274, allocations: 78.2 kB / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 2.154e-06/0.01275, allocations: 0 / 251.5 MB, free: 7.082 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002624/0.01301, allocations: 137.4 kB / 251.7 MB, free: 6.941 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.01308, allocations: 118.8 kB / 251.8 MB, free: 6.801 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002155/0.01329, allocations: 234.6 kB / 252 MB, free: 6.559 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01332, allocations: 33.7 kB / 252 MB, free: 6.52 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.767e-05/0.01338, allocations: 113 kB / 252.1 MB, free: 6.406 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.032e-05/0.01341, allocations: 23.84 kB / 252.2 MB, free: 6.383 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.848e-05/0.01346, allocations: 41.69 kB / 252.2 MB, free: 6.336 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001082/0.01357, allocations: 334.8 kB / 252.5 MB, free: 6 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.962e-05/0.0136, allocations: 10.83 kB / 252.5 MB, free: 5.988 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.964e-05/0.01367, allocations: 87.62 kB / 252.6 MB, free: 5.875 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.708e-05/0.01376, allocations: 78.73 kB / 252.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01376, allocations: 0 / 252.7 MB, free: 5.777 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000152/0.01391, allocations: 100.4 kB / 252.8 MB, free: 5.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.01393, allocations: 7.938 kB / 252.8 MB, free: 5.664 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.01394, allocations: 8.141 kB / 252.8 MB, free: 5.656 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.01395, allocations: 4 kB / 252.8 MB, free: 5.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.471e-05/0.01404, allocations: 15.94 kB / 252.8 MB, free: 5.637 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.01404, allocations: 4.312 kB / 252.8 MB, free: 5.633 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.648e-05/0.01411, allocations: 11.92 kB / 252.9 MB, free: 5.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.191e-05/0.01412, allocations: 12 kB / 252.9 MB, free: 5.609 MB / 250.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.907e-05/0.01422, allocations: 124.6 kB / 253 MB, free: 5.477 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/0.01459, allocations: 89.53 kB / 253.1 MB, free: 5.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.01473, allocations: 79.83 kB / 253.2 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.818e-06/0.01473, allocations: 0 / 253.2 MB, free: 5.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.01473, allocations: 8 kB / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01474, allocations: 0 / 253.2 MB, free: 5.293 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.01488, allocations: 113.8 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.01489, allocations: 4 kB / 253.3 MB, free: 5.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.606e-05/0.01494, allocations: 15.94 kB / 253.3 MB, free: 5.145 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.278e-05/0.01502, allocations: 31.78 kB / 253.3 MB, free: 5.113 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.01502, allocations: 4 kB / 253.3 MB, free: 5.109 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.01504, allocations: 11.92 kB / 253.3 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.01504, allocations: 0 / 253.3 MB, free: 5.098 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.01504, allocations: 4 kB / 253.3 MB, free: 5.094 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001286/0.01517, allocations: 116.5 kB / 253.5 MB, free: 4.953 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.0152, allocations: 7.938 kB / 253.5 MB, free: 4.945 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.375e-05/0.01528, allocations: 11.92 kB / 253.5 MB, free: 4.934 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.01531, allocations: 11.98 kB / 253.5 MB, free: 4.922 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.01533, allocations: 7.984 kB / 253.5 MB, free: 4.914 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001057/0.01544, allocations: 81.61 kB / 253.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01544, allocations: 0 / 253.6 MB, free: 4.828 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002528/0.01569, allocations: 47.89 kB / 253.6 MB, free: 4.781 MB / 250.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.001867/0.01756, allocations: 0.5514 MB / 254.2 MB, free: 4.457 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001842/0.01774, allocations: 76.69 kB / 254.3 MB, free: 4.379 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/0.01775, allocations: 4 kB / 254.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.291e-05/0.01781, allocations: 20.8 kB / 254.3 MB, free: 4.352 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.01829, allocations: 405.4 kB / 254.7 MB, free: 3.898 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008336/0.01913, allocations: 377.6 kB / 255 MB, free: 3.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.194e-05/0.0192, allocations: 96.31 kB / 255.1 MB, free: 3.379 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.519e-05/0.01927, allocations: 26.47 kB / 255.2 MB, free: 3.352 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001383/0.01941, allocations: 83.36 kB / 255.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of SimCode: time 1.402e-06/0.01941, allocations: 0 / 255.2 MB, free: 3.27 MB / 250.7 MB Notification: Performance of Templates: time 0.007634/0.02705, allocations: 3.45 MB / 258.7 MB, free: 15.88 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.565210268832743]