Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGL.dFFR.clock|dFFREGL.dFFR.reset|dFFREGL.delay.inertialDelaySensitive.1..x|dFFREGL.delay.inertialDelaySensitive.1..y|dFFREGL.delay.inertialDelaySensitive.2..x|dFFREGL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 114.3 kB / 17.75 MB, free: 5.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 189.3 kB / 18.67 MB, free: 4.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009817/0.0009817, allocations: 43.92 kB / 352 MB, free: 3.25 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2249, allocations: 49.44 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002666/0.2276, allocations: 1.75 MB / 403.2 MB, free: 7.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001931/0.2296, allocations: 0.9785 MB / 404.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.086e-05/0.2296, allocations: 0 / 404.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.2298, allocations: 27.78 kB / 404.2 MB, free: 6.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001337/0.2299, allocations: 43.66 kB / 404.2 MB, free: 6.074 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002557/0.2302, allocations: 111.8 kB / 404.3 MB, free: 5.965 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.2307, allocations: 455.3 kB / 404.8 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002179/0.2309, allocations: 117.1 kB / 404.9 MB, free: 5.402 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009839/0.2319, allocations: 1.037 MB / 405.9 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.2322, allocations: 183.4 kB / 406.1 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2323, allocations: 32 kB / 406.1 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.488e-05/0.2324, allocations: 36 kB / 406.2 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.2325, allocations: 171.3 kB / 406.3 MB, free: 3.949 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003094/0.2329, allocations: 317.9 kB / 406.6 MB, free: 3.637 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000858/0.2337, allocations: 1.064 MB / 407.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.2337, allocations: 0 / 407.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2337, allocations: 0 / 407.7 MB, free: 2.57 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.2337, allocations: 0 / 407.7 MB, free: 2.57 MB / 318.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.001317/0.2351, allocations: 1.283 MB / 409 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.2351, allocations: 12.03 kB / 409 MB, free: 1.184 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/0.2352, allocations: 87.91 kB / 409.1 MB, free: 1.098 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005516/0.2358, allocations: 451.9 kB / 409.5 MB, free: 0.6133 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.2359, allocations: 24.38 kB / 409.6 MB, free: 0.5898 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.2359, allocations: 20.38 kB / 409.6 MB, free: 0.5703 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008339/0.2368, allocations: 0.5141 MB / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.2368, allocations: 0 / 410.1 MB, free: 52 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.239e-05/0.2369, allocations: 19.94 kB / 410.1 MB, free: 32 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2369, allocations: 4 kB / 410.1 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005736/0.2374, allocations: 364.1 kB / 410.5 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001241/0.2387, allocations: 0.8442 MB / 411.3 MB, free: 14.78 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006782/0.2394, allocations: 0.5101 MB / 411.8 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006394/0.24, allocations: 0.4966 MB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.396e-05/0.2401, allocations: 8 kB / 412.3 MB, free: 13.75 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008325/0.2409, allocations: 0.6476 MB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of pre-optimization done (n=34): time 1.593e-06/0.2409, allocations: 0 / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of matching and sorting (n=34): time 0.0022/0.2431, allocations: 1.535 MB / 414.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001451/0.2433, allocations: 283.2 kB / 414.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001435/0.2447, allocations: 1.164 MB / 415.9 MB, free: 9.973 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.23e-05/0.2448, allocations: 45.7 kB / 416 MB, free: 9.922 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.2449, allocations: 157.9 kB / 416.1 MB, free: 9.762 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.763e-05/0.245, allocations: 79.05 kB / 416.2 MB, free: 9.684 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002532/0.2453, allocations: 209 kB / 416.4 MB, free: 9.473 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.2454, allocations: 338.8 kB / 416.8 MB, free: 9.133 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005063/0.2459, allocations: 348.1 kB / 417.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000522/0.2464, allocations: 379 kB / 417.5 MB, free: 8.414 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.2475, allocations: 0.9713 MB / 418.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2475, allocations: 0 / 418.4 MB, free: 7.348 MB / 334.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001526/0.249, allocations: 1.129 MB / 419.6 MB, free: 6.168 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001611/0.2492, allocations: 247.8 kB / 419.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.2492, allocations: 8 kB / 419.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.2492, allocations: 0 / 419.8 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.606e-05/0.2492, allocations: 4 kB / 419.8 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.2493, allocations: 8 kB / 419.8 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002594/0.2495, allocations: 31.97 kB / 419.9 MB, free: 5.832 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001325/0.2497, allocations: 120.2 kB / 420 MB, free: 5.715 MB / 334.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.dFFREGL.delay.inertialDelaySensitive[2].y,$PRE.dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.dFFR.next_assign_val[2],dFFREGL.dFFR.next_assign_val[1],dFFREGL.dFFR.nextstate[2],dFFREGL.dFFR.nextstate[1],dFFREGL.dFFR.reset_flag,dFFREGL.dFFR.clock_flag,dFFREGL.dFFR.dataOut[2],dFFREGL.dFFR.dataOut[1],dFFREGL.dFFR.dataIn[2],dFFREGL.dFFR.dataIn[1],dFFREGL.dFFR.clock,$PRE.dFFREGL.dFFR.clock,dFFREGL.dFFR.reset,$PRE.dFFREGL.dFFR.reset,dFFREGL.delay.inertialDelaySensitive[2].t_next,dFFREGL.delay.inertialDelaySensitive[2].lh,dFFREGL.delay.inertialDelaySensitive[2].y_old,dFFREGL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[2].delayTime,dFFREGL.delay.inertialDelaySensitive[2].y,dFFREGL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGL.delay.inertialDelaySensitive[2].x,dFFREGL.delay.inertialDelaySensitive[1].t_next,dFFREGL.delay.inertialDelaySensitive[1].lh,dFFREGL.delay.inertialDelaySensitive[1].y_old,dFFREGL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGL.delay.inertialDelaySensitive[1].delayTime,dFFREGL.delay.inertialDelaySensitive[1].y,dFFREGL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGL.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.00075/0.2504, allocations: 0.764 MB / 420.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001183/0.2506, allocations: 86.97 kB / 420.8 MB, free: 4.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002026/0.2508, allocations: 151.7 kB / 421 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.2508, allocations: 0 / 421 MB, free: 4.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.2508, allocations: 11.94 kB / 421 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/0.2516, allocations: 0.5658 MB / 421.6 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.2518, allocations: 63.95 kB / 421.6 MB, free: 4 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.252, allocations: 27.98 kB / 421.6 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/0.2524, allocations: 215.8 kB / 421.9 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001871/0.2543, allocations: 1.738 MB / 423.6 MB, free: 1.887 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001806/0.2561, allocations: 1.498 MB / 425.1 MB, free: 336 kB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000762/0.2568, allocations: 0.6834 MB / 425.8 MB, free: 15.64 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.2579, allocations: 0.8577 MB / 426.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of Backend: time 1.803e-06/0.2579, allocations: 0 / 426.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001471/0.2594, allocations: 1.236 MB / 427.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of SimCode: time 0.002821/0.2622, allocations: 2.518 MB / 430.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of Templates: time 0.01524/0.2775, allocations: 12.65 MB / 443 MB, free: 13.98 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches