Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001863/0.001863, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002251/0.002251, allocations: 211.6 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001533/0.001533, allocations: 47.92 kB / 379 MB, free: 2.457 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.2367, allocations: 53.37 MB / 432.3 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGSRH): time 0.004236/0.241, allocations: 1.732 MB / 434.1 MB, free: 4.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003405/0.2444, allocations: 1.014 MB / 435.1 MB, free: 3.938 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001041/0.2445, allocations: 3.938 kB / 435.1 MB, free: 3.934 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001943/0.2447, allocations: 31.77 kB / 435.1 MB, free: 3.902 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004137/0.2451, allocations: 179.4 kB / 435.3 MB, free: 3.727 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004637/0.2456, allocations: 151.7 kB / 435.4 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009344/0.2465, allocations: 0.5694 MB / 436 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000237/0.2467, allocations: 78.12 kB / 436.1 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002105/0.2488, allocations: 1.4 MB / 437.5 MB, free: 1.531 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004529/0.2493, allocations: 235.1 kB / 437.7 MB, free: 1.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001744/0.2495, allocations: 44 kB / 437.8 MB, free: 1.258 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001659/0.2496, allocations: 40 kB / 437.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003143/0.2499, allocations: 251 kB / 438 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005015/0.2504, allocations: 309.7 kB / 438.3 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002034/0.2525, allocations: 1.482 MB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2525, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2525, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.2525, allocations: 0 / 439.8 MB, free: 15.18 MB / 350.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.002901/0.2554, allocations: 1.631 MB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.2554, allocations: 12.03 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.2557, allocations: 140.1 kB / 441.6 MB, free: 13.32 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.2568, allocations: 0.5237 MB / 442.1 MB, free: 12.76 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.2569, allocations: 28.34 kB / 442.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001241/0.257, allocations: 28.38 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/0.2591, allocations: 0.9091 MB / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.274e-05/0.2591, allocations: 0 / 443.1 MB, free: 11.74 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.473e-05/0.2592, allocations: 12 kB / 443.1 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.2592, allocations: 4 kB / 443.1 MB, free: 11.72 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.2607, allocations: 0.7395 MB / 443.9 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.2632, allocations: 0.9371 MB / 444.8 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/0.2647, allocations: 0.7615 MB / 445.6 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001469/0.2662, allocations: 0.7404 MB / 446.3 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.679e-05/0.2662, allocations: 4 kB / 446.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001924/0.2681, allocations: 1.051 MB / 447.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of pre-optimization done (n=36): time 2.835e-06/0.2681, allocations: 0 / 447.3 MB, free: 7.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=36): time 0.005065/0.2732, allocations: 2.467 MB / 449.8 MB, free: 4.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002663/0.2735, allocations: 309 kB / 450.1 MB, free: 4.223 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002722/0.2762, allocations: 1.833 MB / 451.9 MB, free: 2.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.002e-05/0.2763, allocations: 41.7 kB / 452 MB, free: 2.324 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002769/0.2766, allocations: 234.5 kB / 452.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.2767, allocations: 95.34 kB / 452.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003462/0.277, allocations: 233.2 kB / 452.5 MB, free: 1.762 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000205/0.2772, allocations: 378.7 kB / 452.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00093/0.2782, allocations: 0.7239 MB / 453.6 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/0.2792, allocations: 0.7654 MB / 454.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001503/0.2807, allocations: 1.192 MB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2807, allocations: 8 kB / 455.6 MB, free: 14.48 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.002325/0.283, allocations: 1.652 MB / 457.2 MB, free: 12.72 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002319/0.2833, allocations: 273.5 kB / 457.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2833, allocations: 0 / 457.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2833, allocations: 7.938 kB / 457.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.209e-05/0.2833, allocations: 7.938 kB / 457.5 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2833, allocations: 4 kB / 457.5 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003278/0.2836, allocations: 35.92 kB / 457.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/0.2838, allocations: 127.9 kB / 457.7 MB, free: 12.22 MB / 366.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.001216/0.285, allocations: 0.983 MB / 458.7 MB, free: 11.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.2852, allocations: 139.2 kB / 458.8 MB, free: 11.04 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.2856, allocations: 247.5 kB / 459.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.18e-05/0.2856, allocations: 4 kB / 459.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2856, allocations: 0 / 459.1 MB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/0.2869, allocations: 0.6841 MB / 459.7 MB, free: 10.1 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001938/0.2871, allocations: 63.97 kB / 459.8 MB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002798/0.2874, allocations: 27.97 kB / 459.8 MB, free: 10.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005435/0.2879, allocations: 331.8 kB / 460.2 MB, free: 9.684 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002749/0.2907, allocations: 2.295 MB / 462.5 MB, free: 7.184 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00256/0.2932, allocations: 2.057 MB / 464.5 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001048/0.2943, allocations: 0.7942 MB / 465.3 MB, free: 4.164 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001954/0.2962, allocations: 1.325 MB / 466.6 MB, free: 2.836 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2962, allocations: 4 kB / 466.6 MB, free: 2.832 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001904/0.2982, allocations: 1.406 MB / 468 MB, free: 1.277 MB / 366.1 MB Notification: Performance of SimCode: time 0.004153/0.3023, allocations: 3.3 MB / 471.3 MB, free: 13.83 MB / 382.1 MB Notification: Performance of Templates: time 0.02389/0.3262, allocations: 16.97 MB / 488.3 MB, free: 12.66 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5574458519986365]