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.001949/0.001949, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.002531/0.002531, allocations: 161.7 kB / 24.27 MB, free: 172 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.465/1.465, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 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 2.705e-06/2.705e-06, allocations: 0 / 272.3 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.538e-05/3.808e-05, allocations: 2.312 kB / 272.3 MB, free: 1.809 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.003851/0.003889, allocations: 1.998 MB / 274.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002593/0.006482, allocations: 1.195 MB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001535/0.006636, allocations: 7.938 kB / 275.5 MB, free: 14.59 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008216/0.007457, allocations: 163.3 kB / 275.7 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005138/0.007971, allocations: 163.2 kB / 275.8 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007077/0.008679, allocations: 211.2 kB / 276 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003705/0.009049, allocations: 235.3 kB / 276.3 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005639/0.009613, allocations: 28.56 kB / 276.3 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.00989, allocations: 135.6 kB / 276.4 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001675/0.01006, allocations: 79.77 kB / 276.5 MB, free: 13.59 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.322e-05/0.0101, allocations: 20 kB / 276.5 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001948/0.0103, allocations: 67.88 kB / 276.6 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.922e-05/0.01039, allocations: 55.77 kB / 276.7 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.63e-05/0.01049, allocations: 47.84 kB / 276.7 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.01097, allocations: 259.1 kB / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.01097, allocations: 0 / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.01097, allocations: 0 / 277 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.913e-06/0.01098, allocations: 3.938 kB / 277 MB, free: 13.14 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.001062/0.01204, allocations: 490.5 kB / 277.4 MB, free: 12.63 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.01208, allocations: 12.03 kB / 277.4 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/0.0122, allocations: 40.75 kB / 277.5 MB, free: 12.58 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004206/0.01262, allocations: 236.7 kB / 277.7 MB, free: 12.32 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.869e-05/0.01265, allocations: 16.36 kB / 277.7 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.836e-05/0.01268, allocations: 12.38 kB / 277.7 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006156/0.01329, allocations: 290.2 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.01331, allocations: 3.938 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.01332, allocations: 0 / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.01333, allocations: 4 kB / 278 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001735/0.01351, allocations: 63.91 kB / 278.1 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005396/0.01404, allocations: 310.1 kB / 278.4 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003734/0.01442, allocations: 171.9 kB / 278.6 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001597/0.01458, allocations: 74.55 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.195e-05/0.01461, allocations: 4 kB / 278.6 MB, free: 11.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000195/0.0148, allocations: 83.38 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of pre-optimization done (n=22): time 1.933e-06/0.01481, allocations: 0 / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0006178/0.01542, allocations: 245.4 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.01554, allocations: 114.8 kB / 279.1 MB, free: 10.82 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003921/0.01593, allocations: 289.8 kB / 279.4 MB, free: 10.54 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.01597, allocations: 33.7 kB / 279.4 MB, free: 10.5 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.01609, allocations: 120.6 kB / 279.5 MB, free: 10.38 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.01613, allocations: 27.8 kB / 279.5 MB, free: 10.35 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/0.0162, allocations: 37.7 kB / 279.6 MB, free: 10.3 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.01641, allocations: 334.8 kB / 279.9 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.922e-05/0.01649, allocations: 27.98 kB / 279.9 MB, free: 9.941 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.01664, allocations: 107.7 kB / 280 MB, free: 9.809 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.01683, allocations: 108.9 kB / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.01683, allocations: 0 / 280.1 MB, free: 9.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002957/0.01713, allocations: 153.4 kB / 280.3 MB, free: 9.527 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.01714, allocations: 4 kB / 280.3 MB, free: 9.523 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.787e-06/0.01715, allocations: 4 kB / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.01717, allocations: 160 / 280.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.444e-05/0.01726, allocations: 19.98 kB / 280.3 MB, free: 9.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.01727, allocations: 3.938 kB / 280.3 MB, free: 9.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.991e-05/0.01735, allocations: 11.94 kB / 280.3 MB, free: 9.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.01736, allocations: 8 kB / 280.3 MB, free: 9.477 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.0001772/0.01754, allocations: 153.7 kB / 280.5 MB, free: 9.316 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002229/0.01776, allocations: 129.5 kB / 280.6 MB, free: 9.184 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000284/0.01805, allocations: 123.4 kB / 280.7 MB, free: 9.055 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.01806, allocations: 4 kB / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.01806, allocations: 0 / 280.7 MB, free: 9.051 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.01806, allocations: 4 kB / 280.8 MB, free: 9.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002184/0.01828, allocations: 177.4 kB / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.01828, allocations: 0 / 280.9 MB, free: 8.844 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.149e-05/0.01834, allocations: 16 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.01834, allocations: 4 kB / 280.9 MB, free: 8.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.475e-05/0.01835, allocations: 3.984 kB / 280.9 MB, free: 8.82 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.01836, allocations: 7.938 kB / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01836, allocations: 0 / 281 MB, free: 8.812 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004279/0.01879, allocations: 239.9 kB / 281.2 MB, free: 8.555 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/0.01889, allocations: 47.72 kB / 281.2 MB, free: 8.508 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.01893, allocations: 12 kB / 281.2 MB, free: 8.496 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.272e-05/0.019, allocations: 4 kB / 281.3 MB, free: 8.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.767e-05/0.01905, allocations: 7.984 kB / 281.3 MB, free: 8.484 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.01907, allocations: 8 kB / 281.3 MB, free: 8.477 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002463/0.01932, allocations: 205.2 kB / 281.5 MB, free: 8.277 MB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01932, allocations: 3.938 kB / 281.5 MB, free: 8.273 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.01961, allocations: 43.92 kB / 281.5 MB, free: 8.23 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.002014/0.02162, allocations: 466.8 kB / 282 MB, free: 7.949 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003157/0.02194, allocations: 107.7 kB / 282.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.02194, allocations: 0 / 282.1 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.02202, allocations: 27.98 kB / 282.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000542/0.02257, allocations: 123 kB / 282.2 MB, free: 7.699 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008381/0.0234, allocations: 419.5 kB / 282.6 MB, free: 7.254 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001704/0.02357, allocations: 145.5 kB / 282.8 MB, free: 7.09 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.552e-05/0.02365, allocations: 26.33 kB / 282.8 MB, free: 7.066 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.271e-05/0.02371, allocations: 20.5 kB / 282.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02371, allocations: 0 / 282.8 MB, free: 7.047 MB / 266.7 MB Notification: Performance of Templates: time 0.008333/0.03205, allocations: 3.145 MB / 286 MB, free: 3.945 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=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.407429679995403]