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.000328/0.000328, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000771/0.001099, 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.0002086/0.0002086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004825/0.000691, 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.07257/0.07257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04616/0.1187, 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.08352/0.08352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.06349/0.147, 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 -ignoreHideResult -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 -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.89e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.01296/0.01298, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.009872/0.02285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.0003201/0.02317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.001481/0.02465, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.001276/0.02593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.001302/0.02723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0009333/0.02816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.02833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.001204/0.02954, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0004411/0.02998, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.203e-05/0.03005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0004914/0.03054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0002307/0.03077, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.000187/0.03096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0008122/0.03177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 8.581e-05/0.03186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.934e-06/0.03186, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.213e-05/0.03187, 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.001578/0.03345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 9.299e-05/0.03354, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001352/0.03368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007283/0.03441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.881e-05/0.03445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 5.451e-05/0.03451, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003926/0.0349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.03491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.96e-05/0.03495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/0.03496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.03512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.03613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.03646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.03656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.113e-05/0.03658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004045/0.03699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=48): time 4.97e-06/0.03699, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=48): time 0.0004755/0.03747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.817e-05/0.0375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009077/0.03841, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.978e-05/0.03848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.0386, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0001128/0.03872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001249/0.03884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.285e-05/0.03886, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.871e-05/0.03895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.0391, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002419/0.03934, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.03935, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004129/0.03976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.03978, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.03979, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.03981, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002675/0.04007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.858e-05/0.04009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002515/0.04034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.04038, 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.0002259/0.04061, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001071/0.04071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005708/0.04128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.218e-06/0.04129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 8.787e-06/0.0413, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.04131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004981/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/0.04181, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001446/0.04196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/0.04209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 7.584e-06/0.0421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.659e-06/0.04214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.04215, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004031/0.04255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000251/0.0428, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/0.04301, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.04316, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.371e-05/0.04321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0004132/0.04362, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.001e-05/0.04365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0006865/0.04434, 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.0006045/0.04495, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000362/0.04531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.571e-05/0.04533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002193/0.04555, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.04658, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001409/0.04799, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000188/0.04817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0003517/0.04853, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004623/0.04899, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 3.635e-05/0.04902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.005326/0.05435, 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.897384631447494]