Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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_3.2.3_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_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001438/0.001439, allocations: 178.4 kB / 8.697 MB, free: 388 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.3 MB / 214.4 MB, free: 1.672 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008418/0.000842, allocations: 86.7 kB / 262.5 MB, free: 1.609 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.255e-05/1.258e-05, allocations: 4 kB / 315.5 MB, free: 22.71 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07831/0.07834, allocations: 47.58 MB / 363.1 MB, free: 7.07 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2875/0.3659, allocations: 81.84 MB / 444.9 MB, free: 13.8 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002374/0.3662, allocations: 68.95 kB / 445 MB, free: 13.76 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05788/0.4241, allocations: 30.61 MB / 475.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4242, allocations: 0 / 475.6 MB, free: 4.656 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.105e-05/0.4242, allocations: 16 kB / 475.6 MB, free: 4.641 MB / 346.7 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.001471/0.4257, allocations: 1.331 MB / 476.9 MB, free: 3.289 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.4257, allocations: 12.03 kB / 476.9 MB, free: 3.277 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001702/0.4259, allocations: 134.4 kB / 477.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.4266, allocations: 0.5082 MB / 477.6 MB, free: 2.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.4267, allocations: 27.48 kB / 477.6 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.046e-05/0.4268, allocations: 24 kB / 477.6 MB, free: 2.578 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006026/0.4274, allocations: 449 kB / 478.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007791/0.4282, allocations: 0.583 MB / 478.7 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.4282, allocations: 0 / 478.7 MB, free: 1.832 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.396e-05/0.4282, allocations: 19.28 kB / 478.7 MB, free: 1.816 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.4283, allocations: 11.95 kB / 478.7 MB, free: 1.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001674/0.4299, allocations: 1.121 MB / 479.8 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007211/0.4307, allocations: 0.678 MB / 480.5 MB, free: 140 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007065/0.4314, allocations: 0.6648 MB / 481.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.4314, allocations: 0 / 481.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008762/0.4323, allocations: 0.7411 MB / 481.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=33): time 2.174e-06/0.4323, allocations: 0 / 481.9 MB, free: 14.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=33): time 0.001628/0.4339, allocations: 1.089 MB / 483 MB, free: 13.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002041/0.4342, allocations: 336.9 kB / 483.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002048/0.4362, allocations: 1.555 MB / 484.9 MB, free: 11.64 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.972e-05/0.4363, allocations: 37.7 kB / 484.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.4366, allocations: 250.4 kB / 485.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000109/0.4367, allocations: 75.22 kB / 485.2 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.8e-05/0.4367, allocations: 8 kB / 485.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002008/0.4369, allocations: 386.7 kB / 485.6 MB, free: 10.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006442/0.4376, allocations: 435.8 kB / 486 MB, free: 10.45 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005451/0.4382, allocations: 451.5 kB / 486.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.4385, allocations: 288.6 kB / 486.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.4385, allocations: 3.953 kB / 486.8 MB, free: 9.723 MB / 362.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001392/0.4399, allocations: 1.023 MB / 487.8 MB, free: 8.691 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000225/0.4402, allocations: 293.5 kB / 488.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.4402, allocations: 0 / 488.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.4402, allocations: 0 / 488.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.74e-05/0.4403, allocations: 0 / 488.1 MB, free: 8.355 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.4403, allocations: 4 kB / 488.1 MB, free: 8.352 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00041/0.4407, allocations: 51.89 kB / 488.1 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001575/0.4409, allocations: 124.2 kB / 488.2 MB, free: 8.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004066/0.4413, allocations: 463.7 kB / 488.7 MB, free: 7.668 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001971/0.4415, allocations: 138.4 kB / 488.8 MB, free: 7.531 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004513/0.4419, allocations: 244.3 kB / 489.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4419, allocations: 0 / 489.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.442, allocations: 0 / 489.1 MB, free: 7.293 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.442, allocations: 15.92 kB / 489.1 MB, free: 7.277 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/0.4444, allocations: 2.009 MB / 491.1 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4444, allocations: 0 / 491.1 MB, free: 5.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.249e-05/0.4445, allocations: 4 kB / 491.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4445, allocations: 0 / 491.1 MB, free: 5.215 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.011e-05/0.4445, allocations: 31.98 kB / 491.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.4446, allocations: 0 / 491.1 MB, free: 5.184 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/0.4446, allocations: 4 kB / 491.1 MB, free: 5.18 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.4462, allocations: 1.289 MB / 492.4 MB, free: 3.871 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009709/0.4472, allocations: 0.6785 MB / 493.1 MB, free: 3.172 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.4474, allocations: 55.97 kB / 493.2 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.4477, allocations: 47.8 kB / 493.2 MB, free: 3.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000591/0.4483, allocations: 375.6 kB / 493.6 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/0.4485, allocations: 131.9 kB / 493.7 MB, free: 2.574 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001899/0.4504, allocations: 1.271 MB / 495 MB, free: 1.301 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4504, allocations: 4 kB / 495 MB, free: 1.297 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005896/0.451, allocations: 144 kB / 495.1 MB, free: 1.156 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 33 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.delay.inertialDelaySensitive[1].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.dLATSR.dataIn[1],dLATREGSRH.dLATSR.dataIn[2],dLATREGSRH.dLATSR.dataOut[1],dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.enable_flag,dLATREGSRH.dLATSR.reset_set_flag,dLATREGSRH.dLATSR.nextstate[1],dLATREGSRH.dLATSR.nextstate[2],dLATREGSRH.dLATSR.next_assign_val[1],dLATREGSRH.dLATSR.next_assign_val[2]) * Number of discrete states: 31 (enable.y,data_0.y,reset.y,data_1.y,set.y,dLATREGSRH.dLATSR.dataOut[2],dLATREGSRH.dLATSR.dataOut[1],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.delay.inertialDelaySensitive[2].y,dLATREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[2].t_next,dLATREGSRH.delay.inertialDelaySensitive[2].delayTime,dLATREGSRH.delay.inertialDelaySensitive[2].lh,dLATREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGSRH.delay.inertialDelaySensitive[2].x,dLATREGSRH.delay.inertialDelaySensitive[1].y,dLATREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGSRH.delay.inertialDelaySensitive[1].t_next,dLATREGSRH.delay.inertialDelaySensitive[1].delayTime,dLATREGSRH.delay.inertialDelaySensitive[1].lh,dLATREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGSRH.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003562/0.4514, allocations: 189.7 kB / 495.3 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001911/0.4533, allocations: 1.875 MB / 497.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4533, allocations: 0 / 497.2 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001245/0.4546, allocations: 1.413 MB / 498.6 MB, free: 13.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001314/0.4559, allocations: 289.1 kB / 498.9 MB, free: 13.2 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003931/0.4598, allocations: 2.494 MB / 0.4896 GB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4609, allocations: 1.227 MB / 0.4908 GB, free: 9.41 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001553/0.461, allocations: 42.31 kB / 0.4908 GB, free: 9.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.796e-05/0.4611, allocations: 15.44 kB / 0.4909 GB, free: 9.348 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4611, allocations: 0 / 0.4909 GB, free: 9.348 MB / 378.7 MB Notification: Performance of Templates: time 0.01958/0.4807, allocations: 14.76 MB / 0.5053 GB, free: 10.2 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DLATREGSRH/DLATREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches