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.0008426/0.0008426, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00365/0.00365, allocations: 163.2 kB / 24.7 MB, free: 8.906 MB / 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 0.8284/0.8284, allocations: 177.1 MB / 205 MB, free: 5.742 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 1.673e-06/1.673e-06, allocations: 0 / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.458e-05/1.625e-05, allocations: 2.281 kB / 325.8 MB, free: 15.45 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002513/0.00253, allocations: 1.993 MB / 327.8 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001394/0.003924, allocations: 1.196 MB / 329 MB, free: 12.24 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.00403, allocations: 3.938 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005061/0.004536, allocations: 167.3 kB / 329.2 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002667/0.004803, allocations: 163.3 kB / 329.3 MB, free: 11.91 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003541/0.005157, allocations: 214.1 kB / 329.6 MB, free: 11.7 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.005365, allocations: 235.3 kB / 329.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005469, allocations: 28.58 kB / 329.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.005596, allocations: 135.6 kB / 329.9 MB, free: 11.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.579e-05/0.005691, allocations: 79.78 kB / 330 MB, free: 11.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.005711, allocations: 16 kB / 330 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.005812, allocations: 67.83 kB / 330.1 MB, free: 11.15 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.972e-05/0.005872, allocations: 55.81 kB / 330.2 MB, free: 11.1 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.005925, allocations: 51.78 kB / 330.2 MB, free: 11.05 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000384/0.006309, allocations: 263.1 kB / 330.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.00631, allocations: 0 / 330.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006311, allocations: 0 / 330.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.006315, allocations: 0 / 330.5 MB, free: 10.79 MB / 298.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.0005422/0.006858, allocations: 494.5 kB / 330.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.324e-05/0.006891, allocations: 16.03 kB / 331 MB, free: 10.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.006941, allocations: 32.73 kB / 331 MB, free: 10.22 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.007192, allocations: 220.8 kB / 331.2 MB, free: 9.984 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.007207, allocations: 8.375 kB / 331.2 MB, free: 9.977 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.007224, allocations: 16.38 kB / 331.2 MB, free: 9.961 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003703/0.007594, allocations: 292.5 kB / 331.5 MB, free: 9.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.007605, allocations: 3.938 kB / 331.5 MB, free: 9.652 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/0.007617, allocations: 4 kB / 331.5 MB, free: 9.648 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.007623, allocations: 4 kB / 331.5 MB, free: 9.645 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.991e-05/0.007723, allocations: 63.91 kB / 331.6 MB, free: 9.582 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003528/0.008076, allocations: 321.9 kB / 331.9 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.008279, allocations: 175.9 kB / 332.1 MB, free: 9.031 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.534e-05/0.008364, allocations: 78.55 kB / 332.2 MB, free: 8.945 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.008387, allocations: 4 kB / 332.2 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001129/0.0085, allocations: 75.33 kB / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.633e-06/0.008502, allocations: 0 / 332.2 MB, free: 8.855 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.000338/0.00884, allocations: 237.6 kB / 332.5 MB, free: 8.617 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.008902, allocations: 118.8 kB / 332.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002014/0.009103, allocations: 285.8 kB / 332.9 MB, free: 8.184 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.499e-05/0.009118, allocations: 29.7 kB / 332.9 MB, free: 8.148 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.659e-05/0.009185, allocations: 120.6 kB / 333 MB, free: 8.027 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.47e-05/0.009209, allocations: 27.8 kB / 333 MB, free: 8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.009254, allocations: 37.7 kB / 333.1 MB, free: 7.957 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.361e-05/0.009338, allocations: 330.8 kB / 333.4 MB, free: 7.625 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.182e-05/0.00938, allocations: 28.05 kB / 333.4 MB, free: 7.598 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.5e-05/0.009455, allocations: 106.1 kB / 333.5 MB, free: 7.469 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.761e-05/0.009552, allocations: 109 kB / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.009555, allocations: 0 / 333.6 MB, free: 7.344 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004385/0.009993, allocations: 145.4 kB / 333.8 MB, free: 7.195 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.01001, allocations: 7.984 kB / 333.8 MB, free: 7.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.01001, allocations: 8.156 kB / 333.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.01002, allocations: 0 / 333.8 MB, free: 7.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.658e-05/0.01008, allocations: 12 kB / 333.8 MB, free: 7.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.01009, allocations: 3.938 kB / 333.8 MB, free: 7.164 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.345e-05/0.01013, allocations: 19.92 kB / 333.8 MB, free: 7.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.01014, allocations: 4 kB / 333.8 MB, free: 7.141 MB / 298.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.413e-05/0.01023, allocations: 153.7 kB / 334 MB, free: 6.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.01035, allocations: 137.8 kB / 334.1 MB, free: 6.84 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001513/0.0105, allocations: 119.4 kB / 334.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.0105, allocations: 4 kB / 334.2 MB, free: 6.715 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01051, allocations: 4 kB / 334.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.558e-06/0.01051, allocations: 0 / 334.2 MB, free: 6.711 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001213/0.01063, allocations: 177.1 kB / 334.4 MB, free: 6.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.01063, allocations: 3.984 kB / 334.4 MB, free: 6.504 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.354e-05/0.01066, allocations: 8 kB / 334.4 MB, free: 6.496 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.484e-06/0.01066, allocations: 7.938 kB / 334.4 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.01067, allocations: 4.062 kB / 334.4 MB, free: 6.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/0.01067, allocations: 11.94 kB / 334.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.01067, allocations: 480 / 334.4 MB, free: 6.473 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002027/0.01088, allocations: 231.5 kB / 334.7 MB, free: 6.223 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.954e-05/0.01094, allocations: 51.78 kB / 334.7 MB, free: 6.172 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.01096, allocations: 3.984 kB / 334.7 MB, free: 6.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.572e-05/0.01099, allocations: 8 kB / 334.7 MB, free: 6.16 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.308e-05/0.01103, allocations: 7.984 kB / 334.7 MB, free: 6.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01104, allocations: 12 kB / 334.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001187/0.01116, allocations: 201.2 kB / 335 MB, free: 5.949 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01116, allocations: 0 / 335 MB, free: 5.949 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001746/0.01134, allocations: 43.92 kB / 335 MB, free: 5.906 MB / 298.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.0007143/0.01205, allocations: 465.8 kB / 335.5 MB, free: 5.629 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001739/0.01223, allocations: 111.8 kB / 335.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.01223, allocations: 0 / 335.6 MB, free: 5.52 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.004e-05/0.01227, allocations: 27.98 kB / 335.6 MB, free: 5.492 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.01256, allocations: 111.6 kB / 335.7 MB, free: 5.391 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/0.01303, allocations: 434.7 kB / 336.1 MB, free: 4.926 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.672e-05/0.01312, allocations: 153.8 kB / 336.3 MB, free: 4.75 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.849e-05/0.01316, allocations: 24.5 kB / 336.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of SimCode: time 4.81e-07/0.01316, allocations: 0 / 336.3 MB, free: 4.723 MB / 298.7 MB Notification: Performance of Templates: time 0.00343/0.01659, allocations: 3.243 MB / 339.5 MB, free: 1.484 MB / 298.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=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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/UpSample/UpSample.csv","/var/lib/jenkins/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: 4.596256638877094]