Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.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.001815/0.001815, allocations: 106.8 kB / 21.19 MB, free: 0.6406 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.002177/0.002177, allocations: 214.8 kB / 24.49 MB, free: 3.934 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.519/1.519, allocations: 230.6 MB / 258.3 MB, free: 7.777 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.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG") translateModel(Modelica.Electrical.Digital.Examples.DFFREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 47.92 kB / 379 MB, free: 2.453 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.221, allocations: 53.36 MB / 432.3 MB, free: 6.711 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREG): time 0.002902/0.2239, allocations: 1.689 MB / 434 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00216/0.2261, allocations: 0.9512 MB / 435 MB, free: 4.059 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.2262, allocations: 3.938 kB / 435 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2263, allocations: 27.78 kB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001425/0.2264, allocations: 47.7 kB / 435.1 MB, free: 3.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002789/0.2267, allocations: 119.7 kB / 435.2 MB, free: 3.863 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004668/0.2272, allocations: 419.3 kB / 435.6 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.2274, allocations: 68.47 kB / 435.7 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001064/0.2284, allocations: 1.041 MB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000264/0.2287, allocations: 195.3 kB / 436.9 MB, free: 2.148 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2288, allocations: 36 kB / 436.9 MB, free: 2.113 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.515e-05/0.2289, allocations: 36 kB / 437 MB, free: 2.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001648/0.229, allocations: 171.3 kB / 437.1 MB, free: 1.91 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002715/0.2293, allocations: 226.4 kB / 437.3 MB, free: 1.688 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001025/0.2303, allocations: 1.082 MB / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2303, allocations: 0 / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2303, allocations: 0 / 438.4 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.2304, allocations: 3.938 kB / 438.4 MB, free: 0.6016 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.001445/0.2318, allocations: 1.216 MB / 439.6 MB, free: 15.31 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.732e-05/0.2318, allocations: 12.03 kB / 439.7 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/0.232, allocations: 96.38 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.2326, allocations: 398.8 kB / 440.1 MB, free: 14.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.2326, allocations: 24.36 kB / 440.2 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.178e-05/0.2327, allocations: 20.38 kB / 440.2 MB, free: 14.74 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001112/0.2338, allocations: 0.7523 MB / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.2338, allocations: 0 / 440.9 MB, free: 13.94 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.393e-05/0.2339, allocations: 16 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2339, allocations: 0 / 441 MB, free: 13.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008066/0.2347, allocations: 0.6054 MB / 441.6 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001301/0.236, allocations: 0.7423 MB / 442.3 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/0.2368, allocations: 0.6115 MB / 442.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007877/0.2376, allocations: 0.6067 MB / 443.5 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.304e-05/0.2376, allocations: 4 kB / 443.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001113/0.2387, allocations: 0.9095 MB / 444.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.863e-06/0.2387, allocations: 0 / 444.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002848/0.2416, allocations: 2.062 MB / 446.5 MB, free: 7.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001924/0.2418, allocations: 267.3 kB / 446.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.2434, allocations: 1.168 MB / 447.9 MB, free: 6.5 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.51e-05/0.2435, allocations: 53.62 kB / 448 MB, free: 6.441 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.2436, allocations: 146.1 kB / 448.1 MB, free: 6.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.2438, allocations: 83.36 kB / 448.2 MB, free: 6.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002906/0.244, allocations: 205.3 kB / 448.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.2442, allocations: 338.8 kB / 448.7 MB, free: 5.664 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007773/0.245, allocations: 0.5976 MB / 449.3 MB, free: 5.023 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007942/0.2458, allocations: 0.6276 MB / 450 MB, free: 4.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/0.247, allocations: 1.011 MB / 451 MB, free: 3.238 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.247, allocations: 0 / 451 MB, free: 3.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.00192/0.2489, allocations: 1.399 MB / 452.4 MB, free: 1.746 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001967/0.2491, allocations: 235.9 kB / 452.6 MB, free: 1.473 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.2492, allocations: 4 kB / 452.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.2492, allocations: 0 / 452.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.933e-05/0.2492, allocations: 4 kB / 452.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.2492, allocations: 0 / 452.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.2495, allocations: 43.86 kB / 452.6 MB, free: 1.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.2496, allocations: 120.2 kB / 452.8 MB, free: 1.305 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.000889/0.2505, allocations: 0.7563 MB / 453.5 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001308/0.2507, allocations: 91.48 kB / 453.6 MB, free: 416 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002395/0.2509, allocations: 155.7 kB / 453.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2509, allocations: 0 / 453.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2509, allocations: 0 / 453.8 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001103/0.252, allocations: 0.5748 MB / 454.3 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001708/0.2522, allocations: 59.97 kB / 454.4 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.2524, allocations: 27.97 kB / 454.4 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003851/0.2528, allocations: 215.8 kB / 454.6 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002392/0.2552, allocations: 2.007 MB / 456.6 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002254/0.2575, allocations: 1.764 MB / 458.4 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008697/0.2583, allocations: 0.6633 MB / 459.1 MB, free: 10.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0012/0.2595, allocations: 0.8577 MB / 459.9 MB, free: 9.758 MB / 366.1 MB Notification: Performance of Backend: time 3.7e-07/0.2595, allocations: 4 kB / 459.9 MB, free: 9.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001642/0.2612, allocations: 1.197 MB / 461.1 MB, free: 8.422 MB / 366.1 MB Notification: Performance of SimCode: time 0.003136/0.2643, allocations: 2.523 MB / 463.6 MB, free: 5.77 MB / 366.1 MB Notification: Performance of Templates: time 0.01905/0.2833, allocations: 13.71 MB / 477.4 MB, free: 7.926 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREG/DFFREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREG.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.455460031000257]