Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001575/0.001575, allocations: 107.1 kB / 18.4 MB, free: 4.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001787, allocations: 188.5 kB / 19.34 MB, free: 3.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.27/1.27, allocations: 205.1 MB / 225.2 MB, free: 12.21 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 43.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07159/0.07274, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.VectorDelay): time 0.002324/0.0751, allocations: 1.497 MB / 377.3 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001765/0.07688, allocations: 0.9089 MB / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.905e-05/0.07694, allocations: 0 / 378.2 MB, free: 2.148 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.07707, allocations: 15.86 kB / 378.2 MB, free: 2.133 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 5.397e-05/0.07714, allocations: 23.86 kB / 378.3 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.07736, allocations: 51.86 kB / 378.3 MB, free: 2.059 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.07775, allocations: 331.4 kB / 378.6 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.07789, allocations: 69.5 kB / 378.7 MB, free: 1.668 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005101/0.07841, allocations: 0.4911 MB / 379.2 MB, free: 1.176 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002125/0.07863, allocations: 163.4 kB / 379.4 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.913e-05/0.07872, allocations: 20 kB / 379.4 MB, free: 0.9961 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.529e-05/0.0788, allocations: 24 kB / 379.4 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001589/0.07896, allocations: 187.2 kB / 379.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002467/0.07922, allocations: 297.8 kB / 379.9 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1475/0.2267, allocations: 0.9914 MB / 380.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.2268, allocations: 0.7031 kB / 380.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2268, allocations: 1.375 kB / 380.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of Transformations before backend: time 3.311e-05/0.2268, allocations: 2.75 kB / 380.9 MB, free: 10.75 MB / 318.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.001576/0.2284, allocations: 1.33 MB / 382.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2284, allocations: 9 kB / 382.2 MB, free: 9.762 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000135/0.2286, allocations: 103.9 kB / 382.3 MB, free: 9.707 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005431/0.2291, allocations: 486.4 kB / 382.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.957e-05/0.2292, allocations: 14.48 kB / 382.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.47e-05/0.2292, allocations: 23.52 kB / 382.8 MB, free: 9.348 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005271/0.2298, allocations: 303.2 kB / 383.1 MB, free: 9.293 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.2298, allocations: 5.641 kB / 383.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.173e-05/0.2298, allocations: 14.72 kB / 383.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.2298, allocations: 1.844 kB / 383.1 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003474/0.2302, allocations: 166.4 kB / 383.3 MB, free: 9.289 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.2314, allocations: 0.9388 MB / 384.2 MB, free: 8.777 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003655/0.2318, allocations: 273.4 kB / 384.5 MB, free: 8.707 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003178/0.2321, allocations: 234.6 kB / 384.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.325e-06/0.2322, allocations: 1.797 kB / 384.7 MB, free: 8.684 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000589/0.2328, allocations: 0.5194 MB / 385.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of pre-optimization done (n=30): time 1.543e-06/0.2328, allocations: 0 / 385.3 MB, free: 8.422 MB / 318.1 MB Notification: Performance of matching and sorting (n=30): time 0.001516/0.2343, allocations: 1.011 MB / 386.3 MB, free: 8.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.127e-05/0.2344, allocations: 281.7 kB / 386.6 MB, free: 7.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001794/0.2362, allocations: 1.443 MB / 388 MB, free: 7.273 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.568e-05/0.2362, allocations: 37.25 kB / 388 MB, free: 7.242 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.083e-05/0.2363, allocations: 131.4 kB / 388.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.692e-05/0.2364, allocations: 70 kB / 388.2 MB, free: 7.086 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.2366, allocations: 188.5 kB / 388.4 MB, free: 6.988 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.376e-05/0.2366, allocations: 340.8 kB / 388.7 MB, free: 6.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2369, allocations: 163 kB / 388.9 MB, free: 6.613 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002731/0.2372, allocations: 220 kB / 389.1 MB, free: 6.504 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005821/0.2378, allocations: 0.6706 MB / 389.8 MB, free: 5.969 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2378, allocations: 5.188 kB / 389.8 MB, free: 5.965 MB / 318.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009836/0.2388, allocations: 0.7785 MB / 390.6 MB, free: 5.59 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.882e-05/0.2389, allocations: 193.6 kB / 390.8 MB, free: 5.395 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.2389, allocations: 5.516 kB / 390.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2389, allocations: 2.219 kB / 390.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.538e-05/0.2389, allocations: 4.297 kB / 390.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.2389, allocations: 6.469 kB / 390.8 MB, free: 5.391 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002443/0.2392, allocations: 32.41 kB / 390.8 MB, free: 5.379 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/0.2393, allocations: 89.97 kB / 390.9 MB, free: 5.375 MB / 318.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.0007418/0.2401, allocations: 0.8022 MB / 391.7 MB, free: 4.898 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.2402, allocations: 102.8 kB / 391.8 MB, free: 4.848 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002655/0.2404, allocations: 193.3 kB / 392 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2405, allocations: 1.688 kB / 392 MB, free: 4.742 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2405, allocations: 5.969 kB / 392 MB, free: 4.738 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007692/0.2412, allocations: 0.5878 MB / 392.6 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001476/0.2414, allocations: 60.27 kB / 392.6 MB, free: 4.375 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002032/0.2416, allocations: 23.84 kB / 392.7 MB, free: 4.371 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.2417, allocations: 45.08 kB / 392.7 MB, free: 4.359 MB / 318.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001224/0.243, allocations: 1.444 MB / 394.2 MB, free: 3.344 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001217/0.2442, allocations: 1.277 MB / 395.4 MB, free: 2.562 MB / 318.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004728/0.2447, allocations: 437.2 kB / 395.9 MB, free: 2.348 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001399/0.2461, allocations: 1.071 MB / 396.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of Backend: time 5.21e-07/0.2461, allocations: 0 / 396.9 MB, free: 1.887 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001158/0.2473, allocations: 0.8339 MB / 397.8 MB, free: 1.25 MB / 318.1 MB Notification: Performance of SimCode: time 0.002787/0.2501, allocations: 2.751 MB / 400.5 MB, free: 15.51 MB / 334.1 MB Notification: Performance of Templates: time 0.01155/0.2616, allocations: 7.974 MB / 408.5 MB, free: 12.58 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/VectorDelay/VectorDelay.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.VectorDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches