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.001862/0.001862, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.001997/0.001997, allocations: 207.5 kB / 23.72 MB, free: 4.391 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.572/1.572, allocations: 230.5 MB / 257.4 MB, free: 7.727 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.00197/0.00197, allocations: 71.89 kB / 377.7 MB, free: 2.793 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3987/0.4006, allocations: 53.4 MB / 431.1 MB, free: 6.426 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.BooleanNetwork1): time 0.005894/0.4065, allocations: 2.405 MB / 433.5 MB, free: 4.02 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003568/0.4101, allocations: 1.418 MB / 435 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004571/0.4106, allocations: 11.88 kB / 435 MB, free: 2.582 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001098/0.4116, allocations: 254.9 kB / 435.2 MB, free: 2.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009113/0.4126, allocations: 203 kB / 435.4 MB, free: 2.133 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001072/0.4136, allocations: 271.3 kB / 435.7 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009722/0.4146, allocations: 487.6 kB / 436.2 MB, free: 1.391 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004001/0.415, allocations: 142.1 kB / 436.3 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.4154, allocations: 199.2 kB / 436.5 MB, free: 1.051 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004089/0.4158, allocations: 207 kB / 436.7 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.591e-05/0.4159, allocations: 32 kB / 436.7 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.4163, allocations: 115.9 kB / 436.8 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002132/0.4165, allocations: 135.5 kB / 437 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.4167, allocations: 171 kB / 437.1 MB, free: 412 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.4179, allocations: 0.5735 MB / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.4179, allocations: 0 / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.4179, allocations: 0 / 437.7 MB, free: 15.83 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.325e-05/0.418, allocations: 4 kB / 437.7 MB, free: 15.82 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.001836/0.4198, allocations: 0.791 MB / 438.5 MB, free: 14.99 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.4198, allocations: 15.92 kB / 438.5 MB, free: 14.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.354e-05/0.4199, allocations: 78.72 kB / 438.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000267/0.4202, allocations: 68.55 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005967/0.4208, allocations: 328.5 kB / 439 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.914e-05/0.4209, allocations: 88.95 kB / 439.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.737e-05/0.421, allocations: 40.38 kB / 439.1 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006958/0.4217, allocations: 449.5 kB / 439.6 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.649e-05/0.4217, allocations: 3.938 kB / 439.6 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.4217, allocations: 19.98 kB / 439.6 MB, free: 13.83 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.4217, allocations: 12.44 kB / 439.6 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005055/0.4222, allocations: 295.2 kB / 439.9 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.4243, allocations: 1.566 MB / 441.4 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000617/0.4249, allocations: 297.6 kB / 441.7 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000242/0.4251, allocations: 144.2 kB / 441.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.4252, allocations: 8 kB / 441.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005072/0.4257, allocations: 362.2 kB / 442.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.873e-06/0.4257, allocations: 0 / 442.2 MB, free: 10.99 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.00102/0.4267, allocations: 0.5406 MB / 442.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.785e-05/0.4268, allocations: 136.5 kB / 442.9 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006164/0.4274, allocations: 0.4974 MB / 443.4 MB, free: 9.758 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.896e-05/0.4275, allocations: 45.7 kB / 443.5 MB, free: 9.707 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.4277, allocations: 233 kB / 443.7 MB, free: 9.477 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.944e-05/0.4278, allocations: 95.28 kB / 443.8 MB, free: 9.383 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/0.4279, allocations: 114.2 kB / 443.9 MB, free: 9.266 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001865/0.4281, allocations: 366.7 kB / 444.2 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.4284, allocations: 142.6 kB / 444.4 MB, free: 8.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004019/0.4288, allocations: 316.6 kB / 444.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005449/0.4293, allocations: 403.2 kB / 445.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.4293, allocations: 0 / 445.1 MB, free: 7.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.0007972/0.4301, allocations: 0.4887 MB / 445.6 MB, free: 7.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.163e-05/0.4302, allocations: 37.69 kB / 445.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.4302, allocations: 8.531 kB / 445.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.496e-05/0.4302, allocations: 12 kB / 445.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001399/0.4304, allocations: 39.86 kB / 445.7 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.11e-05/0.4304, allocations: 15.92 kB / 445.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002486/0.4306, allocations: 51.72 kB / 445.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.4307, allocations: 20 kB / 445.8 MB, free: 7.215 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.0003053/0.431, allocations: 252.6 kB / 446 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.905e-05/0.4311, allocations: 51.7 kB / 446.1 MB, free: 6.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007533/0.4318, allocations: 416.5 kB / 446.5 MB, free: 6.477 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/0.4318, allocations: 7.938 kB / 446.5 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4318, allocations: 4 kB / 446.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.4318, allocations: 0 / 446.5 MB, free: 6.465 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.4329, allocations: 0.6804 MB / 447.2 MB, free: 5.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4329, allocations: 4 kB / 447.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.018e-05/0.433, allocations: 11.94 kB / 447.2 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.433, allocations: 8 kB / 447.2 MB, free: 5.711 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.793e-05/0.433, allocations: 11.98 kB / 447.2 MB, free: 5.699 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.433, allocations: 4 kB / 447.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.433, allocations: 0 / 447.2 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.4338, allocations: 0.5276 MB / 447.7 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.234e-05/0.4339, allocations: 51.64 kB / 447.8 MB, free: 5.082 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.076e-05/0.4339, allocations: 8 kB / 447.8 MB, free: 5.074 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001974/0.4341, allocations: 27.97 kB / 447.8 MB, free: 5.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001309/0.4343, allocations: 47.94 kB / 447.9 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.832e-05/0.4343, allocations: 16 kB / 447.9 MB, free: 4.984 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000374/0.4347, allocations: 335.1 kB / 448.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4347, allocations: 3.938 kB / 448.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004601/0.4351, allocations: 119.8 kB / 448.3 MB, free: 4.535 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 (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.002618/0.4377, allocations: 1.418 MB / 449.7 MB, free: 3.223 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007863/0.4385, allocations: 434.3 kB / 450.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4385, allocations: 0 / 450.2 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003463/0.4389, allocations: 233 kB / 450.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005483/0.4394, allocations: 85.66 kB / 450.5 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005663/0.4451, allocations: 4.198 MB / 454.7 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002797/0.4454, allocations: 246.6 kB / 454.9 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4456, allocations: 71.25 kB / 455 MB, free: 13.68 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.4458, allocations: 163.4 kB / 455.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of SimCode: time 6.01e-07/0.4458, allocations: 0 / 455.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1028/0.5486, allocations: 10.87 MB / 466 MB, free: 2.719 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.2/12.75, allocations: 10.11 kB / 466 MB, free: 2.711 MB / 366.1 MB " [Timeout remaining time 647] (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: 15.733436244074255]