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.001336/0.001336, allocations: 107.6 kB / 21.18 MB, free: 0.6758 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.001467/0.001467, allocations: 209.6 kB / 24.48 MB, free: 3.973 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 1.606/1.606, allocations: 230.6 MB / 258.3 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.001588/0.001588, allocations: 47.91 kB / 379 MB, free: 2.559 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2467/0.2483, allocations: 53.37 MB / 432.3 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003634/0.2519, allocations: 1.981 MB / 434.3 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002188/0.2541, allocations: 1.2 MB / 435.5 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001428/0.2543, allocations: 3.938 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006074/0.2549, allocations: 163.5 kB / 435.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004175/0.2553, allocations: 171.3 kB / 435.8 MB, free: 3.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006059/0.2559, allocations: 214.4 kB / 436 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002817/0.2562, allocations: 227.4 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.2563, allocations: 32.58 kB / 436.3 MB, free: 2.715 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000153/0.2565, allocations: 95.62 kB / 436.4 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001465/0.2566, allocations: 99.53 kB / 436.5 MB, free: 2.523 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.367e-05/0.2566, allocations: 16 kB / 436.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001531/0.2568, allocations: 75.89 kB / 436.6 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.2569, allocations: 51.83 kB / 436.6 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.539e-05/0.257, allocations: 67.53 kB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003875/0.2573, allocations: 272.5 kB / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2574, allocations: 0 / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2574, allocations: 0 / 437 MB, free: 2.059 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.2574, allocations: 0 / 437 MB, free: 2.059 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.0008619/0.2582, allocations: 486.6 kB / 437.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.2583, allocations: 11.97 kB / 437.5 MB, free: 1.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.39e-05/0.2583, allocations: 36.69 kB / 437.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.2587, allocations: 229.1 kB / 437.7 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/0.2587, allocations: 8.375 kB / 437.7 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.2588, allocations: 20.11 kB / 437.7 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005431/0.2593, allocations: 299.2 kB / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2593, allocations: 0 / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.2593, allocations: 0 / 438 MB, free: 0.9141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.2593, allocations: 4 kB / 438 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001504/0.2595, allocations: 63.91 kB / 438.1 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000491/0.26, allocations: 314 kB / 438.4 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003332/0.2603, allocations: 168 kB / 438.6 MB, free: 320 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001428/0.2605, allocations: 78.55 kB / 438.6 MB, free: 232 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.2605, allocations: 8 kB / 438.7 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.2607, allocations: 79.31 kB / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.2607, allocations: 0 / 438.7 MB, free: 132 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0005218/0.2612, allocations: 233.6 kB / 439 MB, free: 15.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/0.2613, allocations: 118.8 kB / 439.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003125/0.2616, allocations: 285 kB / 439.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.2616, allocations: 29.7 kB / 439.4 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.256e-05/0.2617, allocations: 120.6 kB / 439.5 MB, free: 15.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.02e-05/0.2617, allocations: 35.73 kB / 439.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.151e-05/0.2618, allocations: 53.94 kB / 439.6 MB, free: 15.21 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002386/0.2621, allocations: 338.6 kB / 439.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.715e-05/0.2621, allocations: 44.44 kB / 440 MB, free: 14.83 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.2623, allocations: 190.9 kB / 440.1 MB, free: 14.58 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.2626, allocations: 203.2 kB / 440.3 MB, free: 14.33 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2626, allocations: 4.375 kB / 440.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003747/0.263, allocations: 229.6 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.263, allocations: 4 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.263, allocations: 4 kB / 440.6 MB, free: 14.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.263, allocations: 11.94 kB / 440.6 MB, free: 14.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2631, allocations: 23.92 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.2631, allocations: 4 kB / 440.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001113/0.2633, allocations: 23.88 kB / 440.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.2633, allocations: 15.94 kB / 440.7 MB, free: 14.01 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.00017/0.2634, allocations: 172.2 kB / 440.8 MB, free: 13.83 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002023/0.2636, allocations: 141.4 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.2639, allocations: 111.4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.506e-06/0.2639, allocations: 4 kB / 441.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.2639, allocations: 4 kB / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.2639, allocations: 0 / 441.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.2641, allocations: 177.2 kB / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2641, allocations: 0 / 441.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.2642, allocations: 11.94 kB / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2642, allocations: 0 / 441.3 MB, free: 13.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2642, allocations: 8 kB / 441.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.656e-06/0.2642, allocations: 7.984 kB / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2642, allocations: 4 kB / 441.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/0.2645, allocations: 234.3 kB / 441.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.74e-05/0.2646, allocations: 43.77 kB / 441.6 MB, free: 13.03 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.741e-05/0.2647, allocations: 8 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.03e-05/0.2647, allocations: 8 kB / 441.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2648, allocations: 7.984 kB / 441.6 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.2648, allocations: 4 kB / 441.6 MB, free: 13 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000214/0.265, allocations: 204.5 kB / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.265, allocations: 0 / 441.8 MB, free: 12.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003056/0.2653, allocations: 55.86 kB / 441.8 MB, free: 12.75 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.001674/0.267, allocations: 463.1 kB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003749/0.2674, allocations: 148.1 kB / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.2674, allocations: 256 / 442.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.347e-05/0.2674, allocations: 31.98 kB / 442.5 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005012/0.2679, allocations: 113.3 kB / 442.6 MB, free: 12.2 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007134/0.2687, allocations: 430.9 kB / 443 MB, free: 11.75 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/0.2688, allocations: 153.4 kB / 443.2 MB, free: 11.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.014e-05/0.2689, allocations: 27.44 kB / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2689, allocations: 0 / 443.2 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Templates: time 0.005708/0.2746, allocations: 3.321 MB / 446.5 MB, free: 8.215 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 -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: 7.684115199022926]