Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build NeuralNetwork_main_NeuralNetwork.Examples.NARX.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.0002631/0.0002631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000453/0.0007161, 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.0003027/0.0003027, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004522/0.0007549, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.09863/0.09863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.03774/0.1364, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo): time 0.001015/0.001015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004493/0.001464, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package NeuralNetwork with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NeuralNetwork 2.1.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(NeuralNetwork.Examples.NARX,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") simulate(NeuralNetwork.Examples.NARX,startTime=0,stopTime=2000,tolerance=1e-06,numberOfIntervals=2500,outputFormat="empty",variableFilter="",fileNamePrefix="NeuralNetwork_main_NeuralNetwork.Examples.NARX",simflags="-abortSlowSimulation -alarm=240 -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 6.61e-07/6.61e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 1.112e-05/1.178e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(NeuralNetwork.Examples.NARX): time 0.002177/0.002189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001939/0.004127, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 9.339e-05/0.004221, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.007728/0.01195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.00495/0.0169, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.01755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.001984/0.01953, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.0004202/0.01995, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.02248, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.005216/0.0277, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0007667/0.02846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.001017/0.02948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.001972/0.03145, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001629/0.03308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.006374/0.03945, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.000708/0.04016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.765e-06/0.04016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.113e-05/0.04018, 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: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.01421/0.05439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0003719/0.05476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001097/0.05586, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00376/0.05962, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.547e-05/0.05971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006471/0.06035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00436/0.06471, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.06473, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004458/0.06518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001229/0.0653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0291/0.0944, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0433/0.1377, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.002035/0.1397, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.00475/0.1445, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 0.000145/0.1446, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006523/0.1511, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=129): time 9.488e-06/0.1512, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=129): time 0.01015/0.1613, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 8.208e-05/0.1614, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006425/0.1678, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.001098/0.1689, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.001139/0.17, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0007618/0.1708, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.001939/0.1727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.755e-05/0.1728, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.001879/0.1747, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.1766, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.005141/0.1818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.029e-05/0.1818, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=148) (initialization): time 0.005439/0.1872, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.623e-05/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.909e-05/0.1873, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007247/0.1946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.27e-05/0.1946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.1967, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006218/0.1974, 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: 60 (sampler.firstTrigger,$PRE.sampler.firstTrigger,timeDelay.firstTrigger,$PRE.timeDelay.firstTrigger,timeDelay.sampleTrigger,$whenCondition2,sampler.sampleTrigger,$whenCondition3,sampler.y[1],timeTable_u1.nextEventScaled,timeTable_u1.nextEvent,$PRE.timeTable_u1.nextEvent,timeTable_u1.last,timeTable_u1.b,timeTable_u1.a,$whenCondition5,timeTable_u2.nextEventScaled,timeTable_u2.nextEvent,$PRE.timeTable_u2.nextEvent,timeTable_u2.last,timeTable_u2.b,timeTable_u2.a,sampler.y[2],$whenCondition4,sampler.y[3],timeDelay.y[14],$PRE.timeDelay.y[14],timeDelay.y[13],$PRE.timeDelay.y[13],timeDelay.y[12],$PRE.timeDelay.y[12],timeDelay.y[11],$PRE.timeDelay.y[11],timeDelay.y[10],$PRE.timeDelay.y[10],timeDelay.y[9],$PRE.timeDelay.y[9],timeDelay.y[8],$PRE.timeDelay.y[8],timeDelay.y[7],$PRE.timeDelay.y[7],timeDelay.y[6],$PRE.timeDelay.y[6],timeDelay.y[5],$PRE.timeDelay.y[5],timeDelay.y[4],$PRE.timeDelay.y[4],timeDelay.y[3],$PRE.timeDelay.y[3],timeDelay.y[2],$PRE.timeDelay.y[2],timeDelay.y[1],$PRE.timeDelay.y[1],timeTable_y.nextEventScaled,timeTable_y.nextEvent,$PRE.timeTable_y.nextEvent,timeTable_y.last,timeTable_y.b,timeTable_y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 3 * 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.001783/0.1991, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001065/0.2002, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01205/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 6.964e-06/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.2123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01323/0.2255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.215e-06/0.2255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006685/0.2322, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0008384/0.233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.156e-05/0.2331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006518/0.2337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.34e-05/0.2337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2337, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004798/0.2385, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002097/0.2406, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002048/0.2427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001734/0.2444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005971/0.245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.003205/0.2482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0002539/0.2485, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002776/0.2512, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 41 ($whenCondition1,timeTable_y.a,timeTable_y.b,timeTable_y.last,timeTable_y.nextEvent,timeTable_y.nextEventScaled,sampler.sampleTrigger,timeDelay.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition4,$whenCondition5,timeDelay.firstTrigger,timeDelay.y[1],timeDelay.y[2],timeDelay.y[3],timeDelay.y[4],timeDelay.y[5],timeDelay.y[6],timeDelay.y[7],timeDelay.y[8],timeDelay.y[9],timeDelay.y[10],timeDelay.y[11],timeDelay.y[12],timeDelay.y[13],timeDelay.y[14],timeTable_u1.a,timeTable_u1.b,timeTable_u1.last,timeTable_u1.nextEvent,timeTable_u1.nextEventScaled,sampler.firstTrigger,sampler.y[1],sampler.y[2],sampler.y[3],timeTable_u2.a,timeTable_u2.b,timeTable_u2.last,timeTable_u2.nextEvent,timeTable_u2.nextEventScaled) * Number of discrete states: 30 (timeTable_u1.nextEvent,timeTable_u1.last,timeTable_u1.nextEventScaled,timeTable_u1.b,timeTable_u1.a,$whenCondition5,timeTable_u2.nextEvent,timeTable_u2.last,timeTable_u2.nextEventScaled,timeTable_u2.b,timeTable_u2.a,$whenCondition4,timeDelay.y[1],timeDelay.y[2],timeDelay.y[3],timeDelay.y[4],timeDelay.y[6],timeDelay.y[7],timeDelay.y[8],timeDelay.y[9],timeDelay.u[3],timeDelay.y[11],timeDelay.y[12],timeDelay.y[13],timeTable_y.nextEvent,timeTable_y.last,timeTable_y.nextEventScaled,timeTable_y.b,timeTable_y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (114): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 19 * 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.001423/0.2527, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.004189/0.2569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 0.000129/0.257, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.002365/0.2593, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003181/0.2625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01263/0.2752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002626/0.2778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.000984/0.2788, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004176/0.2829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 2.888e-05/0.283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008774/0.2917, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] [Calling sys.exit(0), Time elapsed: 0.8445441164076328]