Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.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.001304/0.001304, 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.001349/0.001349, 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.423/1.423, allocations: 230.6 MB / 258.3 MB, free: 7.785 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.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_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_Modelica.Electrical.Digital.Examples.DLATREGSRH") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 47.92 kB / 379 MB, free: 2.477 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2341, allocations: 53.37 MB / 432.3 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.003167/0.2373, allocations: 1.721 MB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002379/0.2397, allocations: 1.025 MB / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001093/0.2398, allocations: 0 / 435.1 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001621/0.2399, allocations: 35.66 kB / 435.1 MB, free: 3.93 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000288/0.2402, allocations: 175.5 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003409/0.2406, allocations: 151.7 kB / 435.4 MB, free: 3.609 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006255/0.2412, allocations: 0.5733 MB / 436 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000177/0.2414, allocations: 77.42 kB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001158/0.2425, allocations: 1.146 MB / 437.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00029/0.2428, allocations: 215.2 kB / 437.4 MB, free: 1.602 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2429, allocations: 44 kB / 437.5 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.243, allocations: 44 kB / 437.5 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.2433, allocations: 254.9 kB / 437.8 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00033/0.2436, allocations: 313.7 kB / 438.1 MB, free: 0.957 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.245, allocations: 1.482 MB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.245, allocations: 4 kB / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.245, allocations: 0 / 439.6 MB, free: 15.47 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.817e-06/0.245, allocations: 0 / 439.6 MB, free: 15.47 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.001884/0.2469, allocations: 1.65 MB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2469, allocations: 11.97 kB / 441.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001946/0.2471, allocations: 140 kB / 441.4 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007451/0.2479, allocations: 0.5203 MB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.39e-05/0.2479, allocations: 24.36 kB / 441.9 MB, free: 13 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.148e-05/0.248, allocations: 28.38 kB / 441.9 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001359/0.2494, allocations: 0.9091 MB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.2494, allocations: 3.938 kB / 442.9 MB, free: 12.01 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.186e-05/0.2494, allocations: 19.98 kB / 442.9 MB, free: 11.99 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.2495, allocations: 4 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000996/0.2505, allocations: 0.7551 MB / 443.6 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001805/0.2523, allocations: 1.031 MB / 444.7 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009854/0.2532, allocations: 0.7577 MB / 445.4 MB, free: 9.297 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009279/0.2542, allocations: 0.7488 MB / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.2542, allocations: 0 / 446.2 MB, free: 8.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/0.2554, allocations: 1.036 MB / 447.2 MB, free: 7.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=33): time 1.783e-06/0.2554, allocations: 4 kB / 447.2 MB, free: 7.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=33): time 0.003307/0.2587, allocations: 2.492 MB / 449.7 MB, free: 4.723 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002073/0.2589, allocations: 312.9 kB / 450 MB, free: 4.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002602/0.2615, allocations: 1.85 MB / 451.9 MB, free: 2.488 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.705e-05/0.2616, allocations: 45.69 kB / 451.9 MB, free: 2.438 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003037/0.2619, allocations: 254.5 kB / 452.2 MB, free: 2.184 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.262, allocations: 75.44 kB / 452.2 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.2624, allocations: 229.1 kB / 452.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002237/0.2626, allocations: 378.7 kB / 452.8 MB, free: 1.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009421/0.2635, allocations: 0.7317 MB / 453.6 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009553/0.2645, allocations: 0.7706 MB / 454.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.266, allocations: 1.197 MB / 455.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.266, allocations: 0 / 455.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002297/0.2683, allocations: 1.668 MB / 457.2 MB, free: 12.81 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002394/0.2685, allocations: 273.5 kB / 457.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.2685, allocations: 4 kB / 457.5 MB, free: 12.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2685, allocations: 7.922 kB / 457.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.555e-05/0.2686, allocations: 4 kB / 457.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.2686, allocations: 4.062 kB / 457.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003222/0.2689, allocations: 43.86 kB / 457.5 MB, free: 12.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/0.2691, allocations: 124.2 kB / 457.6 MB, free: 12.31 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.001169/0.2702, allocations: 0.9725 MB / 458.6 MB, free: 11.28 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/0.2704, allocations: 139.2 kB / 458.7 MB, free: 11.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003872/0.2708, allocations: 247.9 kB / 459 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.2708, allocations: 7.875 kB / 459 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.2708, allocations: 0 / 459 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.2721, allocations: 0.6761 MB / 459.7 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001973/0.2723, allocations: 63.95 kB / 459.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002797/0.2726, allocations: 35.97 kB / 459.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005847/0.2732, allocations: 343.7 kB / 460.1 MB, free: 9.77 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002664/0.2758, allocations: 2.288 MB / 462.4 MB, free: 7.277 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00256/0.2784, allocations: 2.046 MB / 464.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001024/0.2794, allocations: 0.802 MB / 465.2 MB, free: 4.262 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001949/0.2814, allocations: 1.341 MB / 466.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of Backend: time 3.5e-07/0.2814, allocations: 0 / 466.6 MB, free: 2.918 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.2833, allocations: 1.421 MB / 468 MB, free: 1.344 MB / 366.1 MB Notification: Performance of SimCode: time 0.004231/0.2875, allocations: 3.371 MB / 471.4 MB, free: 13.84 MB / 382.1 MB Notification: Performance of Templates: time 0.02253/0.31, allocations: 15.94 MB / 487.3 MB, free: 13.7 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.4270107980046305]