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.001532/0.001532, allocations: 113.2 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002106/0.002107, allocations: 210.7 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 63.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2461, allocations: 50.54 MB / 409.9 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.003727/0.2498, allocations: 2.479 MB / 412.4 MB, free: 15.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002528/0.2524, allocations: 1.465 MB / 413.9 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002011/0.2526, allocations: 11.94 kB / 413.9 MB, free: 13.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007567/0.2534, allocations: 234.9 kB / 414.1 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004762/0.2539, allocations: 207 kB / 414.3 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006344/0.2545, allocations: 263 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.255, allocations: 487.7 kB / 415.1 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003122/0.2554, allocations: 217.8 kB / 415.3 MB, free: 12.17 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.2556, allocations: 195.2 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.2558, allocations: 219 kB / 415.7 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.211e-05/0.2559, allocations: 32 kB / 415.7 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000222/0.2561, allocations: 111.9 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.2563, allocations: 131.5 kB / 415.9 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.2565, allocations: 222.7 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005967/0.2571, allocations: 0.5577 MB / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.2571, allocations: 0 / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.2571, allocations: 0 / 416.7 MB, free: 10.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.22e-05/0.2571, allocations: 3.938 kB / 416.7 MB, free: 10.72 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.001356/0.2585, allocations: 0.8631 MB / 417.6 MB, free: 9.793 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.906e-05/0.2585, allocations: 8.031 kB / 417.6 MB, free: 9.785 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000255/0.2588, allocations: 60.28 kB / 417.7 MB, free: 9.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.2593, allocations: 399 kB / 418 MB, free: 9.297 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.2594, allocations: 59.27 kB / 418.1 MB, free: 9.234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.117e-05/0.2595, allocations: 43.94 kB / 418.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006261/0.2601, allocations: 428.7 kB / 418.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.2601, allocations: 0 / 418.6 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.2602, allocations: 16 kB / 418.6 MB, free: 8.715 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.2602, allocations: 16.38 kB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004737/0.2607, allocations: 273.4 kB / 418.9 MB, free: 8.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001834/0.2625, allocations: 1.659 MB / 420.5 MB, free: 6.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.2631, allocations: 303.8 kB / 420.8 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.2633, allocations: 137.6 kB / 421 MB, free: 6.223 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/0.2634, allocations: 8 kB / 421 MB, free: 6.215 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004344/0.2638, allocations: 319.9 kB / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.974e-06/0.2638, allocations: 0 / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.0008964/0.2647, allocations: 479 kB / 421.7 MB, free: 5.387 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.346e-05/0.2648, allocations: 170.3 kB / 421.9 MB, free: 5.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004943/0.2653, allocations: 497.3 kB / 422.4 MB, free: 4.688 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.176e-05/0.2654, allocations: 45.69 kB / 422.4 MB, free: 4.637 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.2655, allocations: 224.6 kB / 422.7 MB, free: 4.414 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.018e-05/0.2656, allocations: 86.89 kB / 422.7 MB, free: 4.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001472/0.2658, allocations: 114.2 kB / 422.9 MB, free: 4.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.2659, allocations: 366.7 kB / 423.2 MB, free: 3.844 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.2662, allocations: 113.1 kB / 423.3 MB, free: 3.734 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003272/0.2665, allocations: 270.7 kB / 423.6 MB, free: 3.406 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005162/0.267, allocations: 419 kB / 424 MB, free: 2.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2671, allocations: 0 / 424 MB, free: 2.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007217/0.2678, allocations: 458.4 kB / 424.4 MB, free: 2.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.44e-05/0.2678, allocations: 41.69 kB / 424.5 MB, free: 2.422 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.2678, allocations: 7.938 kB / 424.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.2679, allocations: 4 kB / 424.5 MB, free: 2.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.268, allocations: 43.86 kB / 424.5 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.344e-05/0.268, allocations: 7.984 kB / 424.5 MB, free: 2.359 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.2683, allocations: 55.95 kB / 424.6 MB, free: 2.305 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.305e-05/0.2683, allocations: 24 kB / 424.6 MB, free: 2.281 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.0002529/0.2686, allocations: 256.4 kB / 424.9 MB, free: 2.012 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.528e-05/0.2687, allocations: 43.44 kB / 424.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004303/0.2691, allocations: 233.1 kB / 425.1 MB, free: 1.738 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.2691, allocations: 4 kB / 425.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2691, allocations: 0 / 425.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.181e-05/0.2692, allocations: 124.6 kB / 425.3 MB, free: 1.594 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.2693, allocations: 8 kB / 425.3 MB, free: 1.586 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001789/0.2695, allocations: 23.97 kB / 425.3 MB, free: 1.562 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.2696, allocations: 43.89 kB / 425.3 MB, free: 1.52 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008058/0.2704, allocations: 0.6644 MB / 426 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007551/0.2712, allocations: 0.7107 MB / 426.7 MB, free: 96 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002655/0.2715, allocations: 163.5 kB / 426.9 MB, free: 15.94 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003326/0.2718, allocations: 335.1 kB / 427.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of Backend: time 5.31e-07/0.2718, allocations: 0 / 427.2 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.2736, allocations: 0.6876 MB / 427.9 MB, free: 15.04 MB / 350.1 MB Notification: Performance of SimCode: time 0.001426/0.275, allocations: 1.219 MB / 429.1 MB, free: 13.77 MB / 350.1 MB Notification: Performance of Templates: time 0.0107/0.2858, allocations: 5.783 MB / 434.9 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