Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 91.86 kB / 20.96 MB, free: 3.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002444/0.002444, allocations: 145.1 kB / 24.26 MB, free: 152 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 173.3 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 267.3 MB, free: 6.719 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.206e-05, allocations: 6.312 kB / 267.3 MB, free: 6.711 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003713/0.003745, allocations: 1.991 MB / 269.3 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002237/0.005983, allocations: 1.083 MB / 270.4 MB, free: 3.609 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.006097, allocations: 3.938 kB / 270.4 MB, free: 3.605 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006774/0.006775, allocations: 171.3 kB / 270.6 MB, free: 3.438 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.007109, allocations: 119.4 kB / 270.7 MB, free: 3.32 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006697/0.007779, allocations: 247.1 kB / 270.9 MB, free: 3.078 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003283/0.008107, allocations: 223.4 kB / 271.1 MB, free: 2.859 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001276/0.008235, allocations: 32.53 kB / 271.2 MB, free: 2.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002084/0.008443, allocations: 131.6 kB / 271.3 MB, free: 2.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.008589, allocations: 75.78 kB / 271.4 MB, free: 2.621 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.538e-05/0.008625, allocations: 16 kB / 271.4 MB, free: 2.605 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.008782, allocations: 59.89 kB / 271.4 MB, free: 2.547 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.165e-05/0.008874, allocations: 59.75 kB / 271.5 MB, free: 2.488 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.268e-05/0.008956, allocations: 51.84 kB / 271.6 MB, free: 2.438 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004127/0.009369, allocations: 263 kB / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.009372, allocations: 0 / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.009373, allocations: 0 / 271.8 MB, free: 2.18 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.009379, allocations: 0 / 271.8 MB, free: 2.18 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.0008877/0.01027, allocations: 0.5904 MB / 272.4 MB, free: 1.547 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.0103, allocations: 8.031 kB / 272.4 MB, free: 1.539 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.541e-05/0.01039, allocations: 36.8 kB / 272.4 MB, free: 1.504 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.0108, allocations: 231.5 kB / 272.7 MB, free: 1.25 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.01082, allocations: 12.38 kB / 272.7 MB, free: 1.238 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.346e-05/0.01085, allocations: 12.38 kB / 272.7 MB, free: 1.227 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/0.01145, allocations: 307.6 kB / 273 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.01147, allocations: 3.938 kB / 273 MB, free: 0.8984 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.01148, allocations: 4 kB / 273 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.01149, allocations: 4 kB / 273 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.01165, allocations: 59.91 kB / 273.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005939/0.01225, allocations: 383 kB / 273.4 MB, free: 424 kB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003678/0.01261, allocations: 193.3 kB / 273.6 MB, free: 192 kB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001594/0.01277, allocations: 91.09 kB / 273.7 MB, free: 88 kB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.01281, allocations: 7.984 kB / 273.7 MB, free: 80 kB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001848/0.01299, allocations: 81.08 kB / 273.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.653e-06/0.01299, allocations: 3.938 kB / 273.8 MB, free: 15.98 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0005358/0.01353, allocations: 213.7 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.01364, allocations: 126.7 kB / 274.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003708/0.01401, allocations: 336.3 kB / 274.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.073e-05/0.01404, allocations: 33.69 kB / 274.5 MB, free: 15.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.01419, allocations: 175.4 kB / 274.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.01422, allocations: 23.77 kB / 274.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.358e-05/0.01431, allocations: 63.19 kB / 274.8 MB, free: 14.96 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002822/0.01459, allocations: 0.5157 MB / 275.3 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.257e-05/0.01466, allocations: 23.98 kB / 275.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01482, allocations: 127 kB / 275.4 MB, free: 14.25 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.015, allocations: 122.2 kB / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.01501, allocations: 0 / 275.5 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002739/0.01528, allocations: 137.5 kB / 275.7 MB, free: 13.97 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.0153, allocations: 8 kB / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.0153, allocations: 0 / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.01532, allocations: 4 kB / 275.7 MB, free: 13.96 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.0154, allocations: 16.14 kB / 275.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.25e-05/0.01542, allocations: 11.94 kB / 275.7 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.108e-05/0.01549, allocations: 7.953 kB / 275.7 MB, free: 13.92 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.0155, allocations: 4 kB / 275.7 MB, free: 13.92 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.0001683/0.01567, allocations: 188.5 kB / 275.9 MB, free: 13.72 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.01589, allocations: 137.5 kB / 276 MB, free: 13.58 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.01616, allocations: 111.8 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01617, allocations: 4 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.01617, allocations: 0 / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.01618, allocations: 3.984 kB / 276.2 MB, free: 13.46 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.01643, allocations: 220.4 kB / 276.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01643, allocations: 0 / 276.4 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.556e-05/0.01648, allocations: 8 kB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.01648, allocations: 3.938 kB / 276.4 MB, free: 13.2 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.0165, allocations: 11.98 kB / 276.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.0165, allocations: 0 / 276.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01651, allocations: 0 / 276.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004272/0.01693, allocations: 251.5 kB / 276.6 MB, free: 12.91 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.01704, allocations: 43.78 kB / 276.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.65e-05/0.01707, allocations: 8.047 kB / 276.7 MB, free: 12.86 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.32e-05/0.01715, allocations: 12 kB / 276.7 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.01719, allocations: 11.98 kB / 276.7 MB, free: 12.83 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.318e-05/0.01721, allocations: 8 kB / 276.7 MB, free: 12.82 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002305/0.01744, allocations: 225.1 kB / 276.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01744, allocations: 0 / 276.9 MB, free: 12.61 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.01771, allocations: 36 kB / 277 MB, free: 12.57 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.003072/0.02079, allocations: 451.9 kB / 277.4 MB, free: 12.3 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003067/0.02109, allocations: 119.6 kB / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.0211, allocations: 0 / 277.5 MB, free: 12.18 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.015e-05/0.02118, allocations: 27.69 kB / 277.6 MB, free: 12.15 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005257/0.0217, allocations: 128.5 kB / 277.7 MB, free: 12.03 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007375/0.02244, allocations: 390.9 kB / 278.1 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.0226, allocations: 144.8 kB / 278.2 MB, free: 11.45 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.016e-05/0.02267, allocations: 26.31 kB / 278.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.074e-05/0.02273, allocations: 20.5 kB / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02273, allocations: 0 / 278.3 MB, free: 11.4 MB / 266.7 MB Notification: Performance of Templates: time 0.007993/0.03072, allocations: 3.114 MB / 281.4 MB, free: 8.336 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.477306985063478]