Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.001733/0.001733, allocations: 106.8 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.001497/0.001497, allocations: 217.1 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 7.773 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.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRL.delay.inertialDelaySensitive.1..x|dLATREGSRL.delay.inertialDelaySensitive.1..y|dLATREGSRL.delay.inertialDelaySensitive.2..x|dLATREGSRL.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2118, allocations: 53.36 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRL): time 0.003027/0.2148, allocations: 1.721 MB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002325/0.2172, allocations: 1.025 MB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.517e-05/0.2173, allocations: 7.938 kB / 435.1 MB, free: 3.957 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001616/0.2174, allocations: 39.7 kB / 435.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2177, allocations: 171.5 kB / 435.3 MB, free: 3.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003634/0.2181, allocations: 151.7 kB / 435.4 MB, free: 3.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006796/0.2188, allocations: 0.5772 MB / 436 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001727/0.2189, allocations: 69.44 kB / 436.1 MB, free: 2.957 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.2202, allocations: 1.15 MB / 437.2 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003202/0.2205, allocations: 211.2 kB / 437.4 MB, free: 1.598 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001382/0.2206, allocations: 44 kB / 437.5 MB, free: 1.555 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.2207, allocations: 44 kB / 437.5 MB, free: 1.512 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002411/0.221, allocations: 270.9 kB / 437.8 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003542/0.2213, allocations: 305.7 kB / 438.1 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001451/0.2228, allocations: 1.494 MB / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.2228, allocations: 0 / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2228, allocations: 0 / 439.6 MB, free: 15.45 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.757e-05/0.2228, allocations: 3.938 kB / 439.6 MB, free: 15.45 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.002129/0.2249, allocations: 1.65 MB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.225, allocations: 11.97 kB / 441.3 MB, free: 13.7 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002133/0.2252, allocations: 144 kB / 441.4 MB, free: 13.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007922/0.226, allocations: 0.5319 MB / 441.9 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.878e-05/0.226, allocations: 20.38 kB / 442 MB, free: 12.97 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.2261, allocations: 32.38 kB / 442 MB, free: 12.94 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.2274, allocations: 0.9131 MB / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/0.2275, allocations: 0 / 442.9 MB, free: 11.97 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.322e-05/0.2275, allocations: 16 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.2275, allocations: 0 / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/0.2285, allocations: 0.7551 MB / 443.7 MB, free: 11.15 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2304, allocations: 1.023 MB / 444.7 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001014/0.2314, allocations: 0.7537 MB / 445.4 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009548/0.2324, allocations: 0.7488 MB / 446.2 MB, free: 8.477 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.318e-06/0.2324, allocations: 4 kB / 446.2 MB, free: 8.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001297/0.2337, allocations: 1.04 MB / 447.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.803e-06/0.2337, allocations: 0 / 447.2 MB, free: 7.344 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003387/0.2371, allocations: 2.488 MB / 449.7 MB, free: 4.703 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002304/0.2373, allocations: 316.9 kB / 450 MB, free: 4.332 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0026/0.2399, allocations: 1.85 MB / 451.9 MB, free: 2.465 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.788e-05/0.24, allocations: 41.7 kB / 451.9 MB, free: 2.418 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00029/0.2403, allocations: 250.5 kB / 452.2 MB, free: 2.168 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001235/0.2404, allocations: 83.42 kB / 452.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003247/0.2407, allocations: 225.2 kB / 452.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002228/0.2409, allocations: 382.7 kB / 452.8 MB, free: 1.477 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009747/0.2419, allocations: 0.7356 MB / 453.6 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009853/0.2429, allocations: 0.7628 MB / 454.3 MB, free: 15.87 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.2444, allocations: 1.189 MB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2444, allocations: 0 / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002262/0.2466, allocations: 1.675 MB / 457.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002254/0.2468, allocations: 273.5 kB / 457.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2468, allocations: 4.062 kB / 457.5 MB, free: 12.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.2469, allocations: 11.88 kB / 457.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.496e-05/0.2469, allocations: 4 kB / 457.5 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.2469, allocations: 4 kB / 457.5 MB, free: 12.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003085/0.2472, allocations: 39.86 kB / 457.5 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001658/0.2474, allocations: 128.2 kB / 457.7 MB, free: 12.29 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: 37 ($PRE.dLATREGSRL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.dLATSR.next_assign_val[2],dLATREGSRL.dLATSR.next_assign_val[1],dLATREGSRL.dLATSR.nextstate[2],dLATREGSRL.dLATSR.nextstate[1],dLATREGSRL.dLATSR.reset_set_flag,dLATREGSRL.dLATSR.enable_flag,dLATREGSRL.dLATSR.dataOut[2],dLATREGSRL.dLATSR.dataOut[1],dLATREGSRL.dLATSR.dataIn[2],dLATREGSRL.dLATSR.dataIn[1],dLATREGSRL.delay.inertialDelaySensitive[2].t_next,dLATREGSRL.delay.inertialDelaySensitive[2].lh,dLATREGSRL.delay.inertialDelaySensitive[2].y_old,dLATREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[2].delayTime,dLATREGSRL.delay.inertialDelaySensitive[2].y,dLATREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[2].x,dLATREGSRL.delay.inertialDelaySensitive[1].t_next,dLATREGSRL.delay.inertialDelaySensitive[1].lh,dLATREGSRL.delay.inertialDelaySensitive[1].y_old,dLATREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRL.delay.inertialDelaySensitive[1].delayTime,dLATREGSRL.delay.inertialDelaySensitive[1].y,dLATREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRL.delay.inertialDelaySensitive[1].x,set.y,data_1.y,reset.y,data_0.y,enable.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 (16): * Single equations (assignments): 8 * 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.001148/0.2485, allocations: 0.9686 MB / 458.6 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001845/0.2487, allocations: 143.1 kB / 458.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004009/0.2491, allocations: 251.9 kB / 459 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.2491, allocations: 7.938 kB / 459 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2491, allocations: 0 / 459 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001299/0.2504, allocations: 0.6799 MB / 459.7 MB, free: 10.17 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001906/0.2506, allocations: 59.97 kB / 459.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002723/0.2509, allocations: 27.97 kB / 459.8 MB, free: 10.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005843/0.2515, allocations: 351.7 kB / 460.1 MB, free: 9.742 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002717/0.2542, allocations: 2.284 MB / 462.4 MB, free: 7.254 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00254/0.2567, allocations: 2.05 MB / 464.5 MB, free: 5.086 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001049/0.2578, allocations: 0.8098 MB / 465.3 MB, free: 4.227 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001904/0.2597, allocations: 1.337 MB / 466.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of Backend: time 4.31e-07/0.2597, allocations: 4 kB / 466.6 MB, free: 2.883 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001916/0.2616, allocations: 1.417 MB / 468 MB, free: 1.312 MB / 366.1 MB Notification: Performance of SimCode: time 0.004303/0.2659, allocations: 3.356 MB / 471.4 MB, free: 13.82 MB / 382.1 MB Notification: Performance of Templates: time 0.02247/0.2884, allocations: 15.94 MB / 487.3 MB, free: 13.69 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGSRL/DLATREGSRL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRL.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.4689257639984135]