Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.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.0002938/0.0002938, 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.0002218/0.0002218, 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.1531/0.1531, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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(Modelica.Electrical.Digital.Examples.VectorDelay,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=5008,outputFormat="mat",variableFilter="time|delay.inertialDelaySensitive.[0-9,]+..x|delay.inertialDelaySensitive.[0-9,]+..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(Modelica.Electrical.Digital.Examples.VectorDelay,startTime=0,stopTime=10,tolerance=1e-06,numberOfIntervals=5008,outputFormat="mat",variableFilter="time|delay.inertialDelaySensitive.[0-9,]+..x|delay.inertialDelaySensitive.[0-9,]+..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 2.295e-06/2.295e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.632e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.001581/0.001608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001551/0.003159, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 3.832e-05/0.003198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 8.046e-05/0.003278, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 4.482e-05/0.003323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.003484, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.000179/0.003663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 6.994e-05/0.003733, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0003568/0.00409, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.004189, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.004227, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 2.207e-05/0.004249, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 9.594e-05/0.004345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 8.889e-05/0.004434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0004143/0.004848, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 3.654e-05/0.004885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.083e-06/0.004887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 9.147e-06/0.004896, 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: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0009675/0.005863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.455e-05/0.005928, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001086/0.006036, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.006286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.08e-05/0.006347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 5.379e-05/0.006401, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.00047/0.006871, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.006881, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.17e-05/0.006922, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.876e-06/0.006925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001456/0.007071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000452/0.007523, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.00769, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.007809, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 3.346e-06/0.007812, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.008113, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=30): time 2.625e-06/0.008116, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=30): time 0.0005005/0.008616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.008656, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001037/0.009693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.009782, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 4.746e-05/0.00983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 7.378e-05/0.009903, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001657/0.01007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.925e-05/0.01009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001408/0.01023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.01035, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.01056, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01057, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=36) (initialization): time 0.0003167/0.01088, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 5.357e-05/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.01094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01096, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.947e-05/0.01098, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.01099, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001332/0.01112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.377e-05/0.0112, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.delay.inertialDelaySensitive[3].y,table2.y,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].x,$PRE.delay.inertialDelaySensitive[3].x,$whenCondition6,$whenCondition5,$PRE.delay.inertialDelaySensitive[2].y,table1.y,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].x,$PRE.delay.inertialDelaySensitive[2].x,$whenCondition4,$whenCondition3,$PRE.delay.inertialDelaySensitive[1].y,table.y,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].x,$PRE.delay.inertialDelaySensitive[1].x,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 6 * 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.0007246/0.01193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 7.67e-05/0.012, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003494/0.01235, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.01236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.01236, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.01237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.01338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.01338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.726e-06/0.01339, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.0134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.969e-05/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.01345, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005497/0.014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0006163/0.01462, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002044/0.01482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001736/0.015, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.01515, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.937e-05/0.01524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0005793/0.01582, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.445e-05/0.01583, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003625/0.01619, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 30 ($whenCondition1,$whenCondition2,delay.inertialDelaySensitive[1].x,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].y_old,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].t_next,table.y,$whenCondition3,$whenCondition4,delay.inertialDelaySensitive[2].x,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].y_old,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].t_next,table1.y,$whenCondition5,$whenCondition6,delay.inertialDelaySensitive[3].x,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].y_old,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].t_next,table2.y) * Number of discrete states: 30 (table2.y,delay.inertialDelaySensitive[3].y,delay.inertialDelaySensitive[3].y_auxiliary,delay.inertialDelaySensitive[3].t_next,delay.inertialDelaySensitive[3].delayTime,delay.inertialDelaySensitive[3].lh,delay.inertialDelaySensitive[3].y_old,$whenCondition6,$whenCondition5,delay.inertialDelaySensitive[3].x,table1.y,delay.inertialDelaySensitive[2].y,delay.inertialDelaySensitive[2].y_auxiliary,delay.inertialDelaySensitive[2].t_next,delay.inertialDelaySensitive[2].delayTime,delay.inertialDelaySensitive[2].lh,delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,delay.inertialDelaySensitive[2].x,table.y,delay.inertialDelaySensitive[1].y,delay.inertialDelaySensitive[1].y_auxiliary,delay.inertialDelaySensitive[1].t_next,delay.inertialDelaySensitive[1].delayTime,delay.inertialDelaySensitive[1].lh,delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,delay.inertialDelaySensitive[1].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 6 * 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 Backend phase and start with SimCode phase: time 0.0002623/0.01646, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.000473/0.01693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.01695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.0002239/0.01717, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009907/0.01816, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002328/0.02049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.0207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 9.314e-05/0.02079, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005577/0.02135, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.743e-05/0.02137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.002935/0.0243, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.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.7868940848857164]