Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.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.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH") translateModel(Modelica.Electrical.Digital.Examples.DFFREGSRH,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dFFREGSRH.dataOut.1.|dFFREGSRH.dataOut.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009546/0.0009546, allocations: 172.3 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.394/1.394, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.001025/0.001025, allocations: 86.66 kB / 268 MB, free: 14.03 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.677e-05/2.692e-05, allocations: 0 / 322.4 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08979/0.08983, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2912/0.381, allocations: 82.36 MB / 452.4 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001949/0.3813, allocations: 73.2 kB / 452.5 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05677/0.4381, allocations: 31.26 MB / 483.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4381, allocations: 0 / 483.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.358e-05/0.4382, allocations: 12 kB / 483.7 MB, free: 13.16 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.00186/0.4401, allocations: 1.311 MB / 485 MB, free: 11.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4401, allocations: 8.031 kB / 485 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002663/0.4404, allocations: 126.5 kB / 485.2 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008408/0.4412, allocations: 0.509 MB / 485.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.983e-05/0.4413, allocations: 24 kB / 485.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.4414, allocations: 31.98 kB / 485.7 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009707/0.4424, allocations: 0.6182 MB / 486.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.4424, allocations: 0 / 486.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.683e-05/0.4425, allocations: 19.98 kB / 486.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.4425, allocations: 0 / 486.4 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006409/0.4431, allocations: 467.6 kB / 486.8 MB, free: 9.902 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.4449, allocations: 1.084 MB / 487.9 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007967/0.4457, allocations: 0.6858 MB / 488.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007514/0.4465, allocations: 0.6803 MB / 489.3 MB, free: 7.383 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.4465, allocations: 4 kB / 489.3 MB, free: 7.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008711/0.4474, allocations: 0.7649 MB / 490 MB, free: 6.578 MB / 362.7 MB Notification: Performance of pre-optimization done (n=36): time 3.386e-06/0.4474, allocations: 3.984 kB / 490.1 MB, free: 6.574 MB / 362.7 MB Notification: Performance of matching and sorting (n=36): time 0.001841/0.4493, allocations: 1.411 MB / 491.5 MB, free: 5.105 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001863/0.4495, allocations: 332.9 kB / 491.8 MB, free: 4.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/0.4519, allocations: 1.598 MB / 493.4 MB, free: 3.105 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.452, allocations: 53.69 kB / 493.4 MB, free: 3.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.4523, allocations: 230.5 kB / 493.7 MB, free: 2.816 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.4524, allocations: 83.14 kB / 493.7 MB, free: 2.734 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.131e-05/0.4524, allocations: 19.92 kB / 493.8 MB, free: 2.715 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.4526, allocations: 382.7 kB / 494.1 MB, free: 2.332 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006645/0.4533, allocations: 444 kB / 494.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006165/0.4539, allocations: 452.1 kB / 495 MB, free: 1.453 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006457/0.4546, allocations: 0.588 MB / 495.6 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4546, allocations: 4 kB / 495.6 MB, free: 0.8125 MB / 362.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00185/0.4565, allocations: 1.343 MB / 496.9 MB, free: 15.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002347/0.4567, allocations: 285.5 kB / 497.2 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.4567, allocations: 4 kB / 497.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4568, allocations: 3.938 kB / 497.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.826e-05/0.4568, allocations: 0 / 497.2 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.4568, allocations: 11.92 kB / 497.2 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004227/0.4572, allocations: 43.88 kB / 497.3 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/0.4575, allocations: 159.8 kB / 497.4 MB, free: 14.87 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.dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].x,$PRE.dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,$PRE.dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.set,$PRE.dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.reset,$PRE.dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.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.0004866/0.458, allocations: 462.5 kB / 497.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.4582, allocations: 130.5 kB / 498 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006057/0.4588, allocations: 251.7 kB / 498.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.4588, allocations: 3.938 kB / 498.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.4588, allocations: 0 / 498.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4588, allocations: 4 kB / 498.3 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/0.4622, allocations: 2.399 MB / 0.4889 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4622, allocations: 0 / 0.4889 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.437e-05/0.4622, allocations: 4 kB / 0.4889 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.4622, allocations: 0 / 0.4889 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.066e-05/0.4623, allocations: 39.97 kB / 0.489 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.4623, allocations: 0 / 0.489 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.4623, allocations: 0 / 0.489 GB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001987/0.4643, allocations: 1.629 MB / 0.4906 GB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/0.4655, allocations: 0.6786 MB / 0.4912 GB, free: 9.023 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001961/0.4658, allocations: 63.97 kB / 0.4913 GB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.4661, allocations: 35.91 kB / 0.4913 GB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005457/0.4667, allocations: 359.6 kB / 0.4917 GB, free: 8.574 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.4669, allocations: 155.9 kB / 0.4918 GB, free: 8.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002114/0.469, allocations: 1.319 MB / 0.4931 GB, free: 7.098 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.11e-07/0.469, allocations: 0 / 0.4931 GB, free: 7.098 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005873/0.4696, allocations: 159.9 kB / 0.4933 GB, free: 6.941 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,dFFREGSRH.delay.inertialDelaySensitive[1].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.dFFSR.set,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.dataIn[1],dFFREGSRH.dFFSR.dataIn[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.next_assign_val[2]) * Number of discrete states: 34 (set.y,data_1.y,reset.y,data_0.y,clock.y,dFFREGSRH.dFFSR.dataOut[2],dFFREGSRH.dFFSR.dataOut[1],dFFREGSRH.dFFSR.next_assign_val[2],dFFREGSRH.dFFSR.next_assign_val[1],dFFREGSRH.dFFSR.nextstate[2],dFFREGSRH.dFFSR.nextstate[1],dFFREGSRH.dFFSR.reset_set_flag,dFFREGSRH.dFFSR.clock_flag,dFFREGSRH.dFFSR.clock,dFFREGSRH.dFFSR.reset,dFFREGSRH.dFFSR.set,dFFREGSRH.delay.inertialDelaySensitive[2].y,dFFREGSRH.delay.inertialDelaySensitive[2].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[2].t_next,dFFREGSRH.delay.inertialDelaySensitive[2].delayTime,dFFREGSRH.delay.inertialDelaySensitive[2].lh,dFFREGSRH.delay.inertialDelaySensitive[2].y_old,$whenCondition4,$whenCondition3,dFFREGSRH.delay.inertialDelaySensitive[2].x,dFFREGSRH.delay.inertialDelaySensitive[1].y,dFFREGSRH.delay.inertialDelaySensitive[1].y_auxiliary,dFFREGSRH.delay.inertialDelaySensitive[1].t_next,dFFREGSRH.delay.inertialDelaySensitive[1].delayTime,dFFREGSRH.delay.inertialDelaySensitive[1].lh,dFFREGSRH.delay.inertialDelaySensitive[1].y_old,$whenCondition2,$whenCondition1,dFFREGSRH.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.0003275/0.4699, allocations: 193.7 kB / 0.4934 GB, free: 6.738 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002242/0.4722, allocations: 1.909 MB / 0.4953 GB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4722, allocations: 0 / 0.4953 GB, free: 4.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.4736, allocations: 1.394 MB / 0.4967 GB, free: 3.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.4749, allocations: 306.1 kB / 0.497 GB, free: 2.938 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004645/0.4795, allocations: 2.472 MB / 0.4994 GB, free: 440 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/0.4809, allocations: 1.221 MB / 0.5006 GB, free: 15.18 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003997/0.4813, allocations: 191 kB / 0.5008 GB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.76e-05/0.4814, allocations: 27.44 kB / 0.5008 GB, free: 14.96 MB / 394.7 MB Notification: Performance of SimCode: time 1.102e-06/0.4814, allocations: 0 / 0.5008 GB, free: 14.96 MB / 394.7 MB Notification: Performance of Templates: time 0.02282/0.5042, allocations: 16.65 MB / 0.517 GB, free: 13.89 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/DFFREGSRH/DFFREGSRH.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.DFFREGSRH.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches