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.001552/0.001552, allocations: 110.9 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002/0.002, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.342/1.342, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 59.89 kB / 359.4 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2233, allocations: 50.54 MB / 409.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREGSRH): time 0.00254/0.2259, allocations: 1.809 MB / 411.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.228, allocations: 1.064 MB / 412.8 MB, free: 14.73 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.228, allocations: 4 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001444/0.2282, allocations: 39.7 kB / 412.9 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.2284, allocations: 167.5 kB / 413 MB, free: 14.52 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002785/0.2287, allocations: 139.8 kB / 413.2 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005968/0.2293, allocations: 0.6163 MB / 413.8 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.2295, allocations: 110 kB / 413.9 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009553/0.2305, allocations: 1.123 MB / 415 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002487/0.2308, allocations: 207.2 kB / 415.2 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2309, allocations: 47.94 kB / 415.2 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.231, allocations: 44 kB / 415.3 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001876/0.2312, allocations: 251.1 kB / 415.5 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003467/0.2315, allocations: 432.9 kB / 416 MB, free: 11.56 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.2326, allocations: 1.468 MB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2326, allocations: 4 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.276e-06/0.2326, allocations: 4 kB / 417.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.2326, allocations: 7.875 kB / 417.4 MB, free: 10.08 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.001595/0.2342, allocations: 1.696 MB / 419.1 MB, free: 8.277 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.2343, allocations: 8.031 kB / 419.1 MB, free: 8.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001596/0.2344, allocations: 131.3 kB / 419.3 MB, free: 8.141 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006357/0.2351, allocations: 0.5755 MB / 419.8 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.145e-05/0.2351, allocations: 24.36 kB / 419.9 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.126e-05/0.2352, allocations: 28.38 kB / 419.9 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.2362, allocations: 0.6225 MB / 420.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.2362, allocations: 0 / 420.5 MB, free: 6.836 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.034e-05/0.2363, allocations: 15.98 kB / 420.5 MB, free: 6.82 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.2363, allocations: 4 kB / 420.5 MB, free: 6.816 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000686/0.237, allocations: 479.6 kB / 421 MB, free: 6.348 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/0.2387, allocations: 1.166 MB / 422.2 MB, free: 5.125 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008136/0.2395, allocations: 0.6936 MB / 422.9 MB, free: 4.422 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007815/0.2403, allocations: 0.688 MB / 423.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.175e-06/0.2403, allocations: 4 kB / 423.6 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009199/0.2413, allocations: 0.7445 MB / 424.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of pre-optimization done (n=33): time 1.904e-06/0.2413, allocations: 0 / 424.3 MB, free: 2.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=33): time 0.002525/0.2438, allocations: 1.889 MB / 426.2 MB, free: 1 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001709/0.244, allocations: 329 kB / 426.5 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.2463, allocations: 1.85 MB / 428.4 MB, free: 14.75 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.945e-05/0.2463, allocations: 41.7 kB / 428.4 MB, free: 14.7 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002456/0.2466, allocations: 254.3 kB / 428.7 MB, free: 14.45 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.2467, allocations: 83.09 kB / 428.7 MB, free: 14.37 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.247, allocations: 224.8 kB / 429 MB, free: 14.14 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001548/0.2471, allocations: 378.7 kB / 429.3 MB, free: 13.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006268/0.2478, allocations: 451.7 kB / 429.8 MB, free: 13.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006351/0.2484, allocations: 478.3 kB / 430.2 MB, free: 12.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.2496, allocations: 1.178 MB / 431.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2496, allocations: 0 / 431.4 MB, free: 11.56 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001747/0.2514, allocations: 1.36 MB / 432.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002062/0.2516, allocations: 300.3 kB / 433.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2516, allocations: 3.938 kB / 433.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.2516, allocations: 0 / 433.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.477e-05/0.2517, allocations: 4 kB / 433.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.435e-06/0.2517, allocations: 0 / 433.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.252, allocations: 39.94 kB / 433.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001316/0.2521, allocations: 128.2 kB / 433.2 MB, free: 9.633 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.001058/0.2532, allocations: 0.9919 MB / 434.2 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.2533, allocations: 130.5 kB / 434.4 MB, free: 8.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.2537, allocations: 259.8 kB / 434.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.2537, allocations: 0 / 434.6 MB, free: 8.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2537, allocations: 3.938 kB / 434.6 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.2548, allocations: 0.6823 MB / 435.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001889/0.2549, allocations: 63.95 kB / 435.4 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002698/0.2552, allocations: 39.95 kB / 435.4 MB, free: 7.379 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005441/0.2558, allocations: 339.8 kB / 435.7 MB, free: 7.047 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002226/0.258, allocations: 2.005 MB / 437.7 MB, free: 4.887 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001995/0.26, allocations: 1.742 MB / 439.5 MB, free: 3.074 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000973/0.261, allocations: 0.9255 MB / 440.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001649/0.2627, allocations: 1.345 MB / 441.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2627, allocations: 0 / 441.7 MB, free: 0.8008 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00173/0.2644, allocations: 1.532 MB / 443.3 MB, free: 15.16 MB / 366.1 MB Notification: Performance of SimCode: time 0.003789/0.2682, allocations: 3.348 MB / 446.6 MB, free: 11.68 MB / 366.1 MB Notification: Performance of Templates: time 0.01883/0.2871, allocations: 14.69 MB / 461.3 MB, free: 12.72 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