Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 107 kB / 17.74 MB, free: 5.359 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.001024/0.001024, allocations: 186.4 kB / 18.67 MB, free: 4.438 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.311/1.311, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001033/0.001033, allocations: 43.92 kB / 352 MB, free: 3.273 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2294/0.2305, allocations: 49.44 MB / 401.4 MB, free: 8.773 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRL): time 0.002745/0.2333, allocations: 1.815 MB / 403.2 MB, free: 7.07 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.2353, allocations: 1.033 MB / 404.3 MB, free: 6.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.806e-05/0.2353, allocations: 4 kB / 404.3 MB, free: 6.027 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001609/0.2355, allocations: 31.72 kB / 404.3 MB, free: 5.996 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.2358, allocations: 183.5 kB / 404.5 MB, free: 5.816 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.2361, allocations: 135.8 kB / 404.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006036/0.2367, allocations: 0.6123 MB / 405.2 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.2369, allocations: 122 kB / 405.3 MB, free: 4.953 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001139/0.2381, allocations: 1.365 MB / 406.7 MB, free: 3.586 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002776/0.2384, allocations: 219.2 kB / 406.9 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001238/0.2385, allocations: 47.94 kB / 407 MB, free: 3.324 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001063/0.2386, allocations: 47.94 kB / 407 MB, free: 3.277 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.2388, allocations: 243.1 kB / 407.2 MB, free: 3.039 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.2392, allocations: 440.9 kB / 407.7 MB, free: 2.605 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2403, allocations: 1.473 MB / 409.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2403, allocations: 0 / 409.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2403, allocations: 0 / 409.2 MB, free: 1.129 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.2403, allocations: 0 / 409.2 MB, free: 1.129 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.001687/0.242, allocations: 1.686 MB / 410.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2421, allocations: 12.03 kB / 410.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.2423, allocations: 131.3 kB / 411 MB, free: 15.2 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006583/0.2429, allocations: 0.5751 MB / 411.6 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.997e-05/0.243, allocations: 24.38 kB / 411.6 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.2431, allocations: 28.38 kB / 411.6 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001002/0.2441, allocations: 0.6108 MB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.2441, allocations: 3.984 kB / 412.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.889e-05/0.2442, allocations: 20 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2442, allocations: 4 kB / 412.2 MB, free: 13.88 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006643/0.2448, allocations: 459.7 kB / 412.7 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001514/0.2464, allocations: 1.072 MB / 413.8 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008167/0.2472, allocations: 0.6858 MB / 414.5 MB, free: 11.6 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000811/0.248, allocations: 0.6841 MB / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.239e-05/0.248, allocations: 0 / 415.1 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009256/0.249, allocations: 0.7709 MB / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=36): time 1.733e-06/0.249, allocations: 0 / 415.9 MB, free: 10.11 MB / 334.1 MB Notification: Performance of matching and sorting (n=36): time 0.002527/0.2515, allocations: 1.864 MB / 417.8 MB, free: 8.184 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001783/0.2517, allocations: 329 kB / 418.1 MB, free: 7.801 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002259/0.254, allocations: 1.825 MB / 419.9 MB, free: 5.957 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.563e-05/0.2541, allocations: 45.69 kB / 420 MB, free: 5.906 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002429/0.2543, allocations: 242.4 kB / 420.2 MB, free: 5.664 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001146/0.2544, allocations: 79.06 kB / 420.3 MB, free: 5.586 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002915/0.2547, allocations: 240.7 kB / 420.5 MB, free: 5.344 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001973/0.2549, allocations: 378.7 kB / 420.9 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007017/0.2556, allocations: 447.7 kB / 421.3 MB, free: 4.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/0.2564, allocations: 482.2 kB / 421.8 MB, free: 4.047 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001186/0.2576, allocations: 1.165 MB / 423 MB, free: 2.773 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.2576, allocations: 0 / 423 MB, free: 2.773 MB / 334.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001723/0.2593, allocations: 1.353 MB / 424.3 MB, free: 1.363 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.2595, allocations: 289.5 kB / 424.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2595, allocations: 0 / 424.6 MB, free: 1.031 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.293e-05/0.2595, allocations: 7.938 kB / 424.6 MB, free: 1.023 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.995e-05/0.2596, allocations: 7.984 kB / 424.6 MB, free: 1.016 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.2596, allocations: 3.938 kB / 424.6 MB, free: 1.012 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003086/0.2599, allocations: 43.94 kB / 424.7 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001415/0.2601, allocations: 131.9 kB / 424.8 MB, free: 0.8398 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: 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.001072/0.2611, allocations: 0.9915 MB / 425.8 MB, free: 15.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001489/0.2613, allocations: 134.4 kB / 425.9 MB, free: 15.66 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003643/0.2617, allocations: 251.6 kB / 426.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2617, allocations: 3.984 kB / 426.2 MB, free: 15.4 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.2617, allocations: 4 kB / 426.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001024/0.2627, allocations: 0.6785 MB / 426.8 MB, free: 14.7 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.2629, allocations: 63.91 kB / 426.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002749/0.2632, allocations: 31.97 kB / 426.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004784/0.2637, allocations: 319.8 kB / 427.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002167/0.2659, allocations: 2.002 MB / 429.2 MB, free: 12.13 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0021/0.268, allocations: 1.746 MB / 431 MB, free: 10.32 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009422/0.2689, allocations: 0.8897 MB / 431.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001749/0.2707, allocations: 1.325 MB / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of Backend: time 5.71e-07/0.2707, allocations: 0 / 433.2 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001825/0.2725, allocations: 1.532 MB / 434.7 MB, free: 6.465 MB / 350.1 MB Notification: Performance of SimCode: time 0.003879/0.2764, allocations: 3.308 MB / 438 MB, free: 3.012 MB / 350.1 MB Notification: Performance of Templates: time 0.02038/0.2968, allocations: 15.68 MB / 453.7 MB, free: 3.062 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches