Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001102/0.001103, allocations: 111 kB / 18.46 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00119/0.00119, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.329/1.329, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 67.89 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2375, allocations: 50.55 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.0026/0.2401, allocations: 1.739 MB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2421, allocations: 1.006 MB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.915e-05/0.2422, allocations: 4 kB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.2424, allocations: 31.78 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.2425, allocations: 39.72 kB / 412.8 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002716/0.2428, allocations: 103.8 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000451/0.2433, allocations: 455.3 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.2435, allocations: 105.1 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007316/0.2442, allocations: 0.7876 MB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.2445, allocations: 167.4 kB / 414.4 MB, free: 13.17 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.401e-05/0.2445, allocations: 39.94 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.901e-05/0.2446, allocations: 36 kB / 414.4 MB, free: 13.1 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2448, allocations: 171.3 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.245, allocations: 306.1 kB / 414.9 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007961/0.2458, allocations: 1.063 MB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2459, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.066e-06/0.2459, allocations: 4 kB / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.308e-06/0.2459, allocations: 0 / 416 MB, free: 11.56 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001202/0.2471, allocations: 1.265 MB / 417.2 MB, free: 10.2 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.2471, allocations: 11.97 kB / 417.2 MB, free: 10.19 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.2473, allocations: 87.91 kB / 417.3 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2477, allocations: 440 kB / 417.8 MB, free: 9.633 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.959e-05/0.2478, allocations: 24.36 kB / 417.8 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.371e-05/0.2478, allocations: 24.38 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008451/0.2487, allocations: 0.4985 MB / 418.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.2487, allocations: 0 / 418.3 MB, free: 9.082 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.2488, allocations: 19.98 kB / 418.3 MB, free: 9.062 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2488, allocations: 4 kB / 418.3 MB, free: 9.059 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005536/0.2493, allocations: 364.1 kB / 418.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001269/0.2506, allocations: 0.9219 MB / 419.6 MB, free: 7.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006428/0.2513, allocations: 0.5025 MB / 420.1 MB, free: 7.215 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006013/0.2519, allocations: 496.9 kB / 420.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.2519, allocations: 0 / 420.6 MB, free: 6.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007679/0.2527, allocations: 0.6344 MB / 421.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 7.373e-06/0.2527, allocations: 112 / 421.2 MB, free: 6.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002156/0.2549, allocations: 1.527 MB / 422.8 MB, free: 4.477 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001517/0.255, allocations: 279.3 kB / 423 MB, free: 4.148 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001403/0.2564, allocations: 1.156 MB / 424.2 MB, free: 2.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.767e-05/0.2565, allocations: 41.69 kB / 424.2 MB, free: 2.934 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001031/0.2566, allocations: 150 kB / 424.4 MB, free: 2.781 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.404e-05/0.2567, allocations: 75.16 kB / 424.4 MB, free: 2.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002397/0.257, allocations: 189 kB / 424.6 MB, free: 2.516 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2571, allocations: 342.8 kB / 425 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004986/0.2576, allocations: 343.8 kB / 425.3 MB, free: 1.836 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005081/0.2581, allocations: 371.2 kB / 425.7 MB, free: 1.465 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009905/0.2591, allocations: 0.977 MB / 426.6 MB, free: 400 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2591, allocations: 0 / 426.6 MB, free: 400 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00147/0.2606, allocations: 1.117 MB / 427.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.2608, allocations: 251.8 kB / 428 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.762e-06/0.2608, allocations: 0 / 428 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.2608, allocations: 3.938 kB / 428 MB, free: 14.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.784e-05/0.2608, allocations: 11.92 kB / 428 MB, free: 14.92 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.2609, allocations: 3.938 kB / 428 MB, free: 14.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002679/0.2611, allocations: 35.94 kB / 428.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001297/0.2613, allocations: 123.9 kB / 428.2 MB, free: 14.76 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataIn[1],dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,enable.y,$whenCondition4,$whenCondition3,$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): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0007682/0.262, allocations: 0.764 MB / 428.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2622, allocations: 91 kB / 429 MB, free: 13.85 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000204/0.2624, allocations: 143.5 kB / 429.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.2624, allocations: 7.922 kB / 429.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2624, allocations: 0 / 429.2 MB, free: 13.7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007104/0.2631, allocations: 0.562 MB / 429.7 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001528/0.2633, allocations: 55.95 kB / 429.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.2635, allocations: 27.98 kB / 429.8 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000358/0.2639, allocations: 207.8 kB / 430 MB, free: 12.83 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001842/0.2657, allocations: 1.719 MB / 431.7 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001786/0.2675, allocations: 1.471 MB / 433.2 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007954/0.2683, allocations: 0.7068 MB / 433.9 MB, free: 8.738 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001107/0.2695, allocations: 0.8538 MB / 434.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of Backend: time 3.51e-07/0.2695, allocations: 0 / 434.8 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.2711, allocations: 1.24 MB / 436 MB, free: 6.555 MB / 350.1 MB Notification: Performance of SimCode: time 0.002854/0.274, allocations: 2.485 MB / 438.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of Templates: time 0.01528/0.2893, allocations: 11.99 MB / 450.5 MB, free: 7.777 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches