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.0007684/0.0007684, allocations: 84 kB / 21.43 MB, free: 3.129 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.003221/0.003221, allocations: 149.4 kB / 24.68 MB, free: 9.422 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.814/0.814, allocations: 173.4 MB / 201.2 MB, free: 9.445 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.453e-06/1.453e-06, allocations: 3.938 kB / 319.7 MB, free: 5.844 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.245e-05, allocations: 6.281 kB / 319.7 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.002237/0.002259, allocations: 1.953 MB / 321.6 MB, free: 3.867 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.003503, allocations: 1.059 MB / 322.7 MB, free: 2.801 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001047/0.003608, allocations: 7.938 kB / 322.7 MB, free: 2.793 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005064/0.004114, allocations: 167.2 kB / 322.9 MB, free: 2.629 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002129/0.004327, allocations: 115.5 kB / 323 MB, free: 2.516 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.004741, allocations: 258.1 kB / 323.2 MB, free: 2.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002002/0.004942, allocations: 219.4 kB / 323.4 MB, free: 2.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.005049, allocations: 40.5 kB / 323.5 MB, free: 2.012 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001195/0.005168, allocations: 123.6 kB / 323.6 MB, free: 1.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.755e-05/0.005266, allocations: 83.77 kB / 323.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.005288, allocations: 12 kB / 323.7 MB, free: 1.797 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001014/0.005389, allocations: 59.84 kB / 323.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.00545, allocations: 59.81 kB / 323.8 MB, free: 1.68 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.419e-05/0.005505, allocations: 55.78 kB / 323.9 MB, free: 1.625 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000264/0.005769, allocations: 259.1 kB / 324.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.005771, allocations: 0 / 324.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.005773, allocations: 0 / 324.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.005777, allocations: 0 / 324.1 MB, free: 1.371 MB / 282.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.0008087/0.006586, allocations: 486.5 kB / 324.6 MB, free: 0.8594 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.633e-05/0.006622, allocations: 12.03 kB / 324.6 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.194e-05/0.006674, allocations: 24.8 kB / 324.6 MB, free: 0.8242 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002478/0.006922, allocations: 216.8 kB / 324.8 MB, free: 0.582 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.00694, allocations: 16.31 kB / 324.9 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.606e-05/0.006956, allocations: 12.38 kB / 324.9 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.007324, allocations: 292 kB / 325.2 MB, free: 256 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.007336, allocations: 11.88 kB / 325.2 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.218e-05/0.007348, allocations: 4 kB / 325.2 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.007353, allocations: 4 kB / 325.2 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.007457, allocations: 59.97 kB / 325.2 MB, free: 176 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.007804, allocations: 302 kB / 325.5 MB, free: 15.84 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.008002, allocations: 164 kB / 325.7 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.183e-05/0.008084, allocations: 90.53 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.008106, allocations: 4 kB / 325.8 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001155/0.008221, allocations: 79.34 kB / 325.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of pre-optimization done (n=22): time 1.363e-06/0.008222, allocations: 0 / 325.9 MB, free: 15.46 MB / 298.7 MB Notification: Performance of matching and sorting (n=22): time 0.0003259/0.008548, allocations: 237.6 kB / 326.1 MB, free: 15.22 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.008615, allocations: 118.8 kB / 326.2 MB, free: 15.08 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001778/0.008793, allocations: 277.6 kB / 326.5 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.343e-05/0.008806, allocations: 29.7 kB / 326.5 MB, free: 14.77 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.356e-05/0.00886, allocations: 112.6 kB / 326.6 MB, free: 14.66 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.008886, allocations: 39.77 kB / 326.7 MB, free: 14.62 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.062e-05/0.008927, allocations: 41.66 kB / 326.7 MB, free: 14.57 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.009006, allocations: 330.8 kB / 327 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.009048, allocations: 27.98 kB / 327 MB, free: 14.21 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.887e-05/0.009117, allocations: 107.6 kB / 327.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.009217, allocations: 105.3 kB / 327.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.009219, allocations: 0 / 327.3 MB, free: 13.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001418/0.009361, allocations: 141.4 kB / 327.4 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.009376, allocations: 8 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.009381, allocations: 0 / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.009393, allocations: 4 kB / 327.4 MB, free: 13.8 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.99e-05/0.009453, allocations: 23.92 kB / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.009458, allocations: 0 / 327.4 MB, free: 13.78 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.113e-05/0.009499, allocations: 12.11 kB / 327.4 MB, free: 13.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.009507, allocations: 4 kB / 327.4 MB, free: 13.76 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.666e-05/0.009604, allocations: 153.7 kB / 327.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.009714, allocations: 129.4 kB / 327.7 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.009861, allocations: 115.4 kB / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.009865, allocations: 4 kB / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.009868, allocations: 0 / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.706e-06/0.009872, allocations: 0 / 327.8 MB, free: 13.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001139/0.009986, allocations: 185.1 kB / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.009988, allocations: 0 / 328 MB, free: 13.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.301e-05/0.01001, allocations: 15.94 kB / 328 MB, free: 13.12 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01002, allocations: 7.984 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01003, allocations: 4 kB / 328 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.01003, allocations: 7.984 kB / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.01003, allocations: 0 / 328.1 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/0.01022, allocations: 229.4 kB / 328.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.553e-05/0.01028, allocations: 51.7 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.155e-05/0.0103, allocations: 4.062 kB / 328.3 MB, free: 12.8 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.861e-05/0.01034, allocations: 12 kB / 328.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.26e-05/0.01037, allocations: 7.984 kB / 328.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.01039, allocations: 19.94 kB / 328.4 MB, free: 12.76 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001223/0.01051, allocations: 197.2 kB / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01051, allocations: 0 / 328.6 MB, free: 12.57 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001785/0.01069, allocations: 36 kB / 328.6 MB, free: 12.53 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.0006946/0.01139, allocations: 444.8 kB / 329 MB, free: 12.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001823/0.01157, allocations: 119.9 kB / 329.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.01157, allocations: 4.062 kB / 329.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.215e-05/0.01161, allocations: 31.92 kB / 329.2 MB, free: 12.12 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.01191, allocations: 112.8 kB / 329.3 MB, free: 12.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004717/0.01238, allocations: 418.9 kB / 329.7 MB, free: 11.57 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.657e-05/0.01248, allocations: 144.8 kB / 329.8 MB, free: 11.4 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.01252, allocations: 28.48 kB / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of SimCode: time 5.92e-07/0.01252, allocations: 0 / 329.9 MB, free: 11.38 MB / 298.7 MB Notification: Performance of Templates: time 0.003663/0.01618, allocations: 3.194 MB / 333.1 MB, free: 8.195 MB / 298.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=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.351553843356669]