Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001337/0.001337, allocations: 118.3 kB / 18.46 MB, free: 4.637 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: 210.8 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002226/0.002226, allocations: 59.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2732, allocations: 50.54 MB / 409.9 MB, free: 1.59 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.002938/0.2762, allocations: 1.836 MB / 411.8 MB, free: 15.75 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.2785, allocations: 1.064 MB / 412.8 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.2786, allocations: 8 kB / 412.8 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.2788, allocations: 31.72 kB / 412.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2791, allocations: 175.4 kB / 413 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003413/0.2794, allocations: 135.8 kB / 413.2 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006363/0.2801, allocations: 0.6123 MB / 413.8 MB, free: 13.72 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002457/0.2803, allocations: 118 kB / 413.9 MB, free: 13.6 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001299/0.2816, allocations: 1.365 MB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003009/0.2819, allocations: 223.1 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001284/0.2821, allocations: 40 kB / 415.5 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2822, allocations: 44 kB / 415.6 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002326/0.2824, allocations: 247.1 kB / 415.8 MB, free: 11.69 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004364/0.2829, allocations: 440.9 kB / 416.2 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.2841, allocations: 1.471 MB / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.2841, allocations: 0 / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2841, allocations: 0 / 417.7 MB, free: 9.785 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.008e-05/0.2842, allocations: 0 / 417.7 MB, free: 9.785 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001806/0.286, allocations: 1.688 MB / 419.4 MB, free: 7.992 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/0.286, allocations: 12.03 kB / 419.4 MB, free: 7.98 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001729/0.2862, allocations: 131.3 kB / 419.5 MB, free: 7.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007182/0.2869, allocations: 0.5634 MB / 420.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.748e-05/0.287, allocations: 28.36 kB / 420.1 MB, free: 7.211 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.2871, allocations: 28.38 kB / 420.2 MB, free: 7.184 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.2882, allocations: 0.6147 MB / 420.8 MB, free: 6.562 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.2882, allocations: 3.938 kB / 420.8 MB, free: 6.559 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.166e-05/0.2883, allocations: 12 kB / 420.8 MB, free: 6.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.2883, allocations: 4 kB / 420.8 MB, free: 6.543 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006785/0.289, allocations: 471.6 kB / 421.3 MB, free: 6.082 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001671/0.2907, allocations: 1.068 MB / 422.3 MB, free: 4.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008637/0.2915, allocations: 0.7014 MB / 423 MB, free: 4.246 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008244/0.2924, allocations: 0.6843 MB / 423.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.2924, allocations: 0 / 423.7 MB, free: 3.559 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.2934, allocations: 0.7516 MB / 424.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.584e-06/0.2934, allocations: 0 / 424.5 MB, free: 2.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002662/0.2961, allocations: 1.88 MB / 426.3 MB, free: 0.832 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001891/0.2963, allocations: 329 kB / 426.7 MB, free: 460 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.2987, allocations: 1.825 MB / 428.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.882e-05/0.2988, allocations: 45.7 kB / 428.5 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002449/0.2991, allocations: 230.5 kB / 428.8 MB, free: 14.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001101/0.2992, allocations: 86.98 kB / 428.8 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.2995, allocations: 244.7 kB / 429.1 MB, free: 13.99 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001818/0.2997, allocations: 374.7 kB / 429.4 MB, free: 13.62 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006537/0.3003, allocations: 443.7 kB / 429.9 MB, free: 13.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/0.301, allocations: 482.2 kB / 430.3 MB, free: 12.7 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3022, allocations: 1.165 MB / 431.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.3022, allocations: 4 kB / 431.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001746/0.304, allocations: 1.345 MB / 432.9 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.3042, allocations: 300.4 kB / 433.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3042, allocations: 0 / 433.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.3043, allocations: 0 / 433.2 MB, free: 9.684 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.354e-05/0.3043, allocations: 7.938 kB / 433.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.086e-05/0.3043, allocations: 0 / 433.2 MB, free: 9.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003245/0.3046, allocations: 39.88 kB / 433.2 MB, free: 9.637 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/0.3048, allocations: 136 kB / 433.3 MB, free: 9.504 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: 43 ($PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.clock,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,set.y,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 (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 8 * 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.00113/0.3059, allocations: 1.002 MB / 434.3 MB, free: 8.441 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001608/0.3061, allocations: 134.4 kB / 434.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/0.3065, allocations: 247.6 kB / 434.7 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.3065, allocations: 4 kB / 434.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.3065, allocations: 0 / 434.7 MB, free: 8.055 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001033/0.3075, allocations: 0.6823 MB / 435.4 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.3077, allocations: 67.95 kB / 435.5 MB, free: 7.285 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.308, allocations: 31.97 kB / 435.5 MB, free: 7.254 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/0.3085, allocations: 323.8 kB / 435.8 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002263/0.3108, allocations: 2.001 MB / 437.8 MB, free: 4.781 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002192/0.313, allocations: 1.747 MB / 439.6 MB, free: 2.965 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009849/0.314, allocations: 0.8864 MB / 440.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001917/0.3159, allocations: 1.333 MB / 441.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of Backend: time 3.7e-07/0.3159, allocations: 0 / 441.8 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.3179, allocations: 1.535 MB / 443.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of SimCode: time 0.004054/0.322, allocations: 3.306 MB / 446.6 MB, free: 11.66 MB / 366.1 MB Notification: Performance of Templates: time 0.02208/0.3441, allocations: 15.66 MB / 462.3 MB, free: 11.72 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches