Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003125/0.0003125, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0002262/0.0002262, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.06651/0.06651, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.01546/0.01546, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: simulate(ModelicaTest.Blocks.BooleanTable,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5007,outputFormat="mat",variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Blocks.BooleanTable,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5007,outputFormat="mat",variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.338e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.002833/0.002856, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.00219/0.005046, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0001483/0.005195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0009624/0.006157, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0007496/0.006907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.007747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0005567/0.008304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.008428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.000459/0.008887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.000257/0.009144, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 4.775e-05/0.009192, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0002491/0.009441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0001428/0.009584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0001218/0.009706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0005336/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 4.782e-05/0.01029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.144e-06/0.01029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.661e-05/0.01031, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001206/0.01151, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.456e-05/0.01159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001056/0.01169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004894/0.01218, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-05/0.01223, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 4.507e-05/0.01228, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.01259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.0126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.01264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.01264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.01276, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006611/0.01342, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0002631/0.01368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 6.809e-05/0.01375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.834e-05/0.01377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002511/0.01402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=48): time 3.437e-06/0.01402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=48): time 0.0003189/0.01434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.808e-05/0.01438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000453/0.01483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.881e-05/0.01489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.01497, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 6.511e-05/0.01504, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 7.418e-05/0.01511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.828e-05/0.01513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 5.531e-05/0.01519, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002642/0.01545, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.0156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.0156, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=64) (initialization): time 0.0002389/0.01584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.01586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.01586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/0.01588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.01602, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.01604, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.01618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.0162, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.booleanTable1.combiTimeTable.nextTimeEvent,$whenCondition8,booleanTable1.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable1.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.y,$PRE.booleanTable2a.combiTimeTable.nextTimeEvent,$whenCondition7,booleanTable2a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.y,$PRE.booleanTable2b.combiTimeTable.nextTimeEvent,$whenCondition6,booleanTable2b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.y,$PRE.booleanTable3a.combiTimeTable.nextTimeEvent,$whenCondition5,booleanTable3a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.y,$PRE.booleanTable3b.combiTimeTable.nextTimeEvent,$whenCondition4,booleanTable3b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.y,$PRE.booleanTable3c.combiTimeTable.nextTimeEvent,$whenCondition3,booleanTable3c.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.y,$PRE.booleanTable4a.combiTimeTable.nextTimeEvent,$whenCondition2,booleanTable4a.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.y,$PRE.booleanTable4b.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable4b.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * 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.0001304/0.01633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.38e-05/0.01638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003496/0.01673, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.01674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.01675, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003049/0.01705, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01706, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.732e-05/0.01712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.01713, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.01716, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.01741, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 7.541e-05/0.01749, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.01765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.01777, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 9.947e-05/0.01787, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.895e-05/0.0179, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0002539/0.01815, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.555e-05/0.01817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003393/0.01851, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,booleanTable1.y,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled,$whenCondition7,booleanTable2a.y,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,$whenCondition6,booleanTable2b.y,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,$whenCondition5,booleanTable3a.y,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,$whenCondition4,booleanTable3b.y,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,$whenCondition3,booleanTable3c.y,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,$whenCondition2,booleanTable4a.y,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,$whenCondition1,booleanTable4b.y,booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 16 (booleanTable4b.combiTimeTable.nextTimeEvent,booleanTable4b.combiTimeTable.nextTimeEventScaled,booleanTable4a.combiTimeTable.nextTimeEvent,booleanTable4a.combiTimeTable.nextTimeEventScaled,booleanTable3c.combiTimeTable.nextTimeEvent,booleanTable3c.combiTimeTable.nextTimeEventScaled,booleanTable3b.combiTimeTable.nextTimeEvent,booleanTable3b.combiTimeTable.nextTimeEventScaled,booleanTable3a.combiTimeTable.nextTimeEvent,booleanTable3a.combiTimeTable.nextTimeEventScaled,booleanTable2b.combiTimeTable.nextTimeEvent,booleanTable2b.combiTimeTable.nextTimeEventScaled,booleanTable2a.combiTimeTable.nextTimeEvent,booleanTable2a.combiTimeTable.nextTimeEventScaled,booleanTable1.combiTimeTable.nextTimeEvent,booleanTable1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 16 * 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.0006734/0.01918, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0002613/0.01944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.01945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.01955, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005974/0.02015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008787/0.02103, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.02113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0002203/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002868/0.02164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.6e-05/0.02166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.006156/0.02782, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/BooleanTable/BooleanTable.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.8570837005972862]