Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.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.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") translateModel(Modelica.Electrical.Digital.Examples.DLATREG,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dLATREG.delay.inertialDelaySensitive.1..x|dLATREG.delay.inertialDelaySensitive.1..y|dLATREG.delay.inertialDelaySensitive.2..x|dLATREG.delay.inertialDelaySensitive.2..y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001547/0.001547, allocations: 118.3 kB / 18.46 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001829/0.001829, allocations: 206.7 kB / 19.42 MB, free: 3.66 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.39/1.39, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 359.4 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2268/0.228, allocations: 50.54 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002647/0.2307, allocations: 1.751 MB / 411.7 MB, free: 15.87 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.2328, allocations: 1.002 MB / 412.7 MB, free: 14.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2329, allocations: 4 kB / 412.7 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001637/0.2331, allocations: 27.78 kB / 412.7 MB, free: 14.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.2332, allocations: 43.72 kB / 412.8 MB, free: 14.78 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.2335, allocations: 95.83 kB / 412.9 MB, free: 14.69 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005081/0.2341, allocations: 459.2 kB / 413.3 MB, free: 14.24 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.2343, allocations: 117.1 kB / 413.4 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007799/0.2351, allocations: 0.7798 MB / 414.2 MB, free: 13.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.2354, allocations: 179.3 kB / 414.4 MB, free: 13.16 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001087/0.2355, allocations: 32 kB / 414.4 MB, free: 13.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.327e-05/0.2356, allocations: 40 kB / 414.4 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001587/0.2358, allocations: 167.3 kB / 414.6 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.2361, allocations: 310 kB / 414.9 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008911/0.237, allocations: 1.055 MB / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.237, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.237, allocations: 0 / 416 MB, free: 11.57 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.237, allocations: 0 / 416 MB, free: 11.57 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: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001432/0.2385, allocations: 1.299 MB / 417.3 MB, free: 10.17 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.2385, allocations: 12.03 kB / 417.3 MB, free: 10.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001511/0.2387, allocations: 92.42 kB / 417.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005039/0.2392, allocations: 452.7 kB / 417.8 MB, free: 9.586 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.246e-05/0.2392, allocations: 16.38 kB / 417.8 MB, free: 9.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.072e-05/0.2393, allocations: 28.36 kB / 417.9 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008701/0.2402, allocations: 0.4985 MB / 418.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.2402, allocations: 0 / 418.4 MB, free: 9.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.123e-05/0.2403, allocations: 12 kB / 418.4 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.2403, allocations: 7.984 kB / 418.4 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005677/0.2408, allocations: 364.1 kB / 418.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001402/0.2423, allocations: 0.926 MB / 419.7 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006722/0.2429, allocations: 0.5025 MB / 420.2 MB, free: 7.172 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000613/0.2436, allocations: 496.9 kB / 420.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.2436, allocations: 0 / 420.6 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008191/0.2444, allocations: 0.6423 MB / 421.3 MB, free: 6.004 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.2444, allocations: 3.938 kB / 421.3 MB, free: 6 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002172/0.2466, allocations: 1.512 MB / 422.8 MB, free: 4.438 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001448/0.2468, allocations: 287.3 kB / 423.1 MB, free: 4.102 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/0.2484, allocations: 1.152 MB / 424.2 MB, free: 2.938 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/0.2484, allocations: 45.69 kB / 424.3 MB, free: 2.887 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2486, allocations: 150 kB / 424.4 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.2487, allocations: 79.5 kB / 424.5 MB, free: 2.656 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.2489, allocations: 189.3 kB / 424.7 MB, free: 2.465 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001097/0.249, allocations: 338.8 kB / 425 MB, free: 2.125 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005114/0.2496, allocations: 339.8 kB / 425.3 MB, free: 1.793 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.2501, allocations: 383.1 kB / 425.7 MB, free: 1.41 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.2511, allocations: 0.9693 MB / 426.7 MB, free: 352 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.2511, allocations: 0 / 426.7 MB, free: 352 kB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001509/0.2526, allocations: 1.124 MB / 427.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001608/0.2528, allocations: 246.7 kB / 428.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2528, allocations: 4 kB / 428.1 MB, free: 14.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.2528, allocations: 7.938 kB / 428.1 MB, free: 14.88 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.72e-05/0.2529, allocations: 11.86 kB / 428.1 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.2529, allocations: 4 kB / 428.1 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002729/0.2532, allocations: 31.88 kB / 428.1 MB, free: 14.83 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.2533, allocations: 132 kB / 428.2 MB, free: 14.7 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: 36 ($PRE.dLATREG.delay.inertialDelaySensitive[2].y,$PRE.dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.dLATR.next_assign_val[2],dLATREG.dLATR.next_assign_val[1],dLATREG.dLATR.nextstate[2],dLATREG.dLATR.nextstate[1],dLATREG.dLATR.reset_flag,dLATREG.dLATR.enable_flag,dLATREG.dLATR.dataOut[2],dLATREG.dLATR.dataOut[1],dLATREG.dLATR.dataIn[2],dLATREG.dLATR.dataIn[1],dLATREG.delay.inertialDelaySensitive[2].t_next,dLATREG.delay.inertialDelaySensitive[2].lh,dLATREG.delay.inertialDelaySensitive[2].y_old,dLATREG.delay.inertialDelaySensitive[2].y_auxiliary,dLATREG.delay.inertialDelaySensitive[2].delayTime,dLATREG.delay.inertialDelaySensitive[2].y,dLATREG.delay.inertialDelaySensitive[2].x,$PRE.dLATREG.delay.inertialDelaySensitive[2].x,dLATREG.delay.inertialDelaySensitive[1].t_next,dLATREG.delay.inertialDelaySensitive[1].lh,dLATREG.delay.inertialDelaySensitive[1].y_old,dLATREG.delay.inertialDelaySensitive[1].y_auxiliary,dLATREG.delay.inertialDelaySensitive[1].delayTime,dLATREG.delay.inertialDelaySensitive[1].y,dLATREG.delay.inertialDelaySensitive[1].x,$PRE.dLATREG.delay.inertialDelaySensitive[1].x,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 (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.0007478/0.2541, allocations: 0.764 MB / 429 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001176/0.2542, allocations: 91.48 kB / 429.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002093/0.2544, allocations: 143.5 kB / 429.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.2544, allocations: 3.938 kB / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2544, allocations: 0 / 429.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007273/0.2552, allocations: 0.5625 MB / 429.8 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000154/0.2553, allocations: 51.97 kB / 429.9 MB, free: 13.01 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002267/0.2556, allocations: 39.97 kB / 429.9 MB, free: 12.97 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/0.2559, allocations: 211.8 kB / 430.1 MB, free: 12.77 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001846/0.2578, allocations: 1.715 MB / 431.8 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001754/0.2596, allocations: 1.479 MB / 433.3 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007631/0.2603, allocations: 0.7067 MB / 434 MB, free: 8.668 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001086/0.2614, allocations: 0.8538 MB / 434.9 MB, free: 7.816 MB / 350.1 MB Notification: Performance of Backend: time 4.71e-07/0.2614, allocations: 4 kB / 434.9 MB, free: 7.812 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001476/0.2629, allocations: 1.236 MB / 436.1 MB, free: 6.484 MB / 350.1 MB Notification: Performance of SimCode: time 0.002729/0.2657, allocations: 2.503 MB / 438.6 MB, free: 3.852 MB / 350.1 MB Notification: Performance of Templates: time 0.01538/0.2811, allocations: 11.99 MB / 450.6 MB, free: 7.688 MB / 366.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/DLATREG/DLATREG.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches