Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001384, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 223.3 MB / 241.4 MB, free: 9.953 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008398/0.0008399, allocations: 97.44 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003345, allocations: 11.94 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2593/0.2597, allocations: 50.41 MB / 402.7 MB, free: 32.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1012/0.3608, allocations: 83.29 MB / 486 MB, free: 13.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/0.3611, allocations: 67.97 kB / 486.1 MB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3109/0.672, allocations: 30.95 MB / 0.5049 GB, free: 95.49 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6721, allocations: 0 / 0.5049 GB, free: 95.49 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.594e-05/0.6721, allocations: 14.81 kB / 0.5049 GB, free: 95.49 MB / 378.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.001943/0.6741, allocations: 1.516 MB / 0.5064 GB, free: 94.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.731e-05/0.6741, allocations: 8.719 kB / 0.5064 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.6743, allocations: 129.8 kB / 0.5066 GB, free: 94.41 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009076/0.6753, allocations: 0.578 MB / 0.5071 GB, free: 94.03 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.024e-05/0.6753, allocations: 22.25 kB / 0.5071 GB, free: 94.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.491e-05/0.6754, allocations: 37.25 kB / 0.5072 GB, free: 94.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00137/0.6768, allocations: 0.6121 MB / 0.5078 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.6768, allocations: 0.7188 kB / 0.5078 GB, free: 93.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.231e-05/0.6769, allocations: 20.52 kB / 0.5078 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.108e-05/0.6769, allocations: 2.812 kB / 0.5078 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007362/0.6777, allocations: 465.8 kB / 0.5082 GB, free: 93.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002292/0.68, allocations: 1.172 MB / 0.5094 GB, free: 93.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007961/0.6808, allocations: 0.6899 MB / 0.5101 GB, free: 93.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00071/0.6815, allocations: 0.6793 MB / 0.5107 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.6815, allocations: 3.531 kB / 0.5107 GB, free: 93.56 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001223/0.6828, allocations: 0.7486 MB / 0.5115 GB, free: 93.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 3.767e-06/0.6828, allocations: 0 / 0.5115 GB, free: 93.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.002921/0.6857, allocations: 1.882 MB / 0.5133 GB, free: 93.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001743/0.6859, allocations: 330.5 kB / 0.5136 GB, free: 92.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003351/0.6893, allocations: 1.854 MB / 0.5154 GB, free: 91.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001348/0.6894, allocations: 40.73 kB / 0.5155 GB, free: 91.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000308/0.6897, allocations: 254 kB / 0.5157 GB, free: 91.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.6899, allocations: 75.44 kB / 0.5158 GB, free: 91.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.285e-05/0.69, allocations: 11.66 kB / 0.5158 GB, free: 91.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001907/0.6902, allocations: 386 kB / 0.5161 GB, free: 91.29 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009164/0.6911, allocations: 445.3 kB / 0.5166 GB, free: 91.15 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000893/0.692, allocations: 476.5 kB / 0.517 GB, free: 90.99 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001559/0.6936, allocations: 1.167 MB / 0.5182 GB, free: 90.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.6936, allocations: 0 / 0.5182 GB, free: 90.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002585/0.6962, allocations: 1.359 MB / 0.5195 GB, free: 89.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.6965, allocations: 291.1 kB / 0.5198 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.6965, allocations: 3.531 kB / 0.5198 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.202e-05/0.6966, allocations: 3.938 kB / 0.5198 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.722e-05/0.6966, allocations: 7.375 kB / 0.5198 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.6967, allocations: 0 / 0.5198 GB, free: 89.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000803/0.6975, allocations: 51.55 kB / 0.5198 GB, free: 89.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002295/0.6977, allocations: 129.7 kB / 0.52 GB, free: 89.29 MB / 378.7 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,$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,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,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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00185/0.6996, allocations: 0.9924 MB / 0.5209 GB, free: 88.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002953/0.6999, allocations: 133 kB / 0.5211 GB, free: 88.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006733/0.7006, allocations: 259.9 kB / 0.5213 GB, free: 88.47 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.7006, allocations: 0 / 0.5213 GB, free: 88.47 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7006, allocations: 4 kB / 0.5213 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7006, allocations: 3.516 kB / 0.5213 GB, free: 88.46 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004162/0.7048, allocations: 2.418 MB / 0.5237 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.299e-06/0.7048, allocations: 3.938 kB / 0.5237 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.7048, allocations: 3.844 kB / 0.5237 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-06/0.7049, allocations: 0 / 0.5237 GB, free: 87.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.843e-05/0.705, allocations: 35.33 kB / 0.5237 GB, free: 87.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.414e-06/0.705, allocations: 7.594 kB / 0.5237 GB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.705, allocations: 4 kB / 0.5237 GB, free: 87.17 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002773/0.7078, allocations: 1.647 MB / 0.5253 GB, free: 85.62 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001575/0.7094, allocations: 0.6757 MB / 0.526 GB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/0.7096, allocations: 62.27 kB / 0.5261 GB, free: 84.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004893/0.7101, allocations: 38.94 kB / 0.5261 GB, free: 84.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007361/0.7109, allocations: 377.4 kB / 0.5265 GB, free: 84.69 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001921/0.7111, allocations: 136 kB / 0.5266 GB, free: 84.56 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003089/0.7142, allocations: 1.353 MB / 0.5279 GB, free: 83.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.7142, allocations: 0 / 0.5279 GB, free: 83.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009445/0.7151, allocations: 151 kB / 0.528 GB, free: 83.27 MB / 378.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) * Number of clocked states: 0 () * 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.0003885/0.7155, allocations: 182.9 kB / 0.5282 GB, free: 83.1 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003124/0.7187, allocations: 1.915 MB / 0.5301 GB, free: 81.27 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.7187, allocations: 4.125 kB / 0.5301 GB, free: 81.26 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7206, allocations: 1.429 MB / 0.5315 GB, free: 79.83 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002247/0.7228, allocations: 316.9 kB / 0.5318 GB, free: 79.61 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007331/0.7302, allocations: 3.151 MB / 0.5349 GB, free: 76.7 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001914/0.7321, allocations: 1.204 MB / 0.536 GB, free: 75.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002823/0.7324, allocations: 41.33 kB / 0.5361 GB, free: 75.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.792e-05/0.7325, allocations: 15.44 kB / 0.5361 GB, free: 75.55 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7325, allocations: 0 / 0.5361 GB, free: 75.55 MB / 378.7 MB Notification: Performance of Templates: time 0.02319/0.7557, allocations: 15.27 MB / 0.551 GB, free: 60.17 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.DLATREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches