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.001105/0.001105, allocations: 118.3 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00122/0.00122, allocations: 202.7 kB / 19.41 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2422, allocations: 50.55 MB / 409.9 MB, free: 1.605 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.002798/0.245, allocations: 1.817 MB / 411.7 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002096/0.2471, allocations: 1.068 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.589e-05/0.2472, allocations: 4 kB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001962/0.2474, allocations: 31.72 kB / 412.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002551/0.2477, allocations: 175.5 kB / 413 MB, free: 14.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003322/0.248, allocations: 143.8 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005978/0.2486, allocations: 0.6123 MB / 413.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002199/0.2489, allocations: 122 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001173/0.2501, allocations: 1.361 MB / 415.3 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002763/0.2503, allocations: 219.2 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.2505, allocations: 44 kB / 415.5 MB, free: 12 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001152/0.2506, allocations: 47.94 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001966/0.2508, allocations: 247 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003781/0.2512, allocations: 448.9 kB / 416.2 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00106/0.2523, allocations: 1.456 MB / 417.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.2523, allocations: 0 / 417.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2523, allocations: 0 / 417.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.2523, allocations: 0 / 417.7 MB, free: 9.812 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.001602/0.2539, allocations: 1.68 MB / 419.4 MB, free: 8.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2539, allocations: 12.03 kB / 419.4 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.2541, allocations: 131.3 kB / 419.5 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006861/0.2548, allocations: 0.5751 MB / 420.1 MB, free: 7.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.131e-05/0.2549, allocations: 24.38 kB / 420.1 MB, free: 7.238 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.704e-05/0.2549, allocations: 32.38 kB / 420.1 MB, free: 7.207 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.256, allocations: 0.6069 MB / 420.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.256, allocations: 3.984 kB / 420.8 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.013e-05/0.2561, allocations: 16 kB / 420.8 MB, free: 6.574 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-06/0.2561, allocations: 4 kB / 420.8 MB, free: 6.57 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007093/0.2568, allocations: 463.6 kB / 421.2 MB, free: 6.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001561/0.2584, allocations: 1.072 MB / 422.3 MB, free: 4.988 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008733/0.2593, allocations: 0.6936 MB / 423 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008431/0.2601, allocations: 0.6805 MB / 423.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.065e-06/0.2601, allocations: 0 / 423.7 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009434/0.2611, allocations: 0.7554 MB / 424.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.714e-06/0.2611, allocations: 0 / 424.4 MB, free: 2.809 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002775/0.2639, allocations: 1.872 MB / 426.3 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001928/0.2641, allocations: 329.1 kB / 426.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002429/0.2665, allocations: 1.825 MB / 428.5 MB, free: 14.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.605e-05/0.2666, allocations: 49.69 kB / 428.5 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002368/0.2668, allocations: 234.4 kB / 428.7 MB, free: 14.36 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001076/0.267, allocations: 90.88 kB / 428.8 MB, free: 14.27 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003649/0.2673, allocations: 240.7 kB / 429.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002585/0.2676, allocations: 378.7 kB / 429.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006398/0.2682, allocations: 443.7 kB / 429.9 MB, free: 13.22 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006328/0.2689, allocations: 489.6 kB / 430.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.2701, allocations: 1.161 MB / 431.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.2701, allocations: 0 / 431.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001834/0.272, allocations: 1.349 MB / 432.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001965/0.2722, allocations: 292.5 kB / 433.1 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.2722, allocations: 4.062 kB / 433.1 MB, free: 9.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.2722, allocations: 4 kB / 433.1 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.387e-05/0.2723, allocations: 7.984 kB / 433.1 MB, free: 9.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2723, allocations: 3.984 kB / 433.1 MB, free: 9.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003103/0.2726, allocations: 39.88 kB / 433.2 MB, free: 9.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.2727, allocations: 127.9 kB / 433.3 MB, free: 9.543 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.001106/0.2739, allocations: 0.9984 MB / 434.3 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002421/0.2741, allocations: 138.4 kB / 434.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003451/0.2745, allocations: 251.6 kB / 434.7 MB, free: 8.094 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.2745, allocations: 3.984 kB / 434.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.2745, allocations: 0 / 434.7 MB, free: 8.09 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001073/0.2756, allocations: 0.6823 MB / 435.4 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/0.2757, allocations: 59.97 kB / 435.4 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002721/0.276, allocations: 31.97 kB / 435.5 MB, free: 7.297 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004826/0.2765, allocations: 323.8 kB / 435.8 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002409/0.2789, allocations: 2.009 MB / 437.8 MB, free: 4.816 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002054/0.281, allocations: 1.743 MB / 439.5 MB, free: 3.004 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009305/0.2819, allocations: 0.8825 MB / 440.4 MB, free: 2.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001752/0.2837, allocations: 1.329 MB / 441.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2837, allocations: 0 / 441.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0019/0.2856, allocations: 1.535 MB / 443.3 MB, free: 15.15 MB / 366.1 MB Notification: Performance of SimCode: time 0.003956/0.2896, allocations: 3.314 MB / 446.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.0216/0.3112, allocations: 15.67 MB / 462.3 MB, free: 11.76 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