Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001539/0.001539, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002663/0.002663, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.414/1.414, allocations: 230.4 MB / 258.1 MB, free: 8.141 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 71.83 kB / 378.7 MB, free: 2.879 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2358/0.2378, allocations: 53.31 MB / 432.1 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.002942/0.2407, allocations: 1.829 MB / 433.9 MB, free: 5.527 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00232/0.2431, allocations: 1.08 MB / 435 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.2432, allocations: 3.938 kB / 435 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2433, allocations: 31.78 kB / 435 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.2436, allocations: 175.4 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.2439, allocations: 139.8 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.2446, allocations: 0.5655 MB / 435.9 MB, free: 3.531 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001714/0.2447, allocations: 70.02 kB / 435.9 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001205/0.2459, allocations: 1.146 MB / 437.1 MB, free: 2.312 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003371/0.2463, allocations: 227.1 kB / 437.3 MB, free: 2.09 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.64e-05/0.2464, allocations: 44 kB / 437.3 MB, free: 2.047 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.862e-05/0.2465, allocations: 47.94 kB / 437.4 MB, free: 2 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002298/0.2467, allocations: 251 kB / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004141/0.2471, allocations: 440.9 kB / 438.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.2485, allocations: 1.473 MB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2485, allocations: 4 kB / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.2485, allocations: 0 / 439.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.449e-05/0.2485, allocations: 0 / 439.5 MB, free: 15.84 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.002031/0.2506, allocations: 1.733 MB / 441.3 MB, free: 14 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.2506, allocations: 16.02 kB / 441.3 MB, free: 13.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001987/0.2508, allocations: 140 kB / 441.4 MB, free: 13.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007809/0.2516, allocations: 0.5768 MB / 442 MB, free: 13.22 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.358e-05/0.2516, allocations: 28.3 kB / 442 MB, free: 13.2 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.712e-05/0.2517, allocations: 28.38 kB / 442.1 MB, free: 13.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001114/0.2528, allocations: 0.6225 MB / 442.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2528, allocations: 0 / 442.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/0.2529, allocations: 15.98 kB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.431e-05/0.2529, allocations: 4 kB / 442.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007813/0.2537, allocations: 471.7 kB / 443.2 MB, free: 12.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002043/0.2557, allocations: 1.182 MB / 444.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007473/0.2565, allocations: 478.3 kB / 444.8 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007132/0.2572, allocations: 460.6 kB / 445.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.2572, allocations: 0 / 445.3 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001018/0.2582, allocations: 0.7575 MB / 446 MB, free: 9.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.2582, allocations: 0 / 446 MB, free: 9.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.002983/0.2612, allocations: 1.891 MB / 447.9 MB, free: 7.148 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002437/0.2615, allocations: 333 kB / 448.2 MB, free: 6.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002584/0.2641, allocations: 1.846 MB / 450.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.203e-05/0.2641, allocations: 45.69 kB / 450.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.2644, allocations: 254.4 kB / 450.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2645, allocations: 87.47 kB / 450.5 MB, free: 4.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003178/0.2649, allocations: 229.2 kB / 450.7 MB, free: 4.277 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002337/0.2651, allocations: 378.7 kB / 451.1 MB, free: 3.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000697/0.2658, allocations: 447.7 kB / 451.5 MB, free: 3.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007125/0.2665, allocations: 486.6 kB / 452 MB, free: 2.977 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001388/0.2679, allocations: 1.17 MB / 453.1 MB, free: 1.699 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.2679, allocations: 4 kB / 453.1 MB, free: 1.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001976/0.2699, allocations: 1.357 MB / 454.5 MB, free: 288 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002536/0.2701, allocations: 297.6 kB / 454.8 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.2701, allocations: 7.938 kB / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.2701, allocations: 3.938 kB / 454.8 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.53e-05/0.2702, allocations: 4 kB / 454.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2702, allocations: 0 / 454.8 MB, free: 15.92 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003202/0.2705, allocations: 43.92 kB / 454.9 MB, free: 15.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00015/0.2706, allocations: 128.2 kB / 455 MB, free: 15.75 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.dLATREGSRH.delay.inertialDelaySensitive[2].y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.dLATSR.next_assign_val[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.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.00121/0.2719, allocations: 0.9919 MB / 456 MB, free: 14.7 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001719/0.272, allocations: 143.2 kB / 456.1 MB, free: 14.56 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003823/0.2724, allocations: 251.8 kB / 456.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.2724, allocations: 3.984 kB / 456.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.2724, allocations: 0 / 456.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001155/0.2736, allocations: 0.6714 MB / 457 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002017/0.2738, allocations: 59.97 kB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00027/0.274, allocations: 31.97 kB / 457.1 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005775/0.2746, allocations: 351.6 kB / 457.5 MB, free: 13.18 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002468/0.2771, allocations: 2.009 MB / 459.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002334/0.2794, allocations: 1.752 MB / 461.2 MB, free: 9.199 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007891/0.2802, allocations: 0.4958 MB / 461.7 MB, free: 8.703 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001971/0.2822, allocations: 1.337 MB / 463.1 MB, free: 7.363 MB / 366.1 MB Notification: Performance of Backend: time 2.81e-07/0.2822, allocations: 8 kB / 463.1 MB, free: 7.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001721/0.2839, allocations: 1.133 MB / 464.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of SimCode: time 0.00432/0.2882, allocations: 3.376 MB / 467.6 MB, free: 2.605 MB / 366.1 MB Notification: Performance of Templates: time 0.02253/0.3108, allocations: 14.85 MB / 482.4 MB, free: 3.5 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.288220561109483]