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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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: translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") translateModel(Modelica.Electrical.Digital.Examples.VectorDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_trunk_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 114.8 kB / 18.46 MB, free: 4.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001815/0.001815, allocations: 208 kB / 19.41 MB, free: 3.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2261, allocations: 50.55 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002619/0.2288, allocations: 1.496 MB / 411.4 MB, free: 88 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.2308, allocations: 0.8989 MB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.844e-05/0.2309, allocations: 4 kB / 412.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.231, allocations: 15.86 kB / 412.4 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.608e-05/0.2311, allocations: 19.88 kB / 412.4 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.2314, allocations: 59.86 kB / 412.4 MB, free: 15.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004048/0.2318, allocations: 331.3 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.232, allocations: 65.06 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006503/0.2326, allocations: 0.4912 MB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.2329, allocations: 167.3 kB / 413.5 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.274e-05/0.233, allocations: 24 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.78e-05/0.2331, allocations: 24 kB / 413.5 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001697/0.2333, allocations: 171.3 kB / 413.7 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000298/0.2336, allocations: 305.7 kB / 414 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009035/0.2345, allocations: 0.992 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.2345, allocations: 4 kB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2345, allocations: 0 / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.471e-05/0.2345, allocations: 0 / 415 MB, free: 12.53 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.001625/0.2362, allocations: 1.34 MB / 416.3 MB, free: 11.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.2362, allocations: 12.03 kB / 416.3 MB, free: 11.09 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.2364, allocations: 100.3 kB / 416.4 MB, free: 10.99 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006277/0.237, allocations: 485.9 kB / 416.9 MB, free: 10.46 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.132e-05/0.2371, allocations: 16.38 kB / 416.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.667e-05/0.2371, allocations: 16.38 kB / 416.9 MB, free: 10.43 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005456/0.2377, allocations: 320.2 kB / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.2377, allocations: 0 / 417.3 MB, free: 10.1 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.927e-05/0.2378, allocations: 15.98 kB / 417.3 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.2378, allocations: 4 kB / 417.3 MB, free: 10.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003214/0.2381, allocations: 159.8 kB / 417.4 MB, free: 9.926 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001186/0.2393, allocations: 0.9393 MB / 418.4 MB, free: 8.93 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.2397, allocations: 267.8 kB / 418.6 MB, free: 8.641 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003422/0.2401, allocations: 234.5 kB / 418.9 MB, free: 8.402 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.2401, allocations: 4 kB / 418.9 MB, free: 8.398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006516/0.2407, allocations: 0.5156 MB / 419.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of pre-optimization done (n=30): time 2.755e-06/0.2408, allocations: 0 / 419.4 MB, free: 7.824 MB / 334.1 MB Notification: Performance of matching and sorting (n=30): time 0.001652/0.2424, allocations: 1.018 MB / 420.4 MB, free: 6.762 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001326/0.2426, allocations: 285 kB / 420.7 MB, free: 6.422 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001923/0.2445, allocations: 1.435 MB / 422.1 MB, free: 4.965 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.181e-05/0.2446, allocations: 49.62 kB / 422.2 MB, free: 4.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.592e-05/0.2446, allocations: 118.5 kB / 422.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.828e-05/0.2447, allocations: 67.58 kB / 422.3 MB, free: 4.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002214/0.245, allocations: 193.2 kB / 422.5 MB, free: 4.527 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.2451, allocations: 346.7 kB / 422.9 MB, free: 4.18 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003044/0.2454, allocations: 159.8 kB / 423 MB, free: 4.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003056/0.2457, allocations: 217.9 kB / 423.2 MB, free: 3.793 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006813/0.2464, allocations: 0.6731 MB / 423.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.2464, allocations: 0 / 423.9 MB, free: 3.027 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001093/0.2475, allocations: 0.7882 MB / 424.7 MB, free: 2.195 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.2476, allocations: 190.2 kB / 424.9 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.325e-06/0.2476, allocations: 3.984 kB / 424.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2477, allocations: 4 kB / 424.9 MB, free: 1.965 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.476e-05/0.2477, allocations: 3.938 kB / 424.9 MB, free: 1.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.2477, allocations: 7.984 kB / 424.9 MB, free: 1.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002623/0.248, allocations: 31.88 kB / 424.9 MB, free: 1.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.772e-05/0.2481, allocations: 91.88 kB / 425 MB, free: 1.832 MB / 334.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.0008027/0.2489, allocations: 0.7908 MB / 425.8 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001284/0.249, allocations: 103.4 kB / 425.9 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.2493, allocations: 199.9 kB / 426.1 MB, free: 0.6914 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.2493, allocations: 3.984 kB / 426.1 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.2493, allocations: 4 kB / 426.1 MB, free: 0.6836 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008136/0.2502, allocations: 0.5857 MB / 426.7 MB, free: 80 kB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.2503, allocations: 59.91 kB / 426.8 MB, free: 20 kB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.2505, allocations: 19.98 kB / 426.8 MB, free: 0 / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001374/0.2507, allocations: 52.05 kB / 426.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001445/0.2522, allocations: 1.439 MB / 428.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001395/0.2536, allocations: 1.28 MB / 429.5 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005111/0.2541, allocations: 435.8 kB / 430 MB, free: 12.62 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001405/0.2555, allocations: 1.071 MB / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Backend: time 6.01e-07/0.2555, allocations: 0 / 431 MB, free: 11.54 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001254/0.2568, allocations: 0.8307 MB / 431.9 MB, free: 10.63 MB / 350.1 MB Notification: Performance of SimCode: time 0.003013/0.2598, allocations: 2.766 MB / 434.6 MB, free: 7.75 MB / 350.1 MB Notification: Performance of Templates: time 0.01255/0.2724, allocations: 7.964 MB / 442.6 MB, free: 15.83 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches