Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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 trunk/package.mo): time 0.0004335/0.0004335, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006355/0.001069, allocations: 0 / 0, free: 0 / 0 " [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.0003107/0.0003107, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006444/0.0009552, allocations: 0 / 0, free: 0 / 0 " [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 0.195/0.195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04098/0.236, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.02081/0.02081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.007201/0.02801, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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: simulate(ModelicaTest.Blocks.IntegerTable,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5007,outputFormat="mat",variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Blocks.IntegerTable,startTime=0,stopTime=3,tolerance=1e-06,numberOfIntervals=5007,outputFormat="mat",variableFilter="time|integerTable.y|integerTable2.y|integerTable3.y|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 7.01e-07/7.01e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.279e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.001732/0.001755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001946/0.003701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 7.317e-05/0.003774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.0002094/0.003983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.0003436/0.004327, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0005631/0.00489, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.0002738/0.005164, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.714e-05/0.005231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003368/0.005568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.0001269/0.005695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.005721, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.005925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.006008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.006076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0003227/0.006398, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.709e-05/0.006435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.104e-06/0.006438, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.504e-05/0.006453, 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0008297/0.007282, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.587e-05/0.007338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 7.562e-05/0.007414, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002723/0.007686, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.007719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.007748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00022/0.007968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.007977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.008, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.008005, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 7.097e-05/0.008076, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.008502, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001798/0.008682, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 4.741e-05/0.008729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.688e-05/0.008746, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.008913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=24): time 2.084e-06/0.008915, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=24): time 0.0002098/0.009125, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.96e-05/0.009155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000267/0.009422, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 5.385e-05/0.009476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.954e-05/0.009525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 3.69e-05/0.009562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.009611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.641e-05/0.009638, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 3.6e-05/0.009674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 5.551e-05/0.009729, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.009827, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.009829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001643/0.009993, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.107e-06/0.01, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.727e-06/0.01001, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.01002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.01014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.799e-05/0.01022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.499e-05/0.01024, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($PRE.integerTable.combiTimeTable.nextTimeEvent,$whenCondition4,integerTable.combiTimeTable.nextTimeEventScaled,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.y,$PRE.integerTable2.combiTimeTable.nextTimeEvent,$whenCondition3,integerTable2.combiTimeTable.nextTimeEventScaled,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,$PRE.integerTable3.combiTimeTable.nextTimeEvent,$whenCondition2,integerTable3.combiTimeTable.nextTimeEventScaled,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,$PRE.integerTable4.combiTimeTable.nextTimeEvent,$whenCondition1,integerTable4.combiTimeTable.nextTimeEventScaled,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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 8.477e-05/0.01032, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.01036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.01059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.01059, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.909e-06/0.0106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.0106, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001767/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.01078, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.627e-05/0.01086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.01086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.01104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.01108, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.01119, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.611e-05/0.01126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 8.445e-05/0.01134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.01137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0001542/0.01152, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 9.328e-06/0.01153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0002361/0.01177, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005447/0.01231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001775/0.01249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.01249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 7.174e-05/0.01256, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.0129, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005117/0.01341, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 6.124e-05/0.01347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0001225/0.01359, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.01376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.317e-05/0.01378, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.003412/0.01719, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegerTable_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegerTable/IntegerTable.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.7718033473938704]