Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 107.1 kB / 20.44 MB, free: 1.344 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001529/0.001529, allocations: 211.5 kB / 23.73 MB, free: 4.523 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.536/1.536, allocations: 230.6 MB / 257.5 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 39.94 kB / 378.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2856/0.2872, allocations: 53.37 MB / 431.6 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004042/0.2912, allocations: 1.989 MB / 433.6 MB, free: 4.715 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00243/0.2937, allocations: 1.196 MB / 434.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001614/0.2938, allocations: 7.938 kB / 434.8 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007034/0.2945, allocations: 159.5 kB / 434.9 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004622/0.295, allocations: 163.3 kB / 435.1 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006712/0.2957, allocations: 214.3 kB / 435.3 MB, free: 2.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000343/0.296, allocations: 235.4 kB / 435.5 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.2962, allocations: 40.36 kB / 435.6 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.2963, allocations: 99.56 kB / 435.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.2965, allocations: 99.58 kB / 435.7 MB, free: 2.516 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.077e-05/0.2965, allocations: 12 kB / 435.8 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2967, allocations: 67.91 kB / 435.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.2968, allocations: 59.7 kB / 435.9 MB, free: 2.379 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001038/0.2969, allocations: 71.53 kB / 436 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004661/0.2974, allocations: 261.3 kB / 436.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.2974, allocations: 4 kB / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.2974, allocations: 0 / 436.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.2974, allocations: 0 / 436.2 MB, free: 2.055 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.001015/0.2984, allocations: 0.4907 MB / 436.7 MB, free: 1.527 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.2985, allocations: 8.031 kB / 436.7 MB, free: 1.52 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.041e-05/0.2985, allocations: 24.8 kB / 436.7 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004614/0.299, allocations: 229 kB / 437 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.756e-05/0.299, allocations: 16.38 kB / 437 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.2991, allocations: 12.12 kB / 437 MB, free: 1.223 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.2997, allocations: 291.2 kB / 437.3 MB, free: 0.918 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.2997, allocations: 3.984 kB / 437.3 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.246e-05/0.2997, allocations: 12 kB / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.2997, allocations: 0 / 437.3 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00016/0.2999, allocations: 59.91 kB / 437.3 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005052/0.3004, allocations: 318 kB / 437.7 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003418/0.3007, allocations: 164 kB / 437.8 MB, free: 316 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.3009, allocations: 78.55 kB / 437.9 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.3009, allocations: 7.984 kB / 437.9 MB, free: 220 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001642/0.3011, allocations: 75.33 kB / 438 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.983e-06/0.3011, allocations: 4 kB / 438 MB, free: 128 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005916/0.3017, allocations: 233.5 kB / 438.2 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.95e-05/0.3018, allocations: 114.8 kB / 438.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003181/0.3021, allocations: 281 kB / 438.6 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.3021, allocations: 33.7 kB / 438.6 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.3022, allocations: 124.9 kB / 438.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.794e-05/0.3022, allocations: 31.83 kB / 438.8 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.818e-05/0.3023, allocations: 49.94 kB / 438.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3025, allocations: 342.6 kB / 439.2 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.322e-05/0.3026, allocations: 40.39 kB / 439.2 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002141/0.3028, allocations: 198.8 kB / 439.4 MB, free: 14.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.3031, allocations: 203.2 kB / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.3031, allocations: 0 / 439.6 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003882/0.3035, allocations: 233.1 kB / 439.8 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/0.3035, allocations: 8 kB / 439.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.3035, allocations: 4 kB / 439.8 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.3035, allocations: 7.938 kB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.3036, allocations: 23.92 kB / 439.9 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.3037, allocations: 4.531 kB / 439.9 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.3038, allocations: 23.89 kB / 439.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.305e-05/0.3038, allocations: 19.94 kB / 439.9 MB, free: 14 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.0001769/0.304, allocations: 163.8 kB / 440.1 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.3042, allocations: 129.7 kB / 440.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.3045, allocations: 123.4 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3045, allocations: 4 kB / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3045, allocations: 0 / 440.3 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.3045, allocations: 3.984 kB / 440.3 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001955/0.3047, allocations: 169.5 kB / 440.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.3047, allocations: 8 kB / 440.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.586e-05/0.3047, allocations: 11.94 kB / 440.5 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/0.3047, allocations: 7.984 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.3048, allocations: 4 kB / 440.5 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3048, allocations: 4 kB / 440.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.3048, allocations: 0 / 440.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003976/0.3052, allocations: 242 kB / 440.8 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.496e-05/0.3053, allocations: 43.77 kB / 440.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.806e-05/0.3053, allocations: 8 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.522e-05/0.3054, allocations: 7.984 kB / 440.8 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.153e-05/0.3054, allocations: 8 kB / 440.8 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.9e-05/0.3055, allocations: 12 kB / 440.8 MB, free: 13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002129/0.3057, allocations: 208.4 kB / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3057, allocations: 0 / 441 MB, free: 12.79 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003101/0.306, allocations: 43.94 kB / 441.1 MB, free: 12.75 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.001661/0.3076, allocations: 465.8 kB / 441.5 MB, free: 12.47 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003506/0.308, allocations: 139.6 kB / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.345e-06/0.308, allocations: 0 / 441.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.491e-05/0.3081, allocations: 27.98 kB / 441.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005402/0.3086, allocations: 119.2 kB / 441.8 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007681/0.3094, allocations: 401.9 kB / 442.2 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001531/0.3095, allocations: 149.5 kB / 442.4 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.692e-05/0.3096, allocations: 26.67 kB / 442.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.272e-05/0.3097, allocations: 27.42 kB / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3097, allocations: 0 / 442.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Templates: time 0.007828/0.3175, allocations: 3.372 MB / 445.8 MB, free: 8.223 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 4.698485961183906]