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.00144/0.00144, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001882/0.001882, allocations: 161 kB / 24.55 MB, free: 16 kB / 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.079/1.079, allocations: 177.1 MB / 205 MB, free: 5.227 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 2.174e-06/2.174e-06, allocations: 0 / 273 MB, free: 1.375 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.115e-05/3.332e-05, allocations: 2.312 kB / 273 MB, free: 1.371 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.007574/0.007607, allocations: 2.06 MB / 275 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003494/0.0111, allocations: 1.231 MB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.01131, allocations: 7.938 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008196/0.01213, allocations: 159.3 kB / 276.4 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006407/0.01277, allocations: 167.2 kB / 276.6 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009632/0.01374, allocations: 215.2 kB / 276.8 MB, free: 13.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.01426, allocations: 227.3 kB / 277 MB, free: 13.29 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001961/0.01446, allocations: 36.5 kB / 277.1 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003042/0.01476, allocations: 123.7 kB / 277.2 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000219/0.01498, allocations: 87.75 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.01503, allocations: 12 kB / 277.3 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.01526, allocations: 67.83 kB / 277.3 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.01538, allocations: 59.77 kB / 277.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.969e-05/0.01548, allocations: 47.84 kB / 277.4 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005378/0.01601, allocations: 199.2 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.01602, allocations: 4 kB / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.01602, allocations: 0 / 277.6 MB, free: 12.67 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.075e-06/0.01603, allocations: 0 / 277.6 MB, free: 12.67 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.001021/0.01705, allocations: 0.579 MB / 278.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/0.01711, allocations: 8.031 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001232/0.01724, allocations: 40.73 kB / 278.3 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005043/0.01774, allocations: 244.3 kB / 278.5 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.257e-05/0.01778, allocations: 16.38 kB / 278.5 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.01782, allocations: 12.38 kB / 278.5 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000686/0.0185, allocations: 271.5 kB / 278.8 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.468e-05/0.01853, allocations: 15.86 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.189e-05/0.01855, allocations: 4 kB / 278.8 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.507e-05/0.01856, allocations: 7.984 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01868, allocations: 27.98 kB / 278.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005867/0.01926, allocations: 370.9 kB / 279.2 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002866/0.01955, allocations: 157.4 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.01966, allocations: 67.03 kB / 279.4 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.435e-05/0.01969, allocations: 16 kB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001475/0.01984, allocations: 68.98 kB / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 2.675e-06/0.01984, allocations: 0 / 279.5 MB, free: 10.59 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004377/0.02028, allocations: 193.4 kB / 279.7 MB, free: 10.39 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.63e-05/0.02037, allocations: 118.8 kB / 279.8 MB, free: 10.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.02066, allocations: 296.3 kB / 280.1 MB, free: 9.945 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.012e-05/0.02069, allocations: 33.7 kB / 280.1 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.0208, allocations: 167.3 kB / 280.3 MB, free: 9.738 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.02083, allocations: 27.78 kB / 280.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.0209, allocations: 47.36 kB / 280.4 MB, free: 9.656 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001639/0.02107, allocations: 0.504 MB / 280.9 MB, free: 9.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.537e-05/0.02111, allocations: 19.94 kB / 280.9 MB, free: 9.121 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.431e-05/0.02121, allocations: 115.3 kB / 281 MB, free: 8.977 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.02132, allocations: 90 kB / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.02133, allocations: 0 / 281.1 MB, free: 8.863 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002283/0.02156, allocations: 133.4 kB / 281.2 MB, free: 8.727 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.02157, allocations: 4 kB / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02158, allocations: 0 / 281.2 MB, free: 8.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.0216, allocations: 4 kB / 281.2 MB, free: 8.719 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.0217, allocations: 20.23 kB / 281.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.02171, allocations: 0 / 281.3 MB, free: 8.699 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.375e-05/0.02179, allocations: 15.94 kB / 281.3 MB, free: 8.684 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.294e-05/0.0218, allocations: 8 kB / 281.3 MB, free: 8.676 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.0001377/0.02194, allocations: 184.5 kB / 281.5 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001788/0.02211, allocations: 117.5 kB / 281.6 MB, free: 8.363 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002105/0.02233, allocations: 99.84 kB / 281.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.02233, allocations: 0 / 281.7 MB, free: 8.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-06/0.02234, allocations: 4 kB / 281.7 MB, free: 8.258 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.02235, allocations: 3.984 kB / 281.7 MB, free: 8.254 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002094/0.02256, allocations: 192.4 kB / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.02256, allocations: 0 / 281.9 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.979e-05/0.02261, allocations: 11.94 kB / 281.9 MB, free: 8.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.02261, allocations: 7.969 kB / 281.9 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/0.02263, allocations: 8 kB / 281.9 MB, free: 8.004 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.02263, allocations: 4 kB / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.02264, allocations: 0 / 281.9 MB, free: 8 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.02296, allocations: 239.4 kB / 282.1 MB, free: 7.734 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.554e-05/0.02304, allocations: 31.84 kB / 282.2 MB, free: 7.703 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.02308, allocations: 11.98 kB / 282.2 MB, free: 7.691 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.973e-05/0.02315, allocations: 4 kB / 282.2 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.548e-05/0.0232, allocations: 7.984 kB / 282.2 MB, free: 7.68 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.383e-05/0.02322, allocations: 12 kB / 282.2 MB, free: 7.668 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.0234, allocations: 205.1 kB / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.0234, allocations: 0 / 282.4 MB, free: 7.469 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003148/0.02372, allocations: 43.88 kB / 282.5 MB, free: 7.426 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.001199/0.02491, allocations: 427.6 kB / 282.9 MB, free: 7.141 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002398/0.02515, allocations: 83.58 kB / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.02516, allocations: 0 / 283 MB, free: 7.055 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.641e-05/0.02521, allocations: 23.62 kB / 283 MB, free: 7.027 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005074/0.02572, allocations: 120.4 kB / 283.1 MB, free: 6.918 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007266/0.02645, allocations: 378.9 kB / 283.5 MB, free: 6.512 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.869e-05/0.02653, allocations: 92.3 kB / 283.6 MB, free: 6.402 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.365e-05/0.02661, allocations: 30.62 kB / 283.6 MB, free: 6.371 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.663e-05/0.02668, allocations: 28.44 kB / 283.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of SimCode: time 8.62e-07/0.02668, allocations: 0 / 283.6 MB, free: 6.344 MB / 266.7 MB Notification: Performance of Templates: time 0.007605/0.03428, allocations: 3.137 MB / 286.7 MB, free: 3.246 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: 3.298110988922417]