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.001221/0.001221, allocations: 76.41 kB / 22.21 MB, free: 2.285 MB / 18.57 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.002081/0.002081, allocations: 172.3 kB / 25.61 MB, free: 8.883 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 206 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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 1.894e-06/1.894e-06, allocations: 0 / 274.2 MB, free: 4.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.388e-05/3.578e-05, allocations: 2.906 kB / 274.2 MB, free: 4.516 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004727/0.004763, allocations: 2.023 MB / 276.2 MB, free: 2.492 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.007331, allocations: 1.21 MB / 277.4 MB, free: 1.277 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002776/0.007609, allocations: 9.906 kB / 277.4 MB, free: 1.27 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008465/0.008456, allocations: 171.2 kB / 277.6 MB, free: 1.102 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.008917, allocations: 159.9 kB / 277.8 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.009533, allocations: 216.2 kB / 278 MB, free: 0.7344 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003066/0.009839, allocations: 236.7 kB / 278.2 MB, free: 0.5039 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001654/0.01, allocations: 32.52 kB / 278.2 MB, free: 480 kB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001987/0.0102, allocations: 127.6 kB / 278.4 MB, free: 352 kB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.01036, allocations: 83.77 kB / 278.4 MB, free: 268 kB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.01039, allocations: 12 kB / 278.4 MB, free: 256 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001743/0.01056, allocations: 63.95 kB / 278.5 MB, free: 192 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.538e-05/0.01066, allocations: 59.75 kB / 278.6 MB, free: 132 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.557e-05/0.01073, allocations: 55.78 kB / 278.6 MB, free: 76 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003896/0.01112, allocations: 191.3 kB / 278.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.01113, allocations: 0 / 278.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01113, allocations: 0 / 278.8 MB, free: 15.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.01114, allocations: 0 / 278.8 MB, free: 15.88 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.000724/0.01186, allocations: 0.5865 MB / 279.4 MB, free: 15.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.01191, allocations: 12.03 kB / 279.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.503e-05/0.01198, allocations: 40.75 kB / 279.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003141/0.0123, allocations: 244.2 kB / 279.7 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.769e-05/0.01232, allocations: 8.375 kB / 279.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.01234, allocations: 20.38 kB / 279.7 MB, free: 14.91 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.01271, allocations: 251 kB / 280 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.397e-05/0.01273, allocations: 3.938 kB / 280 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.01274, allocations: 8 kB / 280 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.01275, allocations: 0 / 280 MB, free: 14.63 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.242e-05/0.01282, allocations: 31.91 kB / 280 MB, free: 14.6 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004485/0.01326, allocations: 327.7 kB / 280.3 MB, free: 14.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.01348, allocations: 157.3 kB / 280.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/0.01355, allocations: 66.95 kB / 280.5 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.726e-05/0.01357, allocations: 8 kB / 280.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001275/0.0137, allocations: 68.98 kB / 280.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.004e-06/0.0137, allocations: 0 / 280.6 MB, free: 13.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003191/0.01402, allocations: 173.6 kB / 280.8 MB, free: 13.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.391e-05/0.01412, allocations: 126.8 kB / 280.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002197/0.01434, allocations: 296.2 kB / 281.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.01436, allocations: 29.7 kB / 281.2 MB, free: 13.22 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001037/0.01446, allocations: 171.3 kB / 281.4 MB, free: 13.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.196e-05/0.01449, allocations: 27.77 kB / 281.4 MB, free: 13.02 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.01455, allocations: 51.3 kB / 281.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.01472, allocations: 0.5001 MB / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.035e-05/0.01475, allocations: 8 kB / 282 MB, free: 12.45 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.228e-05/0.01483, allocations: 111.5 kB / 282.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.627e-05/0.01492, allocations: 94.02 kB / 282.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.01492, allocations: 0 / 282.2 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001626/0.01508, allocations: 121.3 kB / 282.3 MB, free: 12.06 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.0151, allocations: 10.03 kB / 282.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01511, allocations: 320 / 282.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.01512, allocations: 8.156 kB / 282.3 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.0152, allocations: 11.98 kB / 282.3 MB, free: 12.03 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.01521, allocations: 11.94 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.01526, allocations: 4 kB / 282.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.01527, allocations: 8 kB / 282.4 MB, free: 12.01 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 0.0001202/0.01539, allocations: 180.4 kB / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.01553, allocations: 113.8 kB / 282.6 MB, free: 11.7 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001492/0.01568, allocations: 103.4 kB / 282.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.01568, allocations: 0 / 282.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.01569, allocations: 4 kB / 282.7 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.179e-06/0.01569, allocations: 4 kB / 282.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.01583, allocations: 153.1 kB / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.01583, allocations: 0 / 282.9 MB, free: 11.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.01587, allocations: 15.92 kB / 282.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.01588, allocations: 3.938 kB / 282.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.01589, allocations: 8 kB / 282.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01589, allocations: 3.938 kB / 282.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.01589, allocations: 0 / 282.9 MB, free: 11.38 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001466/0.01604, allocations: 143.7 kB / 283.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.0161, allocations: 43.75 kB / 283.1 MB, free: 11.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.01613, allocations: 15.94 kB / 283.1 MB, free: 11.15 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.4e-05/0.01618, allocations: 8 kB / 283.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.01622, allocations: 7.984 kB / 283.1 MB, free: 11.13 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.826e-05/0.01624, allocations: 8 kB / 283.2 MB, free: 11.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001105/0.01635, allocations: 205 kB / 283.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01635, allocations: 0 / 283.4 MB, free: 10.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001964/0.01655, allocations: 35.94 kB / 283.4 MB, free: 10.89 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.001031/0.01758, allocations: 406.7 kB / 283.8 MB, free: 10.62 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001741/0.01775, allocations: 86.03 kB / 283.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01776, allocations: 4 kB / 283.9 MB, free: 10.54 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.671e-05/0.01779, allocations: 31.97 kB / 283.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.01812, allocations: 100.4 kB / 284 MB, free: 10.4 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005687/0.01869, allocations: 374.8 kB / 284.4 MB, free: 10 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.039e-05/0.01875, allocations: 92.31 kB / 284.5 MB, free: 9.891 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.877e-05/0.0188, allocations: 18.34 kB / 284.5 MB, free: 9.875 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001119/0.01891, allocations: 114.2 kB / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of SimCode: time 1.423e-06/0.01891, allocations: 0 / 284.6 MB, free: 9.762 MB / 266.7 MB Notification: Performance of Templates: time 0.00644/0.02535, allocations: 3.469 MB / 288.1 MB, free: 6.348 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] 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","",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.980968412011862]