Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DLATREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREGSRH.delay.inertialDelaySensitive.1..x|dLATREGSRH.delay.inertialDelaySensitive.1..y|dLATREGSRH.delay.inertialDelaySensitive.2..x|dLATREGSRH.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001237/0.001237, allocations: 118.3 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001451/0.001451, allocations: 210.7 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.03 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/0.2388, allocations: 50.55 MB / 409.9 MB, free: 1.629 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.00272/0.2416, allocations: 1.805 MB / 411.7 MB, free: 15.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002254/0.2439, allocations: 1.068 MB / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001076/0.244, allocations: 0 / 412.8 MB, free: 14.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001582/0.2442, allocations: 31.72 kB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002618/0.2444, allocations: 175.5 kB / 413 MB, free: 14.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.2448, allocations: 139.8 kB / 413.1 MB, free: 14.4 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000624/0.2454, allocations: 0.6201 MB / 413.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002076/0.2456, allocations: 118 kB / 413.9 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.2467, allocations: 1.115 MB / 415 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002883/0.247, allocations: 207.2 kB / 415.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.2471, allocations: 44 kB / 415.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.2472, allocations: 44 kB / 415.3 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.2475, allocations: 251 kB / 415.5 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.2479, allocations: 444.8 kB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001352/0.2493, allocations: 1.464 MB / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.2493, allocations: 0 / 417.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.2493, allocations: 3.938 kB / 417.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.93e-05/0.2493, allocations: 0 / 417.4 MB, free: 10.1 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: 43 * Number of variables: 43 Notification: Performance of Generate backend data structure: time 0.002562/0.2519, allocations: 1.699 MB / 419.1 MB, free: 8.297 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.714e-05/0.2519, allocations: 8.031 kB / 419.1 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002692/0.2522, allocations: 139.3 kB / 419.3 MB, free: 8.152 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007568/0.253, allocations: 0.5755 MB / 419.9 MB, free: 7.527 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.704e-05/0.2531, allocations: 20.38 kB / 419.9 MB, free: 7.508 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-05/0.2532, allocations: 32.36 kB / 419.9 MB, free: 7.477 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/0.2543, allocations: 0.6147 MB / 420.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2543, allocations: 0 / 420.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.058e-05/0.2544, allocations: 20 kB / 420.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.002e-06/0.2544, allocations: 0 / 420.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.2551, allocations: 475.6 kB / 421 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002164/0.2573, allocations: 1.17 MB / 422.2 MB, free: 5.145 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008897/0.2582, allocations: 0.6936 MB / 422.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008801/0.2591, allocations: 0.6803 MB / 423.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.223e-05/0.2591, allocations: 0 / 423.5 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009606/0.2601, allocations: 0.7524 MB / 424.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 2.184e-06/0.2601, allocations: 0 / 424.3 MB, free: 2.965 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002836/0.2629, allocations: 1.885 MB / 426.2 MB, free: 1.027 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002462/0.2632, allocations: 333 kB / 426.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/0.2664, allocations: 1.846 MB / 428.4 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.597e-05/0.2665, allocations: 45.69 kB / 428.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002904/0.2668, allocations: 254.4 kB / 428.6 MB, free: 14.47 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.2669, allocations: 79.08 kB / 428.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003863/0.2673, allocations: 224.8 kB / 428.9 MB, free: 14.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000243/0.2676, allocations: 382.7 kB / 429.3 MB, free: 13.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.2683, allocations: 447.7 kB / 429.8 MB, free: 13.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006588/0.2689, allocations: 474.3 kB / 430.2 MB, free: 12.87 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001301/0.2703, allocations: 1.182 MB / 431.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.2703, allocations: 0 / 431.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001909/0.2722, allocations: 1.357 MB / 432.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002118/0.2724, allocations: 301.4 kB / 433.1 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2724, allocations: 3.938 kB / 433.1 MB, free: 9.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.2724, allocations: 4 kB / 433.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.744e-05/0.2725, allocations: 3.984 kB / 433.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2725, allocations: 0 / 433.1 MB, free: 9.816 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.2729, allocations: 43.94 kB / 433.1 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001446/0.273, allocations: 132.1 kB / 433.2 MB, free: 9.645 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: 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.001149/0.2742, allocations: 0.9958 MB / 434.2 MB, free: 8.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001562/0.2743, allocations: 130.5 kB / 434.4 MB, free: 8.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003691/0.2747, allocations: 251.8 kB / 434.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.2747, allocations: 0 / 434.6 MB, free: 8.203 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.2747, allocations: 3.984 kB / 434.6 MB, free: 8.199 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.2758, allocations: 0.6862 MB / 435.3 MB, free: 7.492 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001887/0.276, allocations: 55.97 kB / 435.4 MB, free: 7.438 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002747/0.2763, allocations: 35.97 kB / 435.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005553/0.2769, allocations: 343.7 kB / 435.7 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.2792, allocations: 2.005 MB / 437.7 MB, free: 4.906 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002085/0.2813, allocations: 1.731 MB / 439.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001067/0.2824, allocations: 0.9333 MB / 440.4 MB, free: 2.172 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.002175/0.2846, allocations: 1.341 MB / 441.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of Backend: time 4.5e-07/0.2846, allocations: 0 / 441.7 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001941/0.2866, allocations: 1.531 MB / 443.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of SimCode: time 0.004074/0.2907, allocations: 3.366 MB / 446.6 MB, free: 11.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01967/0.3103, allocations: 14.69 MB / 461.3 MB, free: 12.74 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches