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.001451/0.001451, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 14.72 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.001741/0.001741, allocations: 185 kB / 23.7 MB, free: 4.191 MB / 14.72 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.46/1.46, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 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 0.001669/0.001669, allocations: 51.92 kB / 370.9 MB, free: 9.203 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3359, allocations: 52.19 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003711/0.3396, allocations: 1.957 MB / 425 MB, free: 12.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.3418, allocations: 1.06 MB / 426.1 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000161/0.3419, allocations: 7.938 kB / 426.1 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007337/0.3427, allocations: 161.9 kB / 426.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003858/0.343, allocations: 123.4 kB / 426.4 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008175/0.3439, allocations: 245.3 kB / 426.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003675/0.3442, allocations: 219.4 kB / 426.8 MB, free: 10.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3444, allocations: 40.36 kB / 426.9 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.3446, allocations: 95.56 kB / 427 MB, free: 10.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000173/0.3447, allocations: 91.53 kB / 427 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.3448, allocations: 16 kB / 427.1 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001839/0.345, allocations: 55.95 kB / 427.1 MB, free: 10.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.74e-05/0.3451, allocations: 51.83 kB / 427.2 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001066/0.3452, allocations: 75.47 kB / 427.2 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004251/0.3456, allocations: 257.4 kB / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.3456, allocations: 0 / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.604e-06/0.3456, allocations: 0 / 427.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.205e-05/0.3456, allocations: 0 / 427.5 MB, free: 10.04 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.001023/0.3466, allocations: 0.4898 MB / 428 MB, free: 9.516 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.3467, allocations: 8.031 kB / 428 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.864e-05/0.3468, allocations: 24.8 kB / 428 MB, free: 9.484 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.3473, allocations: 233 kB / 428.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.328e-05/0.3473, allocations: 8.375 kB / 428.2 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.3473, allocations: 16.12 kB / 428.3 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.3479, allocations: 293.1 kB / 428.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.348, allocations: 0 / 428.5 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/0.348, allocations: 4 kB / 428.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.864e-06/0.348, allocations: 7.938 kB / 428.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001883/0.3482, allocations: 59.97 kB / 428.6 MB, free: 8.836 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005972/0.3488, allocations: 318 kB / 428.9 MB, free: 8.488 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.3492, allocations: 168 kB / 429.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.3493, allocations: 78.55 kB / 429.2 MB, free: 8.211 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.442e-05/0.3493, allocations: 7.938 kB / 429.2 MB, free: 8.203 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.3495, allocations: 71.39 kB / 429.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.904e-06/0.3495, allocations: 0 / 429.2 MB, free: 8.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005806/0.3501, allocations: 237.3 kB / 429.5 MB, free: 7.883 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/0.3502, allocations: 114.8 kB / 429.6 MB, free: 7.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003367/0.3505, allocations: 268.9 kB / 429.9 MB, free: 7.473 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.179e-05/0.3506, allocations: 33.7 kB / 429.9 MB, free: 7.434 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.3507, allocations: 120.7 kB / 430 MB, free: 7.312 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.076e-05/0.3507, allocations: 31.83 kB / 430 MB, free: 7.281 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.472e-05/0.3508, allocations: 57.83 kB / 430.1 MB, free: 7.219 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001876/0.351, allocations: 342.8 kB / 430.4 MB, free: 6.875 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.168e-05/0.3511, allocations: 36.45 kB / 430.5 MB, free: 6.84 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002201/0.3513, allocations: 184.1 kB / 430.6 MB, free: 6.598 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.3516, allocations: 203.2 kB / 430.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3516, allocations: 0 / 430.8 MB, free: 6.344 MB / 334.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003793/0.352, allocations: 229.4 kB / 431.1 MB, free: 6.113 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.352, allocations: 8.531 kB / 431.1 MB, free: 6.105 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.924e-06/0.352, allocations: 4 kB / 431.1 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.914e-05/0.352, allocations: 11.98 kB / 431.1 MB, free: 6.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.3521, allocations: 27.94 kB / 431.1 MB, free: 6.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.584e-05/0.3522, allocations: 11.92 kB / 431.1 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3523, allocations: 19.89 kB / 431.1 MB, free: 6.031 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.3523, allocations: 12.38 kB / 431.2 MB, free: 6.02 MB / 334.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.0001563/0.3524, allocations: 167.8 kB / 431.3 MB, free: 5.848 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001987/0.3526, allocations: 125.4 kB / 431.4 MB, free: 5.719 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002585/0.3529, allocations: 119.4 kB / 431.6 MB, free: 5.594 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3529, allocations: 7.938 kB / 431.6 MB, free: 5.586 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.3529, allocations: 4 kB / 431.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.3529, allocations: 0 / 431.6 MB, free: 5.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001846/0.3531, allocations: 177.1 kB / 431.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3531, allocations: 0 / 431.7 MB, free: 5.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.555e-05/0.3531, allocations: 8 kB / 431.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3532, allocations: 0 / 431.8 MB, free: 5.371 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.672e-05/0.3532, allocations: 8 kB / 431.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.3532, allocations: 3.984 kB / 431.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3532, allocations: 0 / 431.8 MB, free: 5.359 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003923/0.3536, allocations: 238.9 kB / 432 MB, free: 5.102 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.3537, allocations: 43.77 kB / 432 MB, free: 5.059 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.838e-05/0.3537, allocations: 8 kB / 432.1 MB, free: 5.051 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.357e-05/0.3538, allocations: 8 kB / 432.1 MB, free: 5.043 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.749e-05/0.3538, allocations: 3.984 kB / 432.1 MB, free: 5.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.939e-05/0.3538, allocations: 8 kB / 432.1 MB, free: 5.031 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002712/0.3541, allocations: 200.5 kB / 432.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3541, allocations: 0 / 432.3 MB, free: 4.836 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003137/0.3544, allocations: 43.94 kB / 432.3 MB, free: 4.793 MB / 334.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.00174/0.3562, allocations: 476.3 kB / 432.8 MB, free: 4.508 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003408/0.3565, allocations: 139.7 kB / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3565, allocations: 0 / 432.9 MB, free: 4.371 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.3566, allocations: 29 kB / 432.9 MB, free: 4.344 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005009/0.3571, allocations: 104.3 kB / 433 MB, free: 4.242 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000754/0.3578, allocations: 401.3 kB / 433.4 MB, free: 3.82 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001648/0.358, allocations: 144.7 kB / 433.6 MB, free: 3.652 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.849e-05/0.3581, allocations: 30.69 kB / 433.6 MB, free: 3.621 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.623e-05/0.3582, allocations: 27.42 kB / 433.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3582, allocations: 0 / 433.6 MB, free: 3.594 MB / 334.1 MB Notification: Performance of Templates: time 0.007864/0.366, allocations: 3.333 MB / 437 MB, free: 320 kB / 334.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] 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.684406518936157]