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.001665/0.001665, allocations: 103.6 kB / 21.19 MB, free: 0.5234 MB / 14.72 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.001862/0.001862, allocations: 215.5 kB / 24.48 MB, free: 3.836 MB / 14.72 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.52/1.52, allocations: 230.5 MB / 258.1 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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 0.002049/0.002049, allocations: 59.91 kB / 379 MB, free: 2.309 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 53.41 MB / 432.4 MB, free: 6.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003752/0.2773, allocations: 1.981 MB / 434.4 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.2797, allocations: 1.202 MB / 435.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.2798, allocations: 3.938 kB / 435.6 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006952/0.2805, allocations: 163.4 kB / 435.7 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.281, allocations: 171.3 kB / 435.9 MB, free: 2.984 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006345/0.2816, allocations: 210.6 kB / 436.1 MB, free: 2.781 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.2819, allocations: 227.4 kB / 436.3 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.282, allocations: 32.38 kB / 436.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001411/0.2822, allocations: 103.6 kB / 436.5 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.2823, allocations: 95.52 kB / 436.6 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.497e-05/0.2824, allocations: 20 kB / 436.6 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.2825, allocations: 63.95 kB / 436.6 MB, free: 2.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.135e-05/0.2826, allocations: 55.78 kB / 436.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.807e-05/0.2827, allocations: 67.53 kB / 436.8 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003756/0.2831, allocations: 261.7 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.2831, allocations: 4 kB / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2831, allocations: 0 / 437 MB, free: 1.875 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.2831, allocations: 0 / 437 MB, free: 1.875 MB / 334.1 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.0008604/0.284, allocations: 0.4906 MB / 437.5 MB, free: 1.348 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.284, allocations: 11.98 kB / 437.5 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.719e-05/0.2841, allocations: 28.8 kB / 437.5 MB, free: 1.309 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004051/0.2845, allocations: 229.1 kB / 437.8 MB, free: 1.062 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.229e-05/0.2845, allocations: 12.38 kB / 437.8 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.2845, allocations: 12.38 kB / 437.8 MB, free: 1.039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005639/0.2851, allocations: 301 kB / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.2851, allocations: 0 / 438.1 MB, free: 0.7266 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.2851, allocations: 4 kB / 438.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2851, allocations: 4 kB / 438.1 MB, free: 0.7188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002087/0.2853, allocations: 59.91 kB / 438.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004888/0.2858, allocations: 322 kB / 438.5 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.2862, allocations: 159.8 kB / 438.6 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001432/0.2863, allocations: 82.67 kB / 438.7 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.743e-05/0.2863, allocations: 7.984 kB / 438.7 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001951/0.2865, allocations: 71.39 kB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=22): time 3.606e-06/0.2865, allocations: 7.984 kB / 438.8 MB, free: 15.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005088/0.2871, allocations: 225.4 kB / 439 MB, free: 15.71 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.27e-05/0.2871, allocations: 126.8 kB / 439.1 MB, free: 15.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.2875, allocations: 285 kB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.2875, allocations: 33.64 kB / 439.4 MB, free: 15.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.2876, allocations: 124.6 kB / 439.6 MB, free: 15.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.765e-05/0.2876, allocations: 31.84 kB / 439.6 MB, free: 15.08 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.61e-05/0.2877, allocations: 49.94 kB / 439.6 MB, free: 15.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.2879, allocations: 342.8 kB / 440 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.818e-05/0.2879, allocations: 36.45 kB / 440 MB, free: 14.64 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002022/0.2881, allocations: 190.9 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.2885, allocations: 203.6 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.2885, allocations: 4 kB / 440.4 MB, free: 14.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003698/0.2888, allocations: 225.5 kB / 440.6 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2889, allocations: 8 kB / 440.6 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.516e-05/0.2889, allocations: 7.938 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.2889, allocations: 8 kB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-05/0.289, allocations: 23.92 kB / 440.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.289, allocations: 11.94 kB / 440.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.2891, allocations: 19.89 kB / 440.7 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.521e-05/0.2891, allocations: 8 kB / 440.7 MB, free: 13.82 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($PRE.table1.combiTimeTable.nextTimeEvent,$whenCondition1,table1.combiTimeTable.nextTimeEventScaled,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEvent,table1.y,and1.y,and1.u2,and1.u1,upSample2.u_super,$CLKPRE.upSample2.b_super,upSample2.b_super,upSample2.y,upSample1.u_super,$CLKPRE.upSample1.b_super,upSample1.b_super,upSample1.y,$CLKPRE.upSample2.b,upSample2.b,upSample2.dummy,upSample2.u,$CLKPRE.upSample1.b,upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * 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 (28): * Single equations (assignments): 28 * 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.0001681/0.2893, allocations: 172.6 kB / 440.9 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002016/0.2895, allocations: 133.4 kB / 441 MB, free: 13.51 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.2897, allocations: 127.3 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.2898, allocations: 4 kB / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.2898, allocations: 0 / 441.1 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.2898, allocations: 7.984 kB / 441.1 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001863/0.29, allocations: 169.2 kB / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.29, allocations: 0 / 441.3 MB, free: 13.17 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.736e-05/0.29, allocations: 15.98 kB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.29, allocations: 0 / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.29, allocations: 8 kB / 441.3 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.29, allocations: 3.938 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.29, allocations: 4 kB / 441.3 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000381/0.2904, allocations: 230.5 kB / 441.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.295e-05/0.2905, allocations: 43.77 kB / 441.6 MB, free: 12.85 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.2905, allocations: 4 kB / 441.6 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.393e-05/0.2906, allocations: 11.98 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.2907, allocations: 4 kB / 441.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.143e-05/0.2907, allocations: 11.98 kB / 441.6 MB, free: 12.82 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002186/0.2909, allocations: 208.4 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2909, allocations: 4 kB / 441.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003039/0.2912, allocations: 43.94 kB / 441.9 MB, free: 12.57 MB / 350.1 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.001666/0.2929, allocations: 449.9 kB / 442.3 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.2932, allocations: 140.6 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2932, allocations: 4.062 kB / 442.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.481e-05/0.2933, allocations: 27.92 kB / 442.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005082/0.2938, allocations: 127.3 kB / 442.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007494/0.2945, allocations: 434.9 kB / 443 MB, free: 11.52 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001523/0.2947, allocations: 149.4 kB / 443.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.183e-05/0.2947, allocations: 27.42 kB / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2947, allocations: 0 / 443.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Templates: time 0.005771/0.3005, allocations: 3.339 MB / 446.6 MB, free: 7.984 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.414487869944423]