Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREG.dFFR.clock|dFFREG.dFFR.reset|dFFREG.delay.inertialDelaySensitive.1..x|dFFREG.delay.inertialDelaySensitive.1..y|dFFREG.delay.inertialDelaySensitive.2..x|dFFREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001309, allocations: 114.8 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.001475/0.001475, allocations: 208 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.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 63.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2644, allocations: 50.53 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002602/0.2671, allocations: 1.755 MB / 411.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002164/0.2692, allocations: 1.013 MB / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.2693, allocations: 0 / 412.7 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.2695, allocations: 31.77 kB / 412.7 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.2696, allocations: 39.73 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002596/0.2699, allocations: 103.8 kB / 412.9 MB, free: 14.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004549/0.2704, allocations: 467.2 kB / 413.3 MB, free: 14.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002019/0.2706, allocations: 105.1 kB / 413.4 MB, free: 14.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008996/0.2715, allocations: 1.029 MB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000259/0.2717, allocations: 179.4 kB / 414.6 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.2719, allocations: 36 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.986e-05/0.272, allocations: 36 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.2721, allocations: 171.3 kB / 414.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003258/0.2725, allocations: 321.9 kB / 415.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008573/0.2733, allocations: 1.067 MB / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2733, allocations: 0 / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of FrontEnd: time 9.32e-07/0.2734, allocations: 0 / 416.2 MB, free: 11.22 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.944e-06/0.2734, allocations: 0 / 416.2 MB, free: 11.22 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.001239/0.2746, allocations: 1.281 MB / 417.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.2747, allocations: 8.031 kB / 417.5 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001299/0.2748, allocations: 87.91 kB / 417.6 MB, free: 9.754 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005619/0.2754, allocations: 459.9 kB / 418.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.2754, allocations: 20.36 kB / 418.1 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.683e-05/0.2755, allocations: 28.38 kB / 418.1 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.2764, allocations: 0.5063 MB / 418.6 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2764, allocations: 3.938 kB / 418.6 MB, free: 8.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.613e-05/0.2764, allocations: 12 kB / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.2764, allocations: 0 / 418.6 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.277, allocations: 364.1 kB / 419 MB, free: 8.332 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001266/0.2783, allocations: 0.8557 MB / 419.9 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006536/0.279, allocations: 0.5101 MB / 420.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006784/0.2797, allocations: 0.4927 MB / 420.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.032e-05/0.2797, allocations: 0 / 420.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008353/0.2805, allocations: 0.6508 MB / 421.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.703e-06/0.2805, allocations: 0 / 421.5 MB, free: 5.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.002258/0.2828, allocations: 1.544 MB / 423.1 MB, free: 4.133 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001489/0.283, allocations: 287.2 kB / 423.3 MB, free: 3.797 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.2845, allocations: 1.164 MB / 424.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.545e-05/0.2845, allocations: 41.7 kB / 424.5 MB, free: 2.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001074/0.2847, allocations: 145.9 kB / 424.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001261/0.2848, allocations: 79.09 kB / 424.8 MB, free: 2.348 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/0.2851, allocations: 208.9 kB / 425 MB, free: 2.137 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2852, allocations: 338.8 kB / 425.3 MB, free: 1.797 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005295/0.2858, allocations: 356 kB / 425.6 MB, free: 1.449 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005303/0.2863, allocations: 383 kB / 426 MB, free: 1.066 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/0.2875, allocations: 0.9635 MB / 427 MB, free: 8 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.2875, allocations: 0 / 427 MB, free: 8 kB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001553/0.289, allocations: 1.128 MB / 428.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001812/0.2892, allocations: 251.9 kB / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.2892, allocations: 0 / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.2893, allocations: 0 / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.574e-05/0.2893, allocations: 4 kB / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2893, allocations: 3.938 kB / 428.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.2896, allocations: 35.89 kB / 428.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001423/0.2898, allocations: 128.2 kB / 428.5 MB, free: 14.37 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.dFFREG.delay.inertialDelaySensitive[2].y,$PRE.dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.dFFR.next_assign_val[2],dFFREG.dFFR.next_assign_val[1],dFFREG.dFFR.nextstate[2],dFFREG.dFFR.nextstate[1],dFFREG.dFFR.reset_flag,dFFREG.dFFR.clock_flag,dFFREG.dFFR.dataOut[2],dFFREG.dFFR.dataOut[1],dFFREG.dFFR.dataIn[2],dFFREG.dFFR.dataIn[1],dFFREG.dFFR.clock,$PRE.dFFREG.dFFR.clock,dFFREG.dFFR.reset,$PRE.dFFREG.dFFR.reset,dFFREG.delay.inertialDelaySensitive[2].t_next,dFFREG.delay.inertialDelaySensitive[2].lh,dFFREG.delay.inertialDelaySensitive[2].y_old,dFFREG.delay.inertialDelaySensitive[2].y_auxiliary,dFFREG.delay.inertialDelaySensitive[2].delayTime,dFFREG.delay.inertialDelaySensitive[2].y,dFFREG.delay.inertialDelaySensitive[2].x,$PRE.dFFREG.delay.inertialDelaySensitive[2].x,dFFREG.delay.inertialDelaySensitive[1].t_next,dFFREG.delay.inertialDelaySensitive[1].lh,dFFREG.delay.inertialDelaySensitive[1].y_old,dFFREG.delay.inertialDelaySensitive[1].y_auxiliary,dFFREG.delay.inertialDelaySensitive[1].delayTime,dFFREG.delay.inertialDelaySensitive[1].y,dFFREG.delay.inertialDelaySensitive[1].x,$PRE.dFFREG.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.0009117/0.2907, allocations: 0.7679 MB / 429.3 MB, free: 13.55 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001207/0.2908, allocations: 87.06 kB / 429.4 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002077/0.291, allocations: 151.7 kB / 429.5 MB, free: 13.31 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.291, allocations: 3.984 kB / 429.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.291, allocations: 3.938 kB / 429.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008427/0.2919, allocations: 0.5621 MB / 430.1 MB, free: 12.72 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/0.2921, allocations: 59.97 kB / 430.1 MB, free: 12.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003124/0.2924, allocations: 23.97 kB / 430.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003508/0.2927, allocations: 223.8 kB / 430.4 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002243/0.295, allocations: 1.746 MB / 432.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001963/0.297, allocations: 1.489 MB / 433.6 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009336/0.2979, allocations: 0.6794 MB / 434.3 MB, free: 8.309 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001203/0.2991, allocations: 0.8655 MB / 435.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Backend: time 2.6e-07/0.2991, allocations: 0 / 435.2 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00165/0.3008, allocations: 1.235 MB / 436.4 MB, free: 6.121 MB / 350.1 MB Notification: Performance of SimCode: time 0.0032/0.304, allocations: 2.503 MB / 438.9 MB, free: 3.488 MB / 350.1 MB Notification: Performance of Templates: time 0.02031/0.3243, allocations: 12.64 MB / 451.5 MB, free: 6.656 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREG/DFFREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches