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.001554/0.001554, allocations: 111 kB / 18.46 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001828/0.001828, allocations: 211.9 kB / 19.42 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.359/1.359, allocations: 227.4 MB / 247.6 MB, free: 10.53 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 59.91 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2696, allocations: 50.55 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.002776/0.2725, allocations: 1.824 MB / 411.8 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002192/0.2747, allocations: 1.072 MB / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001087/0.2748, allocations: 0 / 412.8 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001639/0.275, allocations: 31.72 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002751/0.2753, allocations: 175.5 kB / 413 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003468/0.2756, allocations: 135.8 kB / 413.2 MB, free: 14.36 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000674/0.2763, allocations: 0.624 MB / 413.8 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002149/0.2765, allocations: 106 kB / 413.9 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001302/0.2778, allocations: 1.373 MB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000324/0.2782, allocations: 219.1 kB / 415.5 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001372/0.2783, allocations: 44 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001233/0.2785, allocations: 44 kB / 415.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.2787, allocations: 243.1 kB / 415.8 MB, free: 11.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004371/0.2791, allocations: 437 kB / 416.2 MB, free: 11.28 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00129/0.2804, allocations: 1.482 MB / 417.7 MB, free: 9.797 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2804, allocations: 3.984 kB / 417.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.2804, allocations: 0 / 417.7 MB, free: 9.793 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.412e-05/0.2805, allocations: 0 / 417.7 MB, free: 9.793 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.002022/0.2825, allocations: 1.729 MB / 419.5 MB, free: 7.957 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.2825, allocations: 12.03 kB / 419.5 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001843/0.2827, allocations: 136.1 kB / 419.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000588/0.2833, allocations: 0.5725 MB / 420.2 MB, free: 7.191 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.874e-05/0.2834, allocations: 28.36 kB / 420.2 MB, free: 7.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.888e-05/0.2835, allocations: 32.36 kB / 420.2 MB, free: 7.133 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001062/0.2845, allocations: 0.6108 MB / 420.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.2846, allocations: 0 / 420.8 MB, free: 6.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.2846, allocations: 16 kB / 420.9 MB, free: 6.5 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.2846, allocations: 8 kB / 420.9 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007166/0.2854, allocations: 467.6 kB / 421.3 MB, free: 6.035 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001573/0.2869, allocations: 1.08 MB / 422.4 MB, free: 4.898 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000844/0.2878, allocations: 0.6897 MB / 423.1 MB, free: 4.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008175/0.2886, allocations: 0.6843 MB / 423.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.205e-05/0.2887, allocations: 0 / 423.8 MB, free: 3.512 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009492/0.2896, allocations: 0.7477 MB / 424.5 MB, free: 2.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 2.164e-06/0.2896, allocations: 3.938 kB / 424.5 MB, free: 2.723 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002596/0.2922, allocations: 1.885 MB / 426.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001622/0.2924, allocations: 324.9 kB / 426.7 MB, free: 412 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002348/0.2948, allocations: 1.829 MB / 428.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.36e-05/0.2948, allocations: 45.7 kB / 428.6 MB, free: 14.5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002379/0.2951, allocations: 238.5 kB / 428.8 MB, free: 14.26 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.2952, allocations: 91.55 kB / 428.9 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002985/0.2955, allocations: 233.2 kB / 429.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001866/0.2957, allocations: 382.7 kB / 429.5 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.2964, allocations: 443.7 kB / 430 MB, free: 13.12 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.297, allocations: 483.3 kB / 430.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001185/0.2982, allocations: 1.176 MB / 431.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.2982, allocations: 0 / 431.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001757/0.3, allocations: 1.35 MB / 433 MB, free: 9.949 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002204/0.3002, allocations: 296.3 kB / 433.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3002, allocations: 0 / 433.2 MB, free: 9.613 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.3003, allocations: 4 kB / 433.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.642e-05/0.3003, allocations: 4 kB / 433.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.3003, allocations: 0 / 433.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002981/0.3006, allocations: 47.92 kB / 433.3 MB, free: 9.559 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.3008, allocations: 135.9 kB / 433.4 MB, free: 9.426 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.001022/0.3018, allocations: 0.983 MB / 434.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.302, allocations: 139.1 kB / 434.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003579/0.3023, allocations: 259.5 kB / 434.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.3023, allocations: 0 / 434.8 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.3023, allocations: 4 kB / 434.8 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009072/0.3032, allocations: 0.6793 MB / 435.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001831/0.3034, allocations: 67.95 kB / 435.6 MB, free: 7.215 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000261/0.3037, allocations: 31.97 kB / 435.6 MB, free: 7.184 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005212/0.3042, allocations: 327.8 kB / 435.9 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002186/0.3064, allocations: 2.005 MB / 437.9 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002108/0.3086, allocations: 1.747 MB / 439.7 MB, free: 2.887 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009679/0.3095, allocations: 0.8942 MB / 440.6 MB, free: 1.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001788/0.3113, allocations: 1.321 MB / 441.9 MB, free: 0.668 MB / 350.1 MB Notification: Performance of Backend: time 6.01e-07/0.3113, allocations: 4 kB / 441.9 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001788/0.3131, allocations: 1.535 MB / 443.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 0.003775/0.3169, allocations: 3.33 MB / 446.7 MB, free: 11.55 MB / 366.1 MB Notification: Performance of Templates: time 0.02065/0.3376, allocations: 15.67 MB / 462.4 MB, free: 11.61 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