Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 116.1 kB / 17.75 MB, free: 5.223 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 181.4 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.324/1.324, allocations: 222.9 MB / 242.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009682/0.0009682, allocations: 39.94 kB / 352 MB, free: 3.258 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2383/0.2393, allocations: 49.43 MB / 401.4 MB, free: 8.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.DLATREG): time 0.002732/0.2421, allocations: 1.743 MB / 403.2 MB, free: 7.133 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002108/0.2442, allocations: 0.9667 MB / 404.1 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.179e-05/0.2443, allocations: 7.938 kB / 404.1 MB, free: 6.152 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001739/0.2445, allocations: 27.78 kB / 404.2 MB, free: 6.125 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.2447, allocations: 47.7 kB / 404.2 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.2449, allocations: 111.8 kB / 404.3 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004546/0.2454, allocations: 447.3 kB / 404.7 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002058/0.2456, allocations: 113.1 kB / 404.9 MB, free: 5.418 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008179/0.2464, allocations: 0.7836 MB / 405.6 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.2467, allocations: 175.3 kB / 405.8 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 9.702e-05/0.2468, allocations: 36 kB / 405.8 MB, free: 4.426 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.297e-05/0.2469, allocations: 36 kB / 405.9 MB, free: 4.391 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001835/0.2471, allocations: 171.3 kB / 406 MB, free: 4.223 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002999/0.2474, allocations: 302.1 kB / 406.3 MB, free: 3.926 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009082/0.2483, allocations: 1.068 MB / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2483, allocations: 0 / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.2483, allocations: 0 / 407.4 MB, free: 2.855 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.205e-06/0.2483, allocations: 0 / 407.4 MB, free: 2.855 MB / 318.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.001288/0.2496, allocations: 1.26 MB / 408.7 MB, free: 1.504 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.2497, allocations: 12.03 kB / 408.7 MB, free: 1.492 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.2498, allocations: 87.91 kB / 408.8 MB, free: 1.406 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005231/0.2503, allocations: 447.9 kB / 409.2 MB, free: 0.9258 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.568e-05/0.2504, allocations: 20.38 kB / 409.2 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.469e-05/0.2504, allocations: 28.38 kB / 409.3 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008554/0.2513, allocations: 0.4985 MB / 409.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.2513, allocations: 0 / 409.8 MB, free: 384 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.257e-05/0.2514, allocations: 12 kB / 409.8 MB, free: 372 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.2514, allocations: 4 kB / 409.8 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005599/0.252, allocations: 367.7 kB / 410.1 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.2534, allocations: 0.9144 MB / 411 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006667/0.2541, allocations: 0.5063 MB / 411.5 MB, free: 14.52 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006097/0.2547, allocations: 496.9 kB / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.2548, allocations: 0 / 412 MB, free: 14.03 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000802/0.2556, allocations: 0.6356 MB / 412.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.733e-06/0.2556, allocations: 4 kB / 412.7 MB, free: 13.35 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.002219/0.2578, allocations: 1.519 MB / 414.2 MB, free: 11.78 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/0.258, allocations: 291.2 kB / 414.5 MB, free: 11.44 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001387/0.2594, allocations: 1.149 MB / 415.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.085e-05/0.2595, allocations: 41.7 kB / 415.7 MB, free: 10.24 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.376e-05/0.2596, allocations: 149.9 kB / 415.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.053e-05/0.2597, allocations: 75.09 kB / 415.9 MB, free: 10.01 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002431/0.2599, allocations: 181.1 kB / 416.1 MB, free: 9.828 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.2601, allocations: 346.8 kB / 416.4 MB, free: 9.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.2606, allocations: 343.8 kB / 416.7 MB, free: 9.145 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005135/0.2611, allocations: 378.2 kB / 417.1 MB, free: 8.766 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00111/0.2622, allocations: 0.9763 MB / 418.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2622, allocations: 0 / 418.1 MB, free: 7.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001519/0.2638, allocations: 1.124 MB / 419.2 MB, free: 6.52 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002023/0.264, allocations: 243.8 kB / 419.4 MB, free: 6.238 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.264, allocations: 4 kB / 419.4 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/0.264, allocations: 3.938 kB / 419.5 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.067e-05/0.2641, allocations: 4 kB / 419.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2641, allocations: 0 / 419.5 MB, free: 6.227 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002956/0.2644, allocations: 39.86 kB / 419.5 MB, free: 6.188 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.2645, allocations: 124 kB / 419.6 MB, free: 6.066 MB / 334.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.0009093/0.2655, allocations: 0.7641 MB / 420.4 MB, free: 5.25 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.2656, allocations: 87.06 kB / 420.5 MB, free: 5.164 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002192/0.2658, allocations: 143.5 kB / 420.6 MB, free: 5.02 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2658, allocations: 3.938 kB / 420.6 MB, free: 5.016 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2658, allocations: 4 kB / 420.6 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008787/0.2667, allocations: 0.5581 MB / 421.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001629/0.2669, allocations: 55.97 kB / 421.2 MB, free: 4.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000234/0.2671, allocations: 31.97 kB / 421.3 MB, free: 4.348 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003651/0.2675, allocations: 211.8 kB / 421.5 MB, free: 4.141 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001899/0.2694, allocations: 1.719 MB / 423.2 MB, free: 2.285 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00188/0.2713, allocations: 1.471 MB / 424.7 MB, free: 0.7539 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007647/0.2721, allocations: 0.7029 MB / 425.4 MB, free: 52 kB / 334.1 MB Notification: Performance of sorting global known variables: time 0.001104/0.2732, allocations: 0.8577 MB / 426.2 MB, free: 15.2 MB / 350.1 MB Notification: Performance of Backend: time 5.51e-07/0.2732, allocations: 4 kB / 426.2 MB, free: 15.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00154/0.2748, allocations: 1.236 MB / 427.5 MB, free: 13.86 MB / 350.1 MB Notification: Performance of SimCode: time 0.002888/0.2777, allocations: 2.486 MB / 429.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of Templates: time 0.01606/0.2937, allocations: 11.99 MB / 441.9 MB, free: 15.08 MB / 366.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREG.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches