Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001544/0.001544, allocations: 115.1 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001917/0.001917, allocations: 206.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.366/1.366, allocations: 227.4 MB / 247.6 MB, free: 10.39 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 59.91 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2421, allocations: 50.56 MB / 409.9 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002866/0.245, allocations: 1.755 MB / 411.7 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002091/0.2471, allocations: 1.01 MB / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.177e-05/0.2472, allocations: 0 / 412.7 MB, free: 14.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.2473, allocations: 27.78 kB / 412.7 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001332/0.2475, allocations: 47.72 kB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.2478, allocations: 107.8 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005099/0.2483, allocations: 455.2 kB / 413.3 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.2485, allocations: 109.1 kB / 413.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.2495, allocations: 1.033 MB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002914/0.2498, allocations: 179.4 kB / 414.6 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001179/0.25, allocations: 32 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.2501, allocations: 39.94 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001605/0.2502, allocations: 167.4 kB / 414.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003335/0.2506, allocations: 317.9 kB / 415.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009062/0.2515, allocations: 1.075 MB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2515, allocations: 0 / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2515, allocations: 4 kB / 416.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.953e-05/0.2515, allocations: 0 / 416.3 MB, free: 11.17 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.001488/0.253, allocations: 1.281 MB / 417.5 MB, free: 9.797 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.2531, allocations: 8.031 kB / 417.6 MB, free: 9.789 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.2532, allocations: 91.89 kB / 417.6 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005938/0.2538, allocations: 455.9 kB / 418.1 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.2539, allocations: 20.38 kB / 418.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.2539, allocations: 28.38 kB / 418.1 MB, free: 9.164 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000885/0.2548, allocations: 0.5141 MB / 418.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.2549, allocations: 0 / 418.7 MB, free: 8.645 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.2549, allocations: 12 kB / 418.7 MB, free: 8.633 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2549, allocations: 4 kB / 418.7 MB, free: 8.629 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005518/0.2555, allocations: 360.1 kB / 419 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001354/0.2569, allocations: 0.8479 MB / 419.9 MB, free: 7.379 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006897/0.2576, allocations: 0.5139 MB / 420.4 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006945/0.2583, allocations: 0.4889 MB / 420.9 MB, free: 6.363 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.331e-05/0.2583, allocations: 4 kB / 420.9 MB, free: 6.359 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008437/0.2591, allocations: 0.6469 MB / 421.5 MB, free: 5.672 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 3.466e-06/0.2591, allocations: 7.922 kB / 421.5 MB, free: 5.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002363/0.2615, allocations: 1.54 MB / 423.1 MB, free: 4.078 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.2617, allocations: 283.2 kB / 423.3 MB, free: 3.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.2632, allocations: 1.168 MB / 424.5 MB, free: 2.566 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.2633, allocations: 41.7 kB / 424.6 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.2634, allocations: 153.9 kB / 424.7 MB, free: 2.363 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.2636, allocations: 75.11 kB / 424.8 MB, free: 2.289 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000276/0.2638, allocations: 201 kB / 425 MB, free: 2.086 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.264, allocations: 342.8 kB / 425.3 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005331/0.2645, allocations: 348.1 kB / 425.6 MB, free: 1.402 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005269/0.2651, allocations: 379 kB / 426 MB, free: 1.023 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001101/0.2662, allocations: 0.9596 MB / 427 MB, free: 15.97 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2662, allocations: 0 / 427 MB, free: 15.97 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00156/0.2677, allocations: 1.136 MB / 428.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001702/0.2679, allocations: 243.9 kB / 428.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2679, allocations: 8 kB / 428.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.268, allocations: 0 / 428.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.909e-05/0.268, allocations: 4 kB / 428.4 MB, free: 14.49 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.268, allocations: 7.875 kB / 428.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003261/0.2683, allocations: 35.88 kB / 428.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001386/0.2685, allocations: 132.2 kB / 428.5 MB, free: 14.32 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: 40 ($PRE.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.clock,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.delay.inertialDelaySensitive[1].x,data_1.y,reset.y,data_0.y,clock.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 (19): * Single equations (assignments): 12 * 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.0008305/0.2693, allocations: 0.7602 MB / 429.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001196/0.2695, allocations: 91.05 kB / 429.4 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.2697, allocations: 143.7 kB / 429.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.2697, allocations: 7.984 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.2697, allocations: 3.938 kB / 429.5 MB, free: 13.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008469/0.2706, allocations: 0.562 MB / 430.1 MB, free: 12.68 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001769/0.2707, allocations: 59.95 kB / 430.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.271, allocations: 31.92 kB / 430.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003761/0.2714, allocations: 219.8 kB / 430.4 MB, free: 12.37 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001994/0.2734, allocations: 1.746 MB / 432.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00187/0.2753, allocations: 1.493 MB / 433.6 MB, free: 8.934 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008134/0.2761, allocations: 0.683 MB / 434.3 MB, free: 8.254 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001168/0.2773, allocations: 0.8616 MB / 435.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Backend: time 2.81e-07/0.2773, allocations: 0 / 435.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001579/0.2789, allocations: 1.232 MB / 436.4 MB, free: 6.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.003195/0.2821, allocations: 2.516 MB / 438.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of Templates: time 0.01736/0.2994, allocations: 12.64 MB / 451.6 MB, free: 6.605 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches