Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1") translateModel(Modelica.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|and1.u.1.|and1.u.2.|and1.u.3.|booleanTable.y|changing.u|nand1.u.1.|nand1.u.2.|onDelay.u|or1.u.1.|or1.u.2.|or2.u.1.|or2.u.2.|rSFlipFlop.pre.u|rising.u|set1.y|triggeredAdd.y|xor1.u.1.|xor1.u.2.",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001106/0.001106, allocations: 214.8 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.306/1.306, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001192, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2141, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003824/0.2179, allocations: 2.482 MB / 412.4 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002439/0.2204, allocations: 1.465 MB / 413.9 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002268/0.2206, allocations: 11.94 kB / 413.9 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007128/0.2214, allocations: 238.9 kB / 414.1 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005003/0.2219, allocations: 207 kB / 414.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006193/0.2225, allocations: 266.8 kB / 414.6 MB, free: 12.94 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005032/0.223, allocations: 479.8 kB / 415.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003269/0.2234, allocations: 209.8 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002451/0.2236, allocations: 199.2 kB / 415.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002452/0.2239, allocations: 215 kB / 415.7 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.406e-05/0.2239, allocations: 39.94 kB / 415.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002323/0.2242, allocations: 119.9 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.2243, allocations: 123.6 kB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002047/0.2245, allocations: 214.7 kB / 416.2 MB, free: 11.36 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.2252, allocations: 0.5716 MB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2252, allocations: 0 / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2252, allocations: 4 kB / 416.7 MB, free: 10.78 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.262e-05/0.2252, allocations: 0 / 416.7 MB, free: 10.78 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: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001445/0.2267, allocations: 0.8703 MB / 417.6 MB, free: 9.844 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.2267, allocations: 8.031 kB / 417.6 MB, free: 9.836 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002625/0.227, allocations: 64.56 kB / 417.7 MB, free: 9.773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005426/0.2276, allocations: 403.4 kB / 418.1 MB, free: 9.34 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.2276, allocations: 55.27 kB / 418.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.158e-05/0.2277, allocations: 47.92 kB / 418.2 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006553/0.2284, allocations: 428.7 kB / 418.6 MB, free: 8.773 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.2284, allocations: 4 kB / 418.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.2284, allocations: 12 kB / 418.6 MB, free: 8.758 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/0.2285, allocations: 12.44 kB / 418.6 MB, free: 8.746 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004878/0.229, allocations: 269.5 kB / 418.9 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001879/0.2309, allocations: 1.678 MB / 420.6 MB, free: 6.719 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005926/0.2315, allocations: 299.9 kB / 420.9 MB, free: 6.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/0.2317, allocations: 130.5 kB / 421 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.375e-05/0.2318, allocations: 8 kB / 421 MB, free: 6.254 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004496/0.2322, allocations: 316 kB / 421.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 2.104e-06/0.2322, allocations: 0 / 421.3 MB, free: 5.906 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009784/0.2332, allocations: 481.9 kB / 421.8 MB, free: 5.426 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.523e-05/0.2333, allocations: 170.1 kB / 421.9 MB, free: 5.223 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005119/0.2338, allocations: 0.4974 MB / 422.4 MB, free: 4.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2339, allocations: 37.7 kB / 422.5 MB, free: 4.672 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001618/0.2341, allocations: 240.9 kB / 422.7 MB, free: 4.434 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.2341, allocations: 87.36 kB / 422.8 MB, free: 4.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/0.2343, allocations: 118.2 kB / 422.9 MB, free: 4.227 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001397/0.2344, allocations: 358.7 kB / 423.3 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002331/0.2347, allocations: 125 kB / 423.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003368/0.235, allocations: 262.7 kB / 423.6 MB, free: 3.426 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005192/0.2355, allocations: 402.5 kB / 424 MB, free: 2.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.2356, allocations: 0 / 424 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007407/0.2363, allocations: 463.2 kB / 424.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.79e-05/0.2363, allocations: 37.7 kB / 424.5 MB, free: 2.457 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/0.2364, allocations: 4 kB / 424.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.2364, allocations: 8 kB / 424.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.2365, allocations: 43.84 kB / 424.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.2366, allocations: 11.94 kB / 424.6 MB, free: 2.391 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002289/0.2368, allocations: 47.72 kB / 424.6 MB, free: 2.344 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.027e-05/0.2368, allocations: 20 kB / 424.7 MB, free: 2.324 MB / 334.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: 58 ($PRE.onDelay.u,$PRE.onDelay.t_next,triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition5,$whenCondition4,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,onDelay.t_next,onDelay.delaySignal,onDelay.y,onDelay.u,$whenCondition3,$whenCondition2,sampleTriggerReset.y,sampleTriggerSet.y,rSFlipFlop.pre.u,$PRE.rSFlipFlop.pre.u,rSFlipFlop.QI,rSFlipFlop.Q,triggeredAdd.local_set,triggeredAdd.local_reset,set1.expr[2],set1.expr[1],changing.y,changing.u,$PRE.changing.u,falling.not_u,$PRE.falling.not_u,set1.firstActiveIndex,set1.y,$PRE.set1.y,set1.u[2],set1.u[1],rising.u,$PRE.rising.u,nor1.y,or2.u[1],nand1.u[1],xor1.u[1],or1.u[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,and1.u[2],and1.u[1],$whenCondition6,showValue6.active,showValue5.active,showValue1.number,showValue4.active,showValue3.active,showValue2.active,showValue.active) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0002619/0.2371, allocations: 261 kB / 424.9 MB, free: 2.051 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.267e-05/0.2372, allocations: 51.67 kB / 425 MB, free: 2 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004317/0.2376, allocations: 237.1 kB / 425.2 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.236e-06/0.2377, allocations: 3.984 kB / 425.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2377, allocations: 0 / 425.2 MB, free: 1.762 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.201e-05/0.2378, allocations: 120.8 kB / 425.3 MB, free: 1.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.184e-05/0.2378, allocations: 16 kB / 425.3 MB, free: 1.609 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.238, allocations: 23.97 kB / 425.4 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001142/0.2381, allocations: 39.89 kB / 425.4 MB, free: 1.547 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008588/0.239, allocations: 0.6716 MB / 426.1 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007331/0.2398, allocations: 0.7032 MB / 426.8 MB, free: 128 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002789/0.24, allocations: 164 kB / 426.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003277/0.2404, allocations: 339 kB / 427.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of Backend: time 4.11e-07/0.2404, allocations: 0 / 427.3 MB, free: 15.63 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001817/0.2422, allocations: 0.6924 MB / 427.9 MB, free: 15.06 MB / 350.1 MB Notification: Performance of SimCode: time 0.001309/0.2435, allocations: 1.224 MB / 429.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of Templates: time 0.01079/0.2543, allocations: 5.799 MB / 435 MB, free: 8.004 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.makefile (rm -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.sim & ./Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches