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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.001936/0.001936, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.46/1.46, allocations: 230.2 MB / 255.1 MB, free: 15.26 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.Blocks.Examples.BooleanNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5051,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=5051,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 67.88 kB / 374.5 MB, free: 9.914 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1023, allocations: 53.32 MB / 427.8 MB, free: 4.496 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004208/0.1065, allocations: 2.487 MB / 430.3 MB, free: 2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002645/0.1091, allocations: 1.484 MB / 431.8 MB, free: 0.5078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001823/0.1093, allocations: 11.94 kB / 431.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000739/0.1101, allocations: 238.8 kB / 432.1 MB, free: 268 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000506/0.1106, allocations: 211 kB / 432.3 MB, free: 56 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1929/0.3035, allocations: 256.4 kB / 432.5 MB, free: 8.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000771/0.3042, allocations: 479.6 kB / 433 MB, free: 8.215 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.3046, allocations: 151.6 kB / 433.1 MB, free: 8.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.3048, allocations: 199.9 kB / 433.3 MB, free: 8.156 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002432/0.305, allocations: 223.2 kB / 433.5 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.655e-05/0.3051, allocations: 36.12 kB / 433.6 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002528/0.3053, allocations: 121.7 kB / 433.7 MB, free: 8.105 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001255/0.3055, allocations: 127.6 kB / 433.8 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000151/0.3056, allocations: 220.1 kB / 434 MB, free: 8.008 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006344/0.3063, allocations: 0.5678 MB / 434.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.85e-06/0.3063, allocations: 3.438 kB / 434.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3063, allocations: 1.062 kB / 434.6 MB, free: 7.902 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.3063, allocations: 1.781 kB / 434.6 MB, free: 7.902 MB / 350.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.001229/0.3075, allocations: 0.8654 MB / 435.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.3075, allocations: 10.12 kB / 435.5 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002427/0.3078, allocations: 68.06 kB / 435.6 MB, free: 7.246 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/0.3083, allocations: 399.5 kB / 435.9 MB, free: 6.992 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.684e-05/0.3083, allocations: 59.2 kB / 436 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.972e-05/0.3084, allocations: 40.75 kB / 436 MB, free: 6.961 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000642/0.309, allocations: 437.8 kB / 436.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.3091, allocations: 5.719 kB / 436.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.6e-05/0.3091, allocations: 16.23 kB / 436.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.602e-05/0.3091, allocations: 13.06 kB / 436.5 MB, free: 6.824 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.3096, allocations: 269.4 kB / 436.8 MB, free: 6.82 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.3113, allocations: 1.666 MB / 438.4 MB, free: 5.762 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.3119, allocations: 271.4 kB / 438.7 MB, free: 5.691 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002148/0.3121, allocations: 110 kB / 438.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.057e-05/0.3122, allocations: 6.844 kB / 438.8 MB, free: 5.668 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004678/0.3126, allocations: 331.2 kB / 439.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.3126, allocations: 0 / 439.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009707/0.3136, allocations: 477.7 kB / 439.6 MB, free: 5.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.3137, allocations: 163.3 kB / 439.8 MB, free: 5.219 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005509/0.3142, allocations: 0.495 MB / 440.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.3143, allocations: 40.53 kB / 440.3 MB, free: 4.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000136/0.3144, allocations: 240.9 kB / 440.5 MB, free: 4.793 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.717e-05/0.3145, allocations: 89.67 kB / 440.6 MB, free: 4.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001482/0.3146, allocations: 119.3 kB / 440.7 MB, free: 4.668 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.432e-05/0.3147, allocations: 357.3 kB / 441.1 MB, free: 4.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002269/0.3149, allocations: 112.6 kB / 441.2 MB, free: 4.305 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.3152, allocations: 269.1 kB / 441.5 MB, free: 4.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004423/0.3156, allocations: 396.3 kB / 441.8 MB, free: 3.797 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.3156, allocations: 7.125 kB / 441.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007273/0.3164, allocations: 472.9 kB / 442.3 MB, free: 3.598 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.008e-05/0.3164, allocations: 36.33 kB / 442.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.537e-06/0.3164, allocations: 4.625 kB / 442.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.3164, allocations: 6.344 kB / 442.4 MB, free: 3.566 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001418/0.3166, allocations: 42.64 kB / 442.4 MB, free: 3.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.317e-05/0.3166, allocations: 16.67 kB / 442.4 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002446/0.3168, allocations: 52.58 kB / 442.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.469e-05/0.3169, allocations: 21.89 kB / 442.5 MB, free: 3.527 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: 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.0002263/0.3171, allocations: 252 kB / 442.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.094e-05/0.3172, allocations: 54.66 kB / 442.8 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004232/0.3176, allocations: 235.8 kB / 443 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.3176, allocations: 4.938 kB / 443 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.832e-06/0.3176, allocations: 0 / 443 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3176, allocations: 2.781 kB / 443 MB, free: 3.203 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3186, allocations: 0.7414 MB / 443.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.3187, allocations: 1.125 kB / 443.8 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.644e-05/0.3187, allocations: 22.34 kB / 443.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.3187, allocations: 4.688 kB / 443.8 MB, free: 2.742 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.082e-05/0.3188, allocations: 12.3 kB / 443.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3188, allocations: 2.25 kB / 443.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.3188, allocations: 1.312 kB / 443.8 MB, free: 2.738 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006393/0.3194, allocations: 495.2 kB / 444.3 MB, free: 2.453 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.208e-05/0.3195, allocations: 131.4 kB / 444.4 MB, free: 2.32 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.17e-05/0.3195, allocations: 11.98 kB / 444.4 MB, free: 2.316 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.3197, allocations: 22.34 kB / 444.5 MB, free: 2.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001213/0.3199, allocations: 46.17 kB / 444.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.3199, allocations: 12.89 kB / 444.5 MB, free: 2.301 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003257/0.3202, allocations: 330.4 kB / 444.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3202, allocations: 1.156 kB / 444.8 MB, free: 2.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004536/0.3207, allocations: 115.4 kB / 445 MB, free: 2.113 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: 35 (rSFlipFlop.Q,rSFlipFlop.QI,rSFlipFlop.pre.u,sampleTriggerSet.y,sampleTriggerReset.y,$whenCondition1,$whenCondition2,$whenCondition3,onDelay.u,onDelay.y,onDelay.delaySignal,onDelay.t_next,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,changing.y,$whenCondition6,$whenCondition5,$whenCondition4,and1.u[1],and1.u[2],booleanPulse1.pulseStart,booleanPulse2.pulseStart,or1.u[1],xor1.u[1],nand1.u[1],or2.u[1],nor1.y,rising.u,set1.u[1],set1.u[2],set1.y,set1.firstActiveIndex,falling.not_u,changing.u,triggeredAdd.y) * Number of discrete states: 12 (falling.not_u,rising.u,set1.y,changing.u,triggeredAdd.y,booleanTable.combiTimeTable.nextTimeEventScaled,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 5 * 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.001501/0.3222, allocations: 463.4 kB / 445.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.3228, allocations: 366.9 kB / 445.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.3228, allocations: 0 / 445.8 MB, free: 1.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002982/0.3231, allocations: 201.6 kB / 446 MB, free: 1.691 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005417/0.3236, allocations: 87.25 kB / 446 MB, free: 1.66 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.3249, allocations: 0.8434 MB / 446.9 MB, free: 1.176 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.3252, allocations: 0.8388 MB / 447.7 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001193/0.3253, allocations: 43.64 kB / 447.8 MB, free: 464 kB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3253, allocations: 0 / 447.8 MB, free: 464 kB / 350.1 MB Notification: Performance of Templates: time 0.0106/0.3359, allocations: 6.175 MB / 453.9 MB, free: 15.18 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/BooleanNetwork1/BooleanNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.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: 8.420584131963551]