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.00135/0.00135, allocations: 82.28 kB / 22.21 MB, free: 2.301 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.00126/0.00126, allocations: 145.2 kB / 25.59 MB, free: 8.953 MB / 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 0.9016/0.9016, allocations: 173.4 MB / 202.2 MB, free: 8.301 MB / 186.7 MB " [Timeout remaining time 179] 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.704e-06/1.704e-06, allocations: 0 / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.31e-05/2.481e-05, allocations: 2.844 kB / 269.2 MB, free: 9.785 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002608/0.002633, allocations: 2.02 MB / 271.2 MB, free: 7.762 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.00401, allocations: 1.068 MB / 272.3 MB, free: 6.688 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001325/0.004142, allocations: 7.938 kB / 272.3 MB, free: 6.68 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005201/0.004662, allocations: 156.7 kB / 272.4 MB, free: 6.527 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002523/0.004915, allocations: 124.9 kB / 272.6 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005241/0.005439, allocations: 244.2 kB / 272.8 MB, free: 6.168 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002441/0.005683, allocations: 227.3 kB / 273 MB, free: 5.945 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005786, allocations: 37.11 kB / 273.1 MB, free: 5.906 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001436/0.00593, allocations: 123.6 kB / 273.2 MB, free: 5.785 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.006042, allocations: 73.72 kB / 273.3 MB, free: 5.715 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.377e-05/0.006066, allocations: 12 kB / 273.3 MB, free: 5.703 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001231/0.006189, allocations: 67.89 kB / 273.3 MB, free: 5.637 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.68e-05/0.006255, allocations: 55.77 kB / 273.4 MB, free: 5.582 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.372e-05/0.006309, allocations: 51.83 kB / 273.4 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.006562, allocations: 192.6 kB / 273.6 MB, free: 5.344 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.006564, allocations: 0 / 273.6 MB, free: 5.344 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.006565, allocations: 0 / 273.6 MB, free: 5.344 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.006569, allocations: 4.625 kB / 273.6 MB, free: 5.34 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.0005289/0.007098, allocations: 0.5756 MB / 274.2 MB, free: 4.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.00713, allocations: 12.03 kB / 274.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.728e-05/0.007188, allocations: 30.05 kB / 274.2 MB, free: 4.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.007444, allocations: 241.4 kB / 274.5 MB, free: 4.422 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.007465, allocations: 16.3 kB / 274.5 MB, free: 4.406 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.786e-05/0.007483, allocations: 13.94 kB / 274.5 MB, free: 4.395 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003081/0.007791, allocations: 248.7 kB / 274.8 MB, free: 4.125 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.007803, allocations: 3.938 kB / 274.8 MB, free: 4.121 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.007815, allocations: 4 kB / 274.8 MB, free: 4.117 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.007822, allocations: 4 kB / 274.8 MB, free: 4.113 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.937e-05/0.007881, allocations: 39.83 kB / 274.8 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.008213, allocations: 331.6 kB / 275.1 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.008372, allocations: 149.3 kB / 275.3 MB, free: 3.531 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.704e-05/0.008429, allocations: 75.08 kB / 275.3 MB, free: 3.445 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.767e-05/0.008446, allocations: 4 kB / 275.3 MB, free: 3.441 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.719e-05/0.008534, allocations: 65.05 kB / 275.4 MB, free: 3.363 MB / 250.7 MB Notification: Performance of pre-optimization done (n=22): time 1.403e-06/0.008535, allocations: 0 / 275.4 MB, free: 3.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=22): time 0.0002523/0.008787, allocations: 177.3 kB / 275.6 MB, free: 3.184 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.887e-05/0.008846, allocations: 122.8 kB / 275.7 MB, free: 3.039 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001585/0.009005, allocations: 284.2 kB / 276 MB, free: 2.746 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.564e-05/0.00902, allocations: 33.7 kB / 276 MB, free: 2.707 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.936e-05/0.00909, allocations: 167.3 kB / 276.2 MB, free: 2.535 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.009115, allocations: 31.77 kB / 276.2 MB, free: 2.504 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.442e-05/0.009159, allocations: 47.3 kB / 276.3 MB, free: 2.449 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.009275, allocations: 0.5001 MB / 276.8 MB, free: 1.938 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.954e-05/0.009294, allocations: 15.98 kB / 276.8 MB, free: 1.922 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.056e-05/0.009355, allocations: 106.7 kB / 276.9 MB, free: 1.785 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.706e-05/0.009422, allocations: 90.33 kB / 277 MB, free: 1.672 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.009424, allocations: 0 / 277 MB, free: 1.672 MB / 250.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001267/0.009551, allocations: 129.3 kB / 277.1 MB, free: 1.539 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.009563, allocations: 4 kB / 277.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009567, allocations: 0 / 277.1 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.009579, allocations: 4 kB / 277.1 MB, free: 1.531 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.009635, allocations: 12 kB / 277.1 MB, free: 1.52 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.697e-06/0.009639, allocations: 8.141 kB / 277.1 MB, free: 1.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.483e-05/0.009684, allocations: 11.89 kB / 277.1 MB, free: 1.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.055e-05/0.009694, allocations: 8 kB / 277.1 MB, free: 1.492 MB / 250.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 9.158e-05/0.009786, allocations: 176.5 kB / 277.3 MB, free: 1.309 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.009889, allocations: 117.7 kB / 277.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.01001, allocations: 99.44 kB / 277.5 MB, free: 1.082 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.436e-06/0.01001, allocations: 4 kB / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.723e-06/0.01001, allocations: 0 / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01002, allocations: 0 / 277.5 MB, free: 1.078 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.01014, allocations: 161.1 kB / 277.7 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.01014, allocations: 4 kB / 277.7 MB, free: 0.8906 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.484e-05/0.01017, allocations: 4 kB / 277.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.01017, allocations: 7.938 kB / 277.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.689e-06/0.01018, allocations: 7.984 kB / 277.7 MB, free: 0.8711 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01018, allocations: 4 kB / 277.7 MB, free: 0.8672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.01018, allocations: 3.938 kB / 277.7 MB, free: 0.8633 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.01029, allocations: 135.7 kB / 277.8 MB, free: 0.6992 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.646e-05/0.01035, allocations: 39.78 kB / 277.9 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.01037, allocations: 15.92 kB / 277.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.333e-05/0.01042, allocations: 11.98 kB / 277.9 MB, free: 0.6328 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.687e-05/0.01044, allocations: 8.062 kB / 277.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.603e-05/0.01046, allocations: 15.98 kB / 277.9 MB, free: 0.6094 MB / 250.7 MB Notification: Performance of sorting global known variables: time 9.1e-05/0.01055, allocations: 193.1 kB / 278.1 MB, free: 432 kB / 250.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01055, allocations: 0 / 278.1 MB, free: 432 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002002/0.01075, allocations: 32 kB / 278.2 MB, free: 400 kB / 250.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.0009312/0.01168, allocations: 412.2 kB / 278.6 MB, free: 128 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.01182, allocations: 67.53 kB / 278.6 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01183, allocations: 0 / 278.6 MB, free: 56 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 3.555e-05/0.01186, allocations: 35.66 kB / 278.7 MB, free: 16 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.01218, allocations: 111.7 kB / 278.8 MB, free: 15.91 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004293/0.01261, allocations: 370.8 kB / 279.1 MB, free: 15.51 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.098e-05/0.01266, allocations: 92.31 kB / 279.2 MB, free: 15.4 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.801e-05/0.01271, allocations: 21.94 kB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.937e-05/0.01281, allocations: 110.2 kB / 279.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01281, allocations: 0 / 279.4 MB, free: 15.27 MB / 266.7 MB Notification: Performance of Templates: time 0.005422/0.01823, allocations: 3.44 MB / 282.8 MB, free: 11.88 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","",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.7940002661198378]