Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001766/0.001766, allocations: 112.3 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [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.00226/0.00226, allocations: 211.4 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 258.1 MB, free: 8.137 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5008,variableFilter="time|delay.inertialDelaySensitive.1..x|delay.inertialDelaySensitive.1..y|delay.inertialDelaySensitive.2..x|delay.inertialDelaySensitive.2..y|delay.inertialDelaySensitive.3..x|delay.inertialDelaySensitive.3..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 71.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2171, allocations: 53.31 MB / 432.1 MB, free: 7.352 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002621/0.2197, allocations: 1.525 MB / 433.6 MB, free: 5.824 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2216, allocations: 0.8966 MB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.803e-05/0.2216, allocations: 4 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001074/0.2217, allocations: 19.78 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.919e-05/0.2218, allocations: 23.81 kB / 434.5 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002225/0.222, allocations: 55.86 kB / 434.6 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003783/0.2224, allocations: 303.4 kB / 434.9 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.2225, allocations: 33.55 kB / 434.9 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005761/0.2231, allocations: 0.4912 MB / 435.4 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002505/0.2233, allocations: 171.3 kB / 435.6 MB, free: 3.828 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.026e-05/0.2234, allocations: 24 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.032e-05/0.2234, allocations: 24 kB / 435.6 MB, free: 3.781 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000179/0.2236, allocations: 191.2 kB / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002789/0.2239, allocations: 297.8 kB / 436.1 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.2248, allocations: 0.9975 MB / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.2248, allocations: 0 / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.2248, allocations: 0 / 437.1 MB, free: 2.301 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.623e-06/0.2248, allocations: 8 kB / 437.1 MB, free: 2.293 MB / 334.1 MB 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.001447/0.2263, allocations: 1.32 MB / 438.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.521e-05/0.2263, allocations: 8.031 kB / 438.4 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001416/0.2265, allocations: 100.3 kB / 438.5 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006956/0.2272, allocations: 497.8 kB / 439 MB, free: 244 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.774e-05/0.2272, allocations: 20.31 kB / 439 MB, free: 224 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/0.2272, allocations: 12.38 kB / 439 MB, free: 212 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005475/0.2278, allocations: 320.8 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.2278, allocations: 3.938 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.584e-05/0.2278, allocations: 8 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2278, allocations: 0 / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.2282, allocations: 171.9 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.2295, allocations: 0.9392 MB / 440.5 MB, free: 14.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003834/0.2299, allocations: 211.7 kB / 440.7 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.2302, allocations: 174.5 kB / 440.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.313e-05/0.2302, allocations: 8 kB / 440.9 MB, free: 14.28 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006959/0.2309, allocations: 0.5117 MB / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.442e-06/0.2309, allocations: 0 / 441.4 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.001681/0.2326, allocations: 1.022 MB / 442.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001704/0.2328, allocations: 281 kB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/0.2347, allocations: 1.443 MB / 444.1 MB, free: 10.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.706e-05/0.2348, allocations: 45.69 kB / 444.2 MB, free: 10.79 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2349, allocations: 122.5 kB / 444.3 MB, free: 10.67 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.475e-05/0.235, allocations: 71.53 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002275/0.2352, allocations: 193.2 kB / 444.5 MB, free: 10.4 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001545/0.2353, allocations: 334.8 kB / 444.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003037/0.2356, allocations: 167.9 kB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.236, allocations: 213.9 kB / 445.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000772/0.2367, allocations: 0.6809 MB / 445.9 MB, free: 8.902 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2367, allocations: 3.938 kB / 445.9 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001164/0.2379, allocations: 0.7765 MB / 446.7 MB, free: 8.078 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.2381, allocations: 190.2 kB / 446.9 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.2381, allocations: 4 kB / 446.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.2381, allocations: 0 / 446.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.628e-05/0.2381, allocations: 7.938 kB / 446.9 MB, free: 7.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/0.2381, allocations: 4 kB / 446.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.2384, allocations: 31.88 kB / 446.9 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001188/0.2385, allocations: 104 kB / 447 MB, free: 7.707 MB / 350.1 MB 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.0008769/0.2394, allocations: 0.7779 MB / 447.8 MB, free: 6.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2395, allocations: 99.67 kB / 447.9 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002785/0.2398, allocations: 199.9 kB / 448.1 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.2398, allocations: 3.984 kB / 448.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2398, allocations: 0 / 448.1 MB, free: 6.582 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009964/0.2408, allocations: 0.5896 MB / 448.7 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.2409, allocations: 59.89 kB / 448.7 MB, free: 5.914 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.2411, allocations: 23.98 kB / 448.8 MB, free: 5.891 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.2413, allocations: 51.88 kB / 448.8 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001603/0.2429, allocations: 1.431 MB / 450.3 MB, free: 4.289 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001521/0.2444, allocations: 1.3 MB / 451.6 MB, free: 2.934 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003984/0.2448, allocations: 223.9 kB / 451.8 MB, free: 2.715 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001488/0.2463, allocations: 1.079 MB / 452.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of Backend: time 4.31e-07/0.2463, allocations: 0 / 452.9 MB, free: 1.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.2475, allocations: 0.6692 MB / 453.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of SimCode: time 0.003317/0.2508, allocations: 2.753 MB / 456.3 MB, free: 13.99 MB / 366.1 MB Notification: Performance of Templates: time 0.01304/0.2639, allocations: 8.065 MB / 464.3 MB, free: 5.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.2938611172139645]