Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.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.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRL.dataOut.1.|dFFREGSRL.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 171.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.2 MB / 219.8 MB, free: 14.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000859/0.0008591, allocations: 94.62 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.276e-05/2.276e-05, allocations: 4 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07864/0.07867, allocations: 47.57 MB / 370 MB, free: 1.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4031, allocations: 82.41 MB / 452.4 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002198/0.4034, allocations: 69.09 kB / 452.5 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06051/0.4639, allocations: 32.81 MB / 485.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.464, allocations: 0 / 485.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.352e-05/0.464, allocations: 12 kB / 485.3 MB, free: 11.58 MB / 362.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.001751/0.4658, allocations: 1.303 MB / 486.6 MB, free: 10.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4658, allocations: 12.03 kB / 486.6 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001956/0.466, allocations: 138.4 kB / 486.8 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007725/0.4668, allocations: 0.509 MB / 487.3 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.793e-05/0.4669, allocations: 23.98 kB / 487.3 MB, free: 9.449 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.23e-05/0.467, allocations: 28 kB / 487.3 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009834/0.468, allocations: 0.626 MB / 488 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.468, allocations: 0 / 488 MB, free: 8.789 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.697e-05/0.468, allocations: 15.98 kB / 488 MB, free: 8.773 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.423e-06/0.4681, allocations: 4 kB / 488 MB, free: 8.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.4687, allocations: 459.8 kB / 488.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001744/0.4705, allocations: 1.088 MB / 489.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008469/0.4713, allocations: 0.6993 MB / 490.2 MB, free: 6.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007853/0.4721, allocations: 0.6842 MB / 490.9 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.4722, allocations: 4 kB / 490.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009678/0.4731, allocations: 0.7553 MB / 491.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 2.424e-06/0.4731, allocations: 0 / 491.7 MB, free: 4.984 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.002186/0.4753, allocations: 1.411 MB / 493.1 MB, free: 3.516 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002727/0.4756, allocations: 321 kB / 493.4 MB, free: 3.141 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/0.4782, allocations: 1.602 MB / 495 MB, free: 1.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.739e-05/0.4783, allocations: 49.69 kB / 495 MB, free: 1.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002507/0.4785, allocations: 234.4 kB / 495.3 MB, free: 1.234 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/0.4787, allocations: 91.16 kB / 495.3 MB, free: 1.145 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/0.4787, allocations: 12 kB / 495.4 MB, free: 1.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000192/0.4789, allocations: 382.7 kB / 495.7 MB, free: 0.75 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005885/0.4795, allocations: 444 kB / 496.2 MB, free: 320 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005991/0.4801, allocations: 452.1 kB / 496.6 MB, free: 15.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000619/0.4808, allocations: 0.5841 MB / 497.2 MB, free: 15.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.4808, allocations: 4 kB / 497.2 MB, free: 15.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001806/0.4826, allocations: 1.351 MB / 498.5 MB, free: 13.83 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002975/0.4829, allocations: 285.5 kB / 498.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.4829, allocations: 0 / 498.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.4829, allocations: 4 kB / 498.8 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.768e-05/0.483, allocations: 7.938 kB / 498.8 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.185e-05/0.483, allocations: 7.984 kB / 498.8 MB, free: 13.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004398/0.4835, allocations: 47.81 kB / 498.9 MB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002036/0.4837, allocations: 155.9 kB / 499 MB, free: 13.28 MB / 378.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: 43 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.set,$PRE.dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.reset,$PRE.dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 14 * 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.0004885/0.4842, allocations: 466.4 kB / 499.5 MB, free: 12.77 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001625/0.4843, allocations: 134.5 kB / 499.6 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005932/0.4849, allocations: 247.8 kB / 499.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4849, allocations: 0 / 499.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.205e-06/0.485, allocations: 0 / 499.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.485, allocations: 0 / 499.9 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/0.4882, allocations: 2.399 MB / 0.4905 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4882, allocations: 0 / 0.4905 GB, free: 9.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.644e-05/0.4882, allocations: 4 kB / 0.4905 GB, free: 9.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/0.4882, allocations: 7.984 kB / 0.4905 GB, free: 9.867 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.422e-05/0.4883, allocations: 35.98 kB / 0.4905 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4883, allocations: 0 / 0.4905 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.4883, allocations: 0 / 0.4905 GB, free: 9.832 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002056/0.4904, allocations: 1.622 MB / 0.4921 GB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001136/0.4915, allocations: 0.6863 MB / 0.4928 GB, free: 7.434 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001672/0.4917, allocations: 59.97 kB / 0.4929 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003569/0.4921, allocations: 39.88 kB / 0.4929 GB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00058/0.4927, allocations: 359.6 kB / 0.4932 GB, free: 6.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001747/0.4929, allocations: 155.9 kB / 0.4934 GB, free: 6.828 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001991/0.4949, allocations: 1.323 MB / 0.4947 GB, free: 5.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4949, allocations: 3.938 kB / 0.4947 GB, free: 5.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.4954, allocations: 148 kB / 0.4948 GB, free: 5.352 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: 36 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,clock.y,data_0.y,reset.y,data_1.y,set.y,dFFREGSRL.delay.inertialDelaySensitive[1].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.dFFSR.set,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.dataIn[1],dFFREGSRL.dFFSR.dataIn[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRL.dFFSR.dataOut[2],dFFREGSRL.dFFSR.dataOut[1],dFFREGSRL.dFFSR.next_assign_val[2],dFFREGSRL.dFFSR.next_assign_val[1],dFFREGSRL.dFFSR.nextstate[2],dFFREGSRL.dFFSR.nextstate[1],dFFREGSRL.dFFSR.reset_set_flag,dFFREGSRL.dFFSR.clock_flag,dFFREGSRL.dFFSR.clock,dFFREGSRL.dFFSR.reset,dFFREGSRL.dFFSR.set,dFFREGSRL.delay.inertialDelaySensitive[2].y,dFFREGSRL.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[2].t_next,dFFREGSRL.delay.inertialDelaySensitive[2].delayTime,dFFREGSRL.delay.inertialDelaySensitive[2].lh,dFFREGSRL.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRL.delay.inertialDelaySensitive[2].x,dFFREGSRL.delay.inertialDelaySensitive[1].y,dFFREGSRL.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRL.delay.inertialDelaySensitive[1].t_next,dFFREGSRL.delay.inertialDelaySensitive[1].delayTime,dFFREGSRL.delay.inertialDelaySensitive[1].lh,dFFREGSRL.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRL.delay.inertialDelaySensitive[1].x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 7 * 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.000297/0.4957, allocations: 193.6 kB / 0.495 GB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002134/0.4978, allocations: 1.913 MB / 0.4969 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4979, allocations: 0 / 0.4969 GB, free: 3.141 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001298/0.4992, allocations: 1.398 MB / 0.4982 GB, free: 1.645 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001193/0.5004, allocations: 302.7 kB / 0.4985 GB, free: 1.348 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0038/0.5042, allocations: 2.464 MB / 0.5009 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001039/0.5052, allocations: 1.228 MB / 0.5021 GB, free: 13.59 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003089/0.5056, allocations: 151 kB / 0.5023 GB, free: 13.44 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.724e-05/0.5056, allocations: 27.44 kB / 0.5023 GB, free: 13.41 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5056, allocations: 0 / 0.5023 GB, free: 13.41 MB / 394.7 MB Notification: Performance of Templates: time 0.02496/0.5306, allocations: 16.65 MB / 0.5186 GB, free: 12.34 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRL/DFFREGSRL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches