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.001718/0.001718, allocations: 107 kB / 21.18 MB, free: 0.6484 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.002275/0.002275, allocations: 215.4 kB / 24.48 MB, free: 3.941 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 2.357/2.357, allocations: 230.6 MB / 258.2 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 177] 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.00186/0.00186, allocations: 47.92 kB / 379 MB, free: 2.465 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3993/0.4012, allocations: 53.35 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.005562/0.4067, allocations: 1.985 MB / 434.3 MB, free: 4.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003661/0.4104, allocations: 1.195 MB / 435.5 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000227/0.4106, allocations: 11.88 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009539/0.4116, allocations: 163.1 kB / 435.7 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007133/0.4123, allocations: 167.3 kB / 435.8 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009275/0.4132, allocations: 207.4 kB / 436 MB, free: 2.996 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004299/0.4137, allocations: 231.4 kB / 436.3 MB, free: 2.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001678/0.4138, allocations: 36.38 kB / 436.3 MB, free: 2.734 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.414, allocations: 103.6 kB / 436.4 MB, free: 2.633 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002046/0.4142, allocations: 99.53 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.4143, allocations: 12 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002413/0.4145, allocations: 67.95 kB / 436.6 MB, free: 2.457 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001219/0.4146, allocations: 59.77 kB / 436.6 MB, free: 2.398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.4148, allocations: 67.53 kB / 436.7 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001856/0.4166, allocations: 261.7 kB / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.4166, allocations: 0 / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4166, allocations: 0 / 437 MB, free: 2.082 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.4166, allocations: 3.938 kB / 437 MB, free: 2.078 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.004698/0.4213, allocations: 498.5 kB / 437.4 MB, free: 1.555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.119e-05/0.4214, allocations: 11.97 kB / 437.5 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001301/0.4215, allocations: 32.8 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006227/0.4221, allocations: 225.1 kB / 437.7 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.529e-05/0.4222, allocations: 16.36 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.472e-05/0.4222, allocations: 16.12 kB / 437.7 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007636/0.423, allocations: 291.2 kB / 438 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.423, allocations: 0 / 438 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.353e-05/0.423, allocations: 4 kB / 438 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.423, allocations: 4 kB / 438 MB, free: 0.9258 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002333/0.4232, allocations: 71.89 kB / 438.1 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006297/0.4239, allocations: 310 kB / 438.4 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004384/0.4243, allocations: 167.9 kB / 438.6 MB, free: 332 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.4245, allocations: 78.55 kB / 438.6 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.4246, allocations: 4 kB / 438.6 MB, free: 240 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.4248, allocations: 75.38 kB / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 2.245e-06/0.4248, allocations: 0 / 438.7 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007311/0.4255, allocations: 233.6 kB / 439 MB, free: 15.91 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/0.4256, allocations: 126.7 kB / 439.1 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004253/0.426, allocations: 281 kB / 439.3 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.4261, allocations: 33.7 kB / 439.4 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001191/0.4262, allocations: 124.5 kB / 439.5 MB, free: 15.31 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.4263, allocations: 27.84 kB / 439.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001075/0.4264, allocations: 53.92 kB / 439.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002388/0.4266, allocations: 338.6 kB / 439.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.4267, allocations: 40.44 kB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000288/0.427, allocations: 186.9 kB / 440.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/0.4274, allocations: 211.2 kB / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.4274, allocations: 0 / 440.3 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005114/0.4279, allocations: 225.5 kB / 440.6 MB, free: 14.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4279, allocations: 8 kB / 440.6 MB, free: 14.11 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.428, allocations: 8.062 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.428, allocations: 4 kB / 440.6 MB, free: 14.1 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00011/0.4281, allocations: 27.86 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.4281, allocations: 11.98 kB / 440.6 MB, free: 14.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.4282, allocations: 16.33 kB / 440.6 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.4282, allocations: 23.94 kB / 440.7 MB, free: 14.02 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.0001667/0.4284, allocations: 163.8 kB / 440.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002078/0.4286, allocations: 129.4 kB / 440.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.4289, allocations: 127.7 kB / 441.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.4289, allocations: 4 kB / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4289, allocations: 0 / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4289, allocations: 0 / 441.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.4291, allocations: 173.2 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.4291, allocations: 4 kB / 441.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.612e-05/0.4292, allocations: 16.41 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.4292, allocations: 0 / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.321e-05/0.4292, allocations: 11.98 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4292, allocations: 80 / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4292, allocations: 3.984 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.4296, allocations: 242 kB / 441.5 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.475e-05/0.4297, allocations: 43.77 kB / 441.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.84e-05/0.4297, allocations: 8 kB / 441.6 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.4298, allocations: 8 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.622e-05/0.4298, allocations: 3.984 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.4298, allocations: 12 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000216/0.4301, allocations: 212.4 kB / 441.8 MB, free: 12.81 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4301, allocations: 3.938 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003052/0.4304, allocations: 43.92 kB / 441.8 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 (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.00184/0.4322, allocations: 453.5 kB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004241/0.4326, allocations: 147.9 kB / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4326, allocations: 0 / 442.4 MB, free: 12.35 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.782e-05/0.4327, allocations: 27.98 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.4334, allocations: 121.8 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009019/0.4343, allocations: 401.3 kB / 443 MB, free: 11.79 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4345, allocations: 146.2 kB / 443.1 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001018/0.4346, allocations: 34.66 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.062e-05/0.4346, allocations: 27.42 kB / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4346, allocations: 0 / 443.2 MB, free: 11.56 MB / 350.1 MB Notification: Performance of Templates: time 0.009887/0.4445, allocations: 3.36 MB / 446.5 MB, free: 8.246 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 -s cvode -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: 6.9467080920003355]