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.001096/0.001097, allocations: 107.1 kB / 18.45 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001233/0.001233, allocations: 207.9 kB / 19.4 MB, free: 3.75 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.34/1.34, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2206, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002819/0.2235, allocations: 1.762 MB / 411.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002098/0.2256, allocations: 1.013 MB / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.424e-05/0.2257, allocations: 0 / 412.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001469/0.2258, allocations: 27.73 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001388/0.226, allocations: 47.7 kB / 412.8 MB, free: 14.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002601/0.2263, allocations: 99.81 kB / 412.9 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004591/0.2267, allocations: 463.2 kB / 413.3 MB, free: 14.2 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001874/0.2269, allocations: 97.16 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009618/0.2279, allocations: 1.037 MB / 414.5 MB, free: 13.06 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002717/0.2282, allocations: 187.3 kB / 414.6 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001065/0.2283, allocations: 36 kB / 414.7 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.2284, allocations: 36 kB / 414.7 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2286, allocations: 163.3 kB / 414.9 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003111/0.2289, allocations: 318 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009156/0.2298, allocations: 1.07 MB / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.2298, allocations: 0 / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2298, allocations: 0 / 416.3 MB, free: 11.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.2298, allocations: 0 / 416.3 MB, free: 11.27 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.001253/0.2311, allocations: 1.307 MB / 417.6 MB, free: 9.863 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.2311, allocations: 11.97 kB / 417.6 MB, free: 9.852 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001264/0.2313, allocations: 92.38 kB / 417.7 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.2318, allocations: 468.6 kB / 418.1 MB, free: 9.262 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.426e-05/0.2318, allocations: 16.38 kB / 418.1 MB, free: 9.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.066e-05/0.2319, allocations: 32.34 kB / 418.2 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008603/0.2328, allocations: 0.5025 MB / 418.7 MB, free: 8.707 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2328, allocations: 4 kB / 418.7 MB, free: 8.703 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.24e-05/0.2328, allocations: 15.98 kB / 418.7 MB, free: 8.688 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.2329, allocations: 4 kB / 418.7 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005737/0.2334, allocations: 364.1 kB / 419 MB, free: 8.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/0.2346, allocations: 0.8558 MB / 419.9 MB, free: 7.422 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006683/0.2353, allocations: 0.5062 MB / 420.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006306/0.2359, allocations: 0.4928 MB / 420.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.057e-05/0.2359, allocations: 0 / 420.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008278/0.2368, allocations: 0.6464 MB / 421.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.713e-06/0.2368, allocations: 0 / 421.5 MB, free: 5.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.00226/0.2391, allocations: 1.545 MB / 423.1 MB, free: 4.137 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001556/0.2392, allocations: 287.2 kB / 423.4 MB, free: 3.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.2407, allocations: 1.168 MB / 424.5 MB, free: 2.621 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.468e-05/0.2408, allocations: 45.69 kB / 424.6 MB, free: 2.57 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.2409, allocations: 158 kB / 424.7 MB, free: 2.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001044/0.241, allocations: 83.47 kB / 424.8 MB, free: 2.328 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002592/0.2413, allocations: 197.3 kB / 425 MB, free: 2.129 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.2414, allocations: 342.8 kB / 425.4 MB, free: 1.785 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005304/0.2419, allocations: 348.1 kB / 425.7 MB, free: 1.445 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005374/0.2425, allocations: 386.9 kB / 426.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.2435, allocations: 0.9629 MB / 427 MB, free: 0 / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2435, allocations: 0 / 427 MB, free: 0 / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001563/0.2451, allocations: 1.13 MB / 428.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.2453, allocations: 243.9 kB / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.2453, allocations: 0 / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.2453, allocations: 4 kB / 428.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.852e-05/0.2454, allocations: 7.922 kB / 428.4 MB, free: 14.53 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.2454, allocations: 7.938 kB / 428.4 MB, free: 14.52 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2456, allocations: 36 kB / 428.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.2458, allocations: 128.2 kB / 428.6 MB, free: 14.36 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.0007665/0.2466, allocations: 0.7679 MB / 429.3 MB, free: 13.54 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001114/0.2467, allocations: 91.48 kB / 429.4 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002124/0.2469, allocations: 147.7 kB / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.2469, allocations: 0 / 429.6 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.2469, allocations: 3.938 kB / 429.6 MB, free: 13.29 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000747/0.2477, allocations: 0.578 MB / 430.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.2479, allocations: 59.97 kB / 430.2 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2481, allocations: 27.97 kB / 430.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003658/0.2485, allocations: 215.8 kB / 430.5 MB, free: 12.4 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002037/0.2505, allocations: 1.734 MB / 432.2 MB, free: 10.53 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001879/0.2524, allocations: 1.494 MB / 433.7 MB, free: 8.973 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007834/0.2532, allocations: 0.6911 MB / 434.4 MB, free: 8.281 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001097/0.2543, allocations: 0.8577 MB / 435.2 MB, free: 7.426 MB / 350.1 MB Notification: Performance of Backend: time 5.61e-07/0.2543, allocations: 4 kB / 435.2 MB, free: 7.422 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.2559, allocations: 1.235 MB / 436.5 MB, free: 6.098 MB / 350.1 MB Notification: Performance of SimCode: time 0.002899/0.2588, allocations: 2.533 MB / 439 MB, free: 3.438 MB / 350.1 MB Notification: Performance of Templates: time 0.01636/0.2752, allocations: 12.64 MB / 451.6 MB, free: 6.602 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