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.001695/0.001695, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001442/0.001442, allocations: 209.8 kB / 24.49 MB, free: 4.133 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.404/1.404, allocations: 230.6 MB / 258.3 MB, free: 8.242 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.001552/0.001552, allocations: 43.92 kB / 379 MB, free: 2.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2181/0.2196, allocations: 53.37 MB / 432.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003464/0.2231, allocations: 2.028 MB / 434.4 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002225/0.2253, allocations: 1.278 MB / 435.7 MB, free: 3.652 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001876/0.2255, allocations: 11.88 kB / 435.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006259/0.2261, allocations: 163.4 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004522/0.2266, allocations: 159.3 kB / 436 MB, free: 3.324 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006706/0.2273, allocations: 215.2 kB / 436.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000329/0.2276, allocations: 231.4 kB / 436.5 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001341/0.2277, allocations: 40.56 kB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001703/0.2279, allocations: 103.5 kB / 436.6 MB, free: 2.746 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001594/0.2281, allocations: 99.53 kB / 436.7 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.267e-05/0.2281, allocations: 12 kB / 436.7 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.2282, allocations: 63.97 kB / 436.8 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.2283, allocations: 63.69 kB / 436.8 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000106/0.2284, allocations: 87.42 kB / 436.9 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003971/0.2288, allocations: 260.2 kB / 437.2 MB, free: 2.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.2288, allocations: 4 kB / 437.2 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.2288, allocations: 3.938 kB / 437.2 MB, free: 2.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2288, allocations: 4 kB / 437.2 MB, free: 2.168 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.000854/0.2297, allocations: 490.5 kB / 437.7 MB, free: 1.652 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.2297, allocations: 12.02 kB / 437.7 MB, free: 1.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.2298, allocations: 32.75 kB / 437.7 MB, free: 1.609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003626/0.2302, allocations: 221.1 kB / 437.9 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.466e-05/0.2302, allocations: 20.31 kB / 437.9 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.2302, allocations: 16.12 kB / 438 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005454/0.2308, allocations: 296.1 kB / 438.2 MB, free: 1.023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.2308, allocations: 3.984 kB / 438.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.2308, allocations: 8 kB / 438.3 MB, free: 1.012 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.573e-06/0.2308, allocations: 4 kB / 438.3 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001477/0.2309, allocations: 55.91 kB / 438.3 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005531/0.2315, allocations: 369.4 kB / 438.7 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003212/0.2318, allocations: 163.9 kB / 438.8 MB, free: 364 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001398/0.232, allocations: 78.55 kB / 438.9 MB, free: 276 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.232, allocations: 4 kB / 438.9 MB, free: 272 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001563/0.2322, allocations: 67.39 kB / 439 MB, free: 192 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.954e-06/0.2322, allocations: 0 / 439 MB, free: 192 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005242/0.2327, allocations: 233.6 kB / 439.2 MB, free: 15.95 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/0.2328, allocations: 148.5 kB / 439.4 MB, free: 15.78 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003106/0.2331, allocations: 285 kB / 439.6 MB, free: 15.49 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.2331, allocations: 29.7 kB / 439.7 MB, free: 15.45 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.168e-05/0.2332, allocations: 120.6 kB / 439.8 MB, free: 15.33 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.614e-05/0.2333, allocations: 27.84 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.806e-05/0.2333, allocations: 57.92 kB / 439.9 MB, free: 15.24 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001503/0.2335, allocations: 330.8 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.984e-05/0.2336, allocations: 44.44 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001934/0.2338, allocations: 178 kB / 440.4 MB, free: 14.63 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002576/0.234, allocations: 195.3 kB / 440.6 MB, free: 14.39 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.234, allocations: 4 kB / 440.6 MB, free: 14.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003739/0.2344, allocations: 225.4 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/0.2344, allocations: 8 kB / 440.8 MB, free: 14.15 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.844e-06/0.2344, allocations: 4 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.2344, allocations: 7.938 kB / 440.8 MB, free: 14.14 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.552e-05/0.2345, allocations: 23.92 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.2345, allocations: 4.312 kB / 440.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001152/0.2347, allocations: 24.3 kB / 440.9 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.759e-05/0.2347, allocations: 23.94 kB / 440.9 MB, free: 14.06 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.0001753/0.2349, allocations: 167.8 kB / 441.1 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.235, allocations: 125.4 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.2353, allocations: 115.3 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2353, allocations: 4 kB / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.2353, allocations: 0 / 441.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.2353, allocations: 3.938 kB / 441.3 MB, free: 13.63 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002191/0.2355, allocations: 224.6 kB / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2355, allocations: 0 / 441.5 MB, free: 13.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.2356, allocations: 15.92 kB / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2356, allocations: 0 / 441.6 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.666e-05/0.2356, allocations: 11.98 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.2356, allocations: 0 / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.2356, allocations: 4 kB / 441.6 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003574/0.2359, allocations: 226.7 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.163e-05/0.236, allocations: 47.7 kB / 441.8 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.649e-05/0.2361, allocations: 8 kB / 441.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.111e-05/0.2361, allocations: 8.125 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.147e-05/0.2362, allocations: 3.984 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.17e-05/0.2362, allocations: 19.94 kB / 441.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002166/0.2364, allocations: 204.5 kB / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2364, allocations: 0 / 442.1 MB, free: 12.81 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003106/0.2367, allocations: 51.86 kB / 442.1 MB, free: 12.76 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 (22): * Single equations (assignments): 20 * 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.001503/0.2382, allocations: 424 kB / 442.5 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003233/0.2385, allocations: 140.4 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2386, allocations: 256 / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.766e-05/0.2386, allocations: 24 kB / 442.7 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005002/0.2391, allocations: 124.2 kB / 442.8 MB, free: 12.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007334/0.2399, allocations: 430.8 kB / 443.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.2402, allocations: 0.7558 MB / 444 MB, free: 10.98 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.695e-05/0.2403, allocations: 27.42 kB / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of SimCode: time 4.21e-07/0.2403, allocations: 0 / 444 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Templates: time 0.006247/0.2465, allocations: 3.299 MB / 447.3 MB, free: 7.66 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/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_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: 7.185694659827277]