Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.001878/0.001878, allocations: 106.5 kB / 21.2 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.002351/0.002351, allocations: 216.6 kB / 24.49 MB, free: 3.93 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.436/1.436, allocations: 230.6 MB / 258.3 MB, free: 7.738 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.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,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.1.0_Modelica.Electrical.Digital.Examples.DFFREGL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001577/0.001577, allocations: 51.92 kB / 379 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2226, allocations: 53.36 MB / 432.3 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DFFREGL): time 0.002856/0.2254, allocations: 1.693 MB / 434 MB, free: 4.992 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002166/0.2276, allocations: 0.959 MB / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.003e-05/0.2277, allocations: 0 / 435 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001505/0.2278, allocations: 31.72 kB / 435 MB, free: 3.996 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001461/0.228, allocations: 43.77 kB / 435.1 MB, free: 3.953 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2283, allocations: 115.8 kB / 435.2 MB, free: 3.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004934/0.2288, allocations: 419.3 kB / 435.6 MB, free: 3.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001697/0.2289, allocations: 73.17 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001093/0.23, allocations: 1.037 MB / 436.7 MB, free: 2.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.2303, allocations: 199.2 kB / 436.9 MB, free: 2.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.957e-05/0.2304, allocations: 36 kB / 436.9 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.337e-05/0.2305, allocations: 36 kB / 437 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001639/0.2307, allocations: 167.3 kB / 437.1 MB, free: 1.887 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000269/0.2309, allocations: 230.4 kB / 437.4 MB, free: 1.66 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.232, allocations: 1.077 MB / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.232, allocations: 0 / 438.4 MB, free: 0.582 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.232, allocations: 3.938 kB / 438.4 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.765e-06/0.232, allocations: 4 kB / 438.4 MB, free: 0.5742 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.001431/0.2334, allocations: 1.224 MB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2335, allocations: 8.031 kB / 439.7 MB, free: 15.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001526/0.2336, allocations: 92.38 kB / 439.8 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.2342, allocations: 402.8 kB / 440.2 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.844e-05/0.2343, allocations: 24.36 kB / 440.2 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.907e-05/0.2343, allocations: 24.38 kB / 440.2 MB, free: 14.71 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001139/0.2355, allocations: 0.7539 MB / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.2355, allocations: 0 / 441 MB, free: 13.91 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.851e-05/0.2355, allocations: 15.94 kB / 441 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2355, allocations: 7.984 kB / 441 MB, free: 13.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008087/0.2364, allocations: 0.6015 MB / 441.6 MB, free: 13.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.2377, allocations: 0.7267 MB / 442.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008293/0.2385, allocations: 0.6271 MB / 442.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007811/0.2393, allocations: 0.6105 MB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.729e-06/0.2393, allocations: 4 kB / 443.5 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.2404, allocations: 0.9017 MB / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of pre-optimization done (n=34): time 1.934e-06/0.2404, allocations: 0 / 444.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=34): time 0.002843/0.2432, allocations: 2.062 MB / 446.5 MB, free: 7.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001712/0.2434, allocations: 271.2 kB / 446.8 MB, free: 7.641 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001584/0.245, allocations: 1.18 MB / 448 MB, free: 6.449 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.187e-05/0.245, allocations: 37.7 kB / 448 MB, free: 6.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2452, allocations: 146.1 kB / 448.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.2453, allocations: 87.34 kB / 448.2 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.2456, allocations: 201.3 kB / 448.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2457, allocations: 346.8 kB / 448.8 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007456/0.2465, allocations: 0.5898 MB / 449.3 MB, free: 4.988 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007737/0.2472, allocations: 0.6316 MB / 450 MB, free: 4.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.2484, allocations: 1.007 MB / 451 MB, free: 3.203 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2484, allocations: 0 / 451 MB, free: 3.203 MB / 350.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001869/0.2503, allocations: 1.403 MB / 452.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.2505, allocations: 235.9 kB / 452.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.097e-06/0.2505, allocations: 0 / 452.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.2505, allocations: 0 / 452.6 MB, free: 1.434 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.498e-05/0.2505, allocations: 4 kB / 452.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.628e-06/0.2505, allocations: 0 / 452.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.2508, allocations: 43.92 kB / 452.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.2509, allocations: 124.2 kB / 452.8 MB, free: 1.266 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.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.0008436/0.2518, allocations: 0.7562 MB / 453.5 MB, free: 468 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000132/0.2519, allocations: 91.48 kB / 453.6 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002253/0.2521, allocations: 151.7 kB / 453.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.2521, allocations: 0 / 453.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2521, allocations: 0 / 453.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001087/0.2532, allocations: 0.5749 MB / 454.4 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001734/0.2534, allocations: 63.97 kB / 454.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.2536, allocations: 31.88 kB / 454.4 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003828/0.254, allocations: 219.8 kB / 454.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002303/0.2563, allocations: 1.992 MB / 456.7 MB, free: 13.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002232/0.2586, allocations: 1.768 MB / 458.4 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008803/0.2594, allocations: 0.6559 MB / 459.1 MB, free: 10.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001209/0.2607, allocations: 0.8655 MB / 459.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of Backend: time 3.81e-07/0.2607, allocations: 0 / 459.9 MB, free: 9.719 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001663/0.2623, allocations: 1.197 MB / 461.1 MB, free: 8.387 MB / 366.1 MB Notification: Performance of SimCode: time 0.003194/0.2655, allocations: 2.514 MB / 463.7 MB, free: 5.742 MB / 366.1 MB Notification: Performance of Templates: time 0.01888/0.2844, allocations: 13.74 MB / 477.4 MB, free: 7.883 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DFFREGL/DFFREGL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DFFREGL.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.399718234999455]