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.00129/0.00129, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002107/0.002107, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.472/1.472, allocations: 230.5 MB / 257.4 MB, free: 8.004 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: "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.BooleanNetwork1,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001887/0.001887, allocations: 67.91 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3303, allocations: 53.4 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.004355/0.3347, allocations: 2.514 MB / 433.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00277/0.3374, allocations: 1.503 MB / 435.2 MB, free: 2.672 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.3376, allocations: 15.88 kB / 435.2 MB, free: 2.656 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007797/0.3384, allocations: 246.9 kB / 435.5 MB, free: 2.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004766/0.3389, allocations: 207 kB / 435.7 MB, free: 2.211 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000636/0.3395, allocations: 274.9 kB / 435.9 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005526/0.3401, allocations: 483.7 kB / 436.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002966/0.3404, allocations: 142.3 kB / 436.5 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002509/0.3406, allocations: 207.2 kB / 436.7 MB, free: 1.121 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002798/0.3409, allocations: 223 kB / 437 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.768e-05/0.341, allocations: 32 kB / 437 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002507/0.3412, allocations: 131.8 kB / 437.1 MB, free: 0.7422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.3414, allocations: 127.5 kB / 437.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002086/0.3416, allocations: 214.7 kB / 437.5 MB, free: 416 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007411/0.3423, allocations: 0.572 MB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3423, allocations: 0 / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.3423, allocations: 3.938 kB / 438 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.316e-06/0.3423, allocations: 0 / 438 MB, free: 15.84 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.001421/0.3437, allocations: 0.8066 MB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.3438, allocations: 8.031 kB / 438.8 MB, free: 14.98 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.016e-05/0.3439, allocations: 74.72 kB / 438.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000239/0.3441, allocations: 68.55 kB / 439 MB, free: 14.83 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005438/0.3447, allocations: 337.5 kB / 439.3 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.462e-05/0.3448, allocations: 88.91 kB / 439.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.3448, allocations: 36.38 kB / 439.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006873/0.3455, allocations: 436.6 kB / 439.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.795e-05/0.3455, allocations: 3.938 kB / 439.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.275e-05/0.3456, allocations: 12 kB / 439.9 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.934e-05/0.3456, allocations: 16.42 kB / 439.9 MB, free: 13.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004863/0.3461, allocations: 269.5 kB / 440.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.3481, allocations: 1.624 MB / 441.8 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005859/0.3487, allocations: 276 kB / 442.1 MB, free: 11.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002192/0.3489, allocations: 110.5 kB / 442.2 MB, free: 11.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.253e-05/0.349, allocations: 8.062 kB / 442.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005114/0.3495, allocations: 328.5 kB / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.964e-06/0.3495, allocations: 0 / 442.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.0009869/0.3505, allocations: 474.3 kB / 443 MB, free: 10.62 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/0.3506, allocations: 170.1 kB / 443.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.3512, allocations: 0.4936 MB / 443.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3513, allocations: 37.7 kB / 443.6 MB, free: 9.867 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.3515, allocations: 236.9 kB / 443.9 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.527e-05/0.3515, allocations: 87.36 kB / 444 MB, free: 9.547 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001526/0.3517, allocations: 118.1 kB / 444.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.3519, allocations: 358.7 kB / 444.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.3521, allocations: 116.9 kB / 444.5 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.3525, allocations: 270.1 kB / 444.8 MB, free: 8.625 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006071/0.3531, allocations: 407.4 kB / 445.2 MB, free: 8.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.3531, allocations: 4 kB / 445.2 MB, free: 8.156 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007692/0.3539, allocations: 466.9 kB / 445.7 MB, free: 7.688 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.609e-05/0.3539, allocations: 33.7 kB / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.3539, allocations: 4 kB / 445.7 MB, free: 7.645 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3539, allocations: 8 kB / 445.7 MB, free: 7.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.3541, allocations: 48.16 kB / 445.8 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.606e-05/0.3541, allocations: 7.938 kB / 445.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.3543, allocations: 59.59 kB / 445.8 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.3544, allocations: 24 kB / 445.8 MB, free: 7.5 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.0003759/0.3547, allocations: 256.6 kB / 446.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.538e-05/0.3548, allocations: 55.61 kB / 446.2 MB, free: 7.176 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007238/0.3555, allocations: 378.8 kB / 446.5 MB, free: 6.797 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.3555, allocations: 4 kB / 446.5 MB, free: 6.793 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3556, allocations: 3.938 kB / 446.5 MB, free: 6.789 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.3556, allocations: 7.984 kB / 446.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.3566, allocations: 0.7113 MB / 447.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3566, allocations: 0 / 447.2 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.396e-05/0.3567, allocations: 15.94 kB / 447.3 MB, free: 6.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.3567, allocations: 4 kB / 447.3 MB, free: 6 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.3567, allocations: 11.98 kB / 447.3 MB, free: 5.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.3567, allocations: 4.234 kB / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3567, allocations: 0 / 447.3 MB, free: 5.984 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.3575, allocations: 0.4969 MB / 447.8 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.3575, allocations: 43.66 kB / 447.8 MB, free: 5.418 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.135e-05/0.3576, allocations: 12 kB / 447.8 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001952/0.3578, allocations: 23.97 kB / 447.9 MB, free: 5.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3579, allocations: 43.94 kB / 447.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.264e-05/0.3579, allocations: 19.98 kB / 447.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.3583, allocations: 327.1 kB / 448.2 MB, free: 5.004 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3583, allocations: 4 kB / 448.2 MB, free: 5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004549/0.3588, allocations: 115.8 kB / 448.4 MB, free: 4.887 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,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 (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.002537/0.3613, allocations: 1.373 MB / 449.7 MB, free: 3.613 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006989/0.362, allocations: 368.1 kB / 450.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.362, allocations: 0 / 450.1 MB, free: 3.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.3623, allocations: 195.2 kB / 450.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.3629, allocations: 99.25 kB / 450.4 MB, free: 2.953 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00566/0.3685, allocations: 4.026 MB / 454.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006057/0.3691, allocations: 0.8356 MB / 455.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002277/0.3693, allocations: 71.56 kB / 455.3 MB, free: 13.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002399/0.3696, allocations: 159.4 kB / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3696, allocations: 4 kB / 455.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04094/0.4105, allocations: 10.3 MB / 465.8 MB, free: 3.379 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.65/12.06, allocations: 7.984 kB / 465.8 MB, free: 3.371 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1_fmu --startTime=0 --stopTime=10 --stepSize=0.00197981 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_BooleanNetwork1.fmu > Modelica_trunk_Modelica.Blocks.Examples.BooleanNetwork1.pipe 2>&1) [Timeout 52.5] 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: 14.724835343891755]