Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001279/0.001279, allocations: 106.8 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [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.001471/0.001471, allocations: 215 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [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 1.425/1.425, allocations: 230.6 MB / 258.3 MB, free: 7.781 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+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: 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_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_Modelica.Electrical.Digital.Examples.VectorDelay") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001612/0.001612, allocations: 55.91 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2302/0.2318, allocations: 53.38 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002656/0.2345, allocations: 1.47 MB / 433.8 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001975/0.2364, allocations: 0.8498 MB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.532e-05/0.2365, allocations: 4 kB / 434.7 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.2366, allocations: 15.86 kB / 434.7 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.806e-05/0.2367, allocations: 15.86 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.2369, allocations: 67.86 kB / 434.8 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003985/0.2373, allocations: 303.4 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.2375, allocations: 33.67 kB / 435.1 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005861/0.238, allocations: 0.5028 MB / 435.6 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.2383, allocations: 163.4 kB / 435.8 MB, free: 3.281 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.353e-05/0.2384, allocations: 24 kB / 435.8 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.904e-05/0.2384, allocations: 31.94 kB / 435.8 MB, free: 3.227 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000175/0.2386, allocations: 179.2 kB / 436 MB, free: 3.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002323/0.2388, allocations: 210.3 kB / 436.2 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000989/0.2398, allocations: 1.014 MB / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.2398, allocations: 0 / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.2398, allocations: 0 / 437.2 MB, free: 1.832 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.2398, allocations: 0 / 437.2 MB, free: 1.832 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.001477/0.2413, allocations: 1.26 MB / 438.5 MB, free: 0.5 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.556e-05/0.2414, allocations: 8.031 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001429/0.2415, allocations: 100.3 kB / 438.6 MB, free: 404 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007033/0.2422, allocations: 424.1 kB / 439 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.995e-05/0.2422, allocations: 20.3 kB / 439 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.592e-05/0.2423, allocations: 20.31 kB / 439 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007231/0.243, allocations: 0.5071 MB / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.243, allocations: 0 / 439.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.449e-05/0.2431, allocations: 15.98 kB / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.2431, allocations: 0 / 439.6 MB, free: 15.33 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.2436, allocations: 370 kB / 439.9 MB, free: 14.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00125/0.2448, allocations: 0.8369 MB / 440.8 MB, free: 14.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/0.2454, allocations: 429.9 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.2459, allocations: 376.7 kB / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.2459, allocations: 0 / 441.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/0.2468, allocations: 0.7365 MB / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.2468, allocations: 0 / 442.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=30): time 0.002111/0.2489, allocations: 1.441 MB / 443.7 MB, free: 10.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/0.2491, allocations: 281 kB / 444 MB, free: 10.43 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002047/0.2511, allocations: 1.45 MB / 445.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.213e-05/0.2512, allocations: 37.69 kB / 445.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.2513, allocations: 122.5 kB / 445.6 MB, free: 8.789 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.857e-05/0.2514, allocations: 67.52 kB / 445.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/0.2516, allocations: 193.2 kB / 445.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.2518, allocations: 342.8 kB / 446.2 MB, free: 8.184 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004637/0.2522, allocations: 370.1 kB / 446.5 MB, free: 7.785 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000489/0.2527, allocations: 415.2 kB / 447 MB, free: 7.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008619/0.2536, allocations: 0.7354 MB / 447.7 MB, free: 6.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2536, allocations: 4 kB / 447.7 MB, free: 6.492 MB / 350.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00144/0.255, allocations: 1.013 MB / 448.7 MB, free: 5.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.2552, allocations: 186.2 kB / 448.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.2552, allocations: 4 kB / 448.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2552, allocations: 0 / 448.9 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.708e-05/0.2552, allocations: 8 kB / 448.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.2552, allocations: 4 kB / 448.9 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002608/0.2555, allocations: 27.88 kB / 448.9 MB, free: 5.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.2556, allocations: 100 kB / 449 MB, free: 5.039 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.0009283/0.2565, allocations: 0.7937 MB / 449.8 MB, free: 4.199 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.2567, allocations: 103.4 kB / 449.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003091/0.257, allocations: 199.9 kB / 450.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.257, allocations: 0 / 450.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.257, allocations: 0 / 450.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001203/0.2582, allocations: 0.5903 MB / 450.7 MB, free: 3.301 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001633/0.2584, allocations: 55.89 kB / 450.8 MB, free: 3.246 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002201/0.2586, allocations: 23.98 kB / 450.8 MB, free: 3.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.2587, allocations: 47.95 kB / 450.8 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001877/0.2606, allocations: 1.66 MB / 452.5 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001787/0.2624, allocations: 1.501 MB / 454 MB, free: 15.77 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006169/0.263, allocations: 449.9 kB / 454.4 MB, free: 15.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001554/0.2646, allocations: 1.071 MB / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of Backend: time 6.32e-07/0.2646, allocations: 0 / 455.5 MB, free: 14.21 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001458/0.266, allocations: 0.88 MB / 456.4 MB, free: 13.21 MB / 366.1 MB Notification: Performance of SimCode: time 0.003505/0.2695, allocations: 2.757 MB / 459.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of Templates: time 0.01423/0.2837, allocations: 8.723 MB / 467.9 MB, free: 1.688 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.249721031999798]