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.001567/0.001567, allocations: 77.78 kB / 21.25 MB, free: 0.5469 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.002186/0.002186, allocations: 161.3 kB / 24.5 MB, free: 3.711 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.612/1.612, allocations: 177.1 MB / 204.7 MB, free: 8.977 MB / 190.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.001967/0.001967, allocations: 64.78 kB / 325.5 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1274, allocations: 53.38 MB / 378.9 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004843/0.1323, allocations: 2.412 MB / 381.3 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002983/0.1353, allocations: 1.418 MB / 382.7 MB, free: 11.76 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002769/0.1355, allocations: 15.88 kB / 382.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008752/0.1364, allocations: 242.9 kB / 383 MB, free: 11.51 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005309/0.1369, allocations: 218.9 kB / 383.2 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006984/0.1376, allocations: 263.3 kB / 383.5 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005507/0.1382, allocations: 483.7 kB / 383.9 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002977/0.1385, allocations: 138.3 kB / 384.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002354/0.1387, allocations: 199.2 kB / 384.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002594/0.139, allocations: 207 kB / 384.5 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.727e-05/0.139, allocations: 40 kB / 384.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000241/0.1393, allocations: 119.9 kB / 384.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1394, allocations: 135.5 kB / 384.8 MB, free: 9.734 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001741/0.1396, allocations: 167 kB / 384.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007463/0.1404, allocations: 0.5717 MB / 385.5 MB, free: 8.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1404, allocations: 4 kB / 385.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1404, allocations: 0 / 385.5 MB, free: 8.992 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.914e-06/0.1404, allocations: 0 / 385.5 MB, free: 8.992 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.001418/0.1418, allocations: 0.7988 MB / 386.3 MB, free: 8.148 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1418, allocations: 11.98 kB / 386.3 MB, free: 8.137 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002483/0.1421, allocations: 64.56 kB / 386.4 MB, free: 8.074 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005297/0.1426, allocations: 336.4 kB / 386.7 MB, free: 7.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.908e-05/0.1427, allocations: 84.97 kB / 386.8 MB, free: 7.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.1427, allocations: 36.38 kB / 386.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006861/0.1434, allocations: 461.8 kB / 387.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.1434, allocations: 0 / 387.3 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/0.1435, allocations: 12 kB / 387.3 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.341e-05/0.1435, allocations: 16.44 kB / 387.3 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005071/0.144, allocations: 295.4 kB / 387.6 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001912/0.1459, allocations: 1.5 MB / 389.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006157/0.1465, allocations: 313.5 kB / 389.4 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002396/0.1468, allocations: 144.2 kB / 389.5 MB, free: 4.707 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.818e-05/0.1468, allocations: 4 kB / 389.5 MB, free: 4.703 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005007/0.1473, allocations: 358.9 kB / 389.9 MB, free: 4.309 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.543e-06/0.1473, allocations: 4 kB / 389.9 MB, free: 4.305 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009972/0.1483, allocations: 0.5325 MB / 390.4 MB, free: 3.75 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001073/0.1484, allocations: 140.5 kB / 390.6 MB, free: 3.582 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.149, allocations: 0.4935 MB / 391.1 MB, free: 3.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.1491, allocations: 37.7 kB / 391.1 MB, free: 3.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002076/0.1493, allocations: 236.9 kB / 391.3 MB, free: 2.801 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.1494, allocations: 91.36 kB / 391.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001581/0.1495, allocations: 110.2 kB / 391.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.1497, allocations: 366.7 kB / 391.9 MB, free: 2.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002635/0.15, allocations: 150.7 kB / 392 MB, free: 2.078 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003849/0.1504, allocations: 320.6 kB / 392.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005637/0.1509, allocations: 407.2 kB / 392.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.1509, allocations: 0 / 392.7 MB, free: 1.227 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0008179/0.1518, allocations: 0.4924 MB / 393.2 MB, free: 0.7148 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.335e-05/0.1518, allocations: 37.69 kB / 393.3 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.618e-06/0.1518, allocations: 4 kB / 393.3 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1519, allocations: 8 kB / 393.3 MB, free: 0.6602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001391/0.152, allocations: 39.86 kB / 393.3 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.152, allocations: 11.98 kB / 393.3 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002464/0.1523, allocations: 56.12 kB / 393.4 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.768e-05/0.1523, allocations: 20 kB / 393.4 MB, free: 0.5352 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.0003121/0.1526, allocations: 252.5 kB / 393.6 MB, free: 280 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1527, allocations: 43.72 kB / 393.7 MB, free: 236 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007971/0.1535, allocations: 420.4 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.1535, allocations: 4 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.1535, allocations: 4 kB / 394.1 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.1535, allocations: 4 kB / 394.1 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009774/0.1545, allocations: 0.6308 MB / 394.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1545, allocations: 0 / 394.7 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.228e-05/0.1545, allocations: 19.94 kB / 394.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.1546, allocations: 3.984 kB / 394.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1546, allocations: 12 kB / 394.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1546, allocations: 0 / 394.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1546, allocations: 0 / 394.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007478/0.1553, allocations: 0.5316 MB / 395.3 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.702e-05/0.1554, allocations: 47.58 kB / 395.4 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.247e-05/0.1555, allocations: 16 kB / 395.4 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001986/0.1557, allocations: 23.97 kB / 395.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001231/0.1558, allocations: 43.92 kB / 395.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.205e-05/0.1558, allocations: 16 kB / 395.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003691/0.1562, allocations: 327.1 kB / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1562, allocations: 0 / 395.8 MB, free: 14.05 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004917/0.1567, allocations: 119.7 kB / 395.9 MB, free: 13.94 MB / 366.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,onDelay.t_next,onDelay.delaySignal,$whenCondition3,$whenCondition2,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,rSFlipFlop.pre.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 29 * 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.001734/0.1584, allocations: 467.4 kB / 396.3 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.1591, allocations: 430.2 kB / 396.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1591, allocations: 256 / 396.8 MB, free: 13.18 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.1595, allocations: 244.9 kB / 397 MB, free: 12.92 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005229/0.16, allocations: 93.95 kB / 397.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1614, allocations: 0.8245 MB / 397.9 MB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.1616, allocations: 230.9 kB / 398.1 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001992/0.1618, allocations: 79.5 kB / 398.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.398e-05/0.1619, allocations: 44.44 kB / 398.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1619, allocations: 0 / 398.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of Templates: time 0.01095/0.1729, allocations: 5.42 MB / 403.7 MB, free: 6.234 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 -s ida -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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.883378415019251]