Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001711/0.001711, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002736/0.002736, allocations: 213.3 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.614/1.614, allocations: 230.3 MB / 258 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 67.89 kB / 378.8 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4223, allocations: 53.36 MB / 432.1 MB, free: 7.082 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample): time 0.004402/0.4267, allocations: 2.043 MB / 434.2 MB, free: 5.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002781/0.4294, allocations: 1.281 MB / 435.4 MB, free: 3.742 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.4297, allocations: 11.88 kB / 435.4 MB, free: 3.73 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008947/0.4306, allocations: 147.5 kB / 435.6 MB, free: 3.586 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.4311, allocations: 174.9 kB / 435.8 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007212/0.4318, allocations: 211.4 kB / 436 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003446/0.4322, allocations: 223.4 kB / 436.2 MB, free: 2.992 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000146/0.4323, allocations: 36.56 kB / 436.2 MB, free: 2.953 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002472/0.4326, allocations: 103.5 kB / 436.3 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001552/0.4327, allocations: 103.5 kB / 436.4 MB, free: 2.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.521e-05/0.4328, allocations: 12 kB / 436.4 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001852/0.4329, allocations: 63.97 kB / 436.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001004/0.433, allocations: 67.69 kB / 436.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001098/0.4332, allocations: 83.42 kB / 436.6 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004524/0.4336, allocations: 260.6 kB / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4336, allocations: 0 / 436.9 MB, free: 2.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4336, allocations: 7.938 kB / 436.9 MB, free: 2.273 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.4336, allocations: 0 / 436.9 MB, free: 2.273 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.001012/0.4346, allocations: 494.5 kB / 437.4 MB, free: 1.754 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4347, allocations: 8.031 kB / 437.4 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.194e-05/0.4348, allocations: 32.75 kB / 437.4 MB, free: 1.715 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004252/0.4352, allocations: 229 kB / 437.7 MB, free: 1.469 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.699e-05/0.4352, allocations: 12.38 kB / 437.7 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.34e-05/0.4353, allocations: 20.36 kB / 437.7 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006301/0.4359, allocations: 297.8 kB / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4359, allocations: 0 / 438 MB, free: 1.125 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.4359, allocations: 8 kB / 438 MB, free: 1.117 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.4359, allocations: 7.938 kB / 438 MB, free: 1.109 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000183/0.4361, allocations: 59.91 kB / 438.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006989/0.4368, allocations: 353.4 kB / 438.4 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004836/0.4373, allocations: 176 kB / 438.6 MB, free: 468 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002639/0.4376, allocations: 74.55 kB / 438.6 MB, free: 384 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.073e-05/0.4376, allocations: 4 kB / 438.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002353/0.4378, allocations: 79.39 kB / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=22): time 1.743e-06/0.4378, allocations: 0 / 438.7 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=22): time 0.0007706/0.4386, allocations: 221.4 kB / 438.9 MB, free: 60 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003354/0.439, allocations: 152.4 kB / 439.1 MB, free: 15.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004081/0.4394, allocations: 277 kB / 439.4 MB, free: 15.6 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.191e-05/0.4394, allocations: 29.7 kB / 439.4 MB, free: 15.56 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.4395, allocations: 128.6 kB / 439.5 MB, free: 15.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.4396, allocations: 31.83 kB / 439.5 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.396e-05/0.4397, allocations: 49.94 kB / 439.6 MB, free: 15.35 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002277/0.4399, allocations: 342.8 kB / 439.9 MB, free: 15 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.44, allocations: 32.45 kB / 440 MB, free: 14.97 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002341/0.4402, allocations: 174 kB / 440.1 MB, free: 14.74 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/0.4405, allocations: 199.3 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.4405, allocations: 4 kB / 440.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004046/0.4409, allocations: 225.7 kB / 440.5 MB, free: 14.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.441, allocations: 4 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/0.441, allocations: 8 kB / 440.6 MB, free: 14.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/0.441, allocations: 11.94 kB / 440.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.4411, allocations: 23.91 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.278e-05/0.4411, allocations: 8 kB / 440.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001213/0.4413, allocations: 27.81 kB / 440.6 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2e-05/0.4413, allocations: 8.375 kB / 440.6 MB, free: 14.17 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.0002691/0.4416, allocations: 167.8 kB / 440.8 MB, free: 14 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002362/0.4418, allocations: 133.7 kB / 440.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003746/0.4422, allocations: 123.4 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.4422, allocations: 384 / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.313e-05/0.4422, allocations: 4 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.4422, allocations: 3.984 kB / 441.1 MB, free: 13.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.4425, allocations: 220.6 kB / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4425, allocations: 0 / 441.3 MB, free: 13.47 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.795e-05/0.4426, allocations: 15.92 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4426, allocations: 4 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.4426, allocations: 4 kB / 441.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.4426, allocations: 4 kB / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.4426, allocations: 0 / 441.3 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004107/0.443, allocations: 230 kB / 441.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.4431, allocations: 43.77 kB / 441.6 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.261e-05/0.4432, allocations: 8 kB / 441.6 MB, free: 13.14 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.4433, allocations: 11.98 kB / 441.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.028e-05/0.4433, allocations: 8 kB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.4434, allocations: 11.92 kB / 441.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000242/0.4436, allocations: 204.5 kB / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 441.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003615/0.444, allocations: 43.94 kB / 441.9 MB, free: 12.87 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 (22): * Single equations (assignments): 20 * 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.001639/0.4456, allocations: 422.3 kB / 442.3 MB, free: 12.59 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003933/0.446, allocations: 143.6 kB / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.446, allocations: 0 / 442.4 MB, free: 12.45 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.938e-05/0.4461, allocations: 23.98 kB / 442.4 MB, free: 12.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000574/0.4467, allocations: 115.3 kB / 442.5 MB, free: 12.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009318/0.4476, allocations: 405.1 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000526/0.4481, allocations: 0.7519 MB / 443.7 MB, free: 11.12 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.4482, allocations: 34.5 kB / 443.7 MB, free: 11.08 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.532e-05/0.4483, allocations: 19.44 kB / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4483, allocations: 0 / 443.7 MB, free: 11.06 MB / 350.1 MB Notification: Performance of Templates: time 0.009161/0.4574, allocations: 3.17 MB / 446.9 MB, free: 7.906 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 5.435010122135282]