Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00182/0.00182, allocations: 112.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.002135/0.002135, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.418/1.418, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 63.91 kB / 359.4 MB, free: 12.95 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2849/0.2862, allocations: 50.54 MB / 409.9 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.003209/0.2894, allocations: 1.825 MB / 411.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.2919, allocations: 1.068 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.292, allocations: 0 / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001837/0.2923, allocations: 39.72 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.2926, allocations: 167.5 kB / 413 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003718/0.2929, allocations: 143.8 kB / 413.2 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006787/0.2936, allocations: 0.6084 MB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.2939, allocations: 112.8 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001326/0.2952, allocations: 1.365 MB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004147/0.2956, allocations: 215.2 kB / 415.5 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001735/0.2958, allocations: 48 kB / 415.5 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.2959, allocations: 47.94 kB / 415.6 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2962, allocations: 247 kB / 415.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000449/0.2966, allocations: 441 kB / 416.2 MB, free: 11.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001207/0.2978, allocations: 1.46 MB / 417.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2979, allocations: 0 / 417.7 MB, free: 9.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.2979, allocations: 3.938 kB / 417.7 MB, free: 9.836 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.533e-05/0.2979, allocations: 0 / 417.7 MB, free: 9.836 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.001809/0.2997, allocations: 1.68 MB / 419.4 MB, free: 8.051 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.2998, allocations: 12.03 kB / 419.4 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.2999, allocations: 135.3 kB / 419.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007214/0.3007, allocations: 0.5751 MB / 420.1 MB, free: 7.281 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.32e-05/0.3007, allocations: 20.38 kB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.984e-05/0.3008, allocations: 28.38 kB / 420.1 MB, free: 7.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.3019, allocations: 0.6108 MB / 420.7 MB, free: 6.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.3019, allocations: 4 kB / 420.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.227e-05/0.302, allocations: 19.98 kB / 420.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.302, allocations: 4 kB / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006902/0.3027, allocations: 463.6 kB / 421.2 MB, free: 6.137 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001603/0.3043, allocations: 1.084 MB / 422.3 MB, free: 4.996 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.3051, allocations: 0.6897 MB / 423 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000851/0.306, allocations: 0.6805 MB / 423.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.145e-05/0.306, allocations: 0 / 423.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009904/0.307, allocations: 0.7476 MB / 424.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.264e-06/0.307, allocations: 0 / 424.4 MB, free: 2.828 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002633/0.3097, allocations: 1.876 MB / 426.3 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001874/0.3099, allocations: 325.1 kB / 426.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002493/0.3124, allocations: 1.833 MB / 428.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.223e-05/0.3125, allocations: 45.69 kB / 428.5 MB, free: 14.61 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002575/0.3127, allocations: 238.4 kB / 428.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001328/0.3129, allocations: 90.88 kB / 428.8 MB, free: 14.29 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003152/0.3132, allocations: 236.7 kB / 429.1 MB, free: 14.05 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3134, allocations: 386.7 kB / 429.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.3141, allocations: 435.7 kB / 429.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006634/0.3147, allocations: 489.6 kB / 430.3 MB, free: 12.75 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/0.316, allocations: 1.161 MB / 431.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.316, allocations: 4 kB / 431.5 MB, free: 11.48 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001848/0.3179, allocations: 1.345 MB / 432.8 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002151/0.3181, allocations: 293.5 kB / 433.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/0.3181, allocations: 0 / 433.1 MB, free: 9.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3181, allocations: 4 kB / 433.1 MB, free: 9.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.801e-05/0.3182, allocations: 8 kB / 433.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.3182, allocations: 0 / 433.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003531/0.3186, allocations: 35.88 kB / 433.2 MB, free: 9.691 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001616/0.3187, allocations: 131.9 kB / 433.3 MB, free: 9.562 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.dFFREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.clock,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.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.001288/0.32, allocations: 1.006 MB / 434.3 MB, free: 8.496 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001865/0.3202, allocations: 130.4 kB / 434.4 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004362/0.3207, allocations: 247.6 kB / 434.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.3207, allocations: 3.938 kB / 434.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3207, allocations: 0 / 434.7 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001322/0.322, allocations: 0.6862 MB / 435.4 MB, free: 7.406 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/0.3223, allocations: 59.97 kB / 435.4 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002877/0.3226, allocations: 35.97 kB / 435.5 MB, free: 7.312 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005248/0.3231, allocations: 319.8 kB / 435.8 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002374/0.3255, allocations: 2.012 MB / 437.8 MB, free: 4.832 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002447/0.328, allocations: 1.743 MB / 439.5 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001003/0.329, allocations: 0.8864 MB / 440.4 MB, free: 2.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002141/0.3311, allocations: 1.321 MB / 441.7 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of Backend: time 3.5e-07/0.3312, allocations: 4 kB / 441.7 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001939/0.3331, allocations: 1.546 MB / 443.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.004665/0.3378, allocations: 3.291 MB / 446.6 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Templates: time 0.02381/0.3616, allocations: 15.66 MB / 462.2 MB, free: 11.78 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DFFREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches