Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009773, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001354/0.002331, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008451/0.0008451, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001199/0.002044, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.82/0.82, allocations: 173.4 MB / 186 MB, free: 7.527 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1632/0.9832, allocations: 52.48 MB / 238.5 MB, free: 7.625 MB / 234.7 MB " [Timeout remaining time 179] 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.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 239.8 MB, free: 6.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.106e-05/1.23e-05, allocations: 2.312 kB / 239.8 MB, free: 6.344 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005914/0.005926, allocations: 2.405 MB / 242.2 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009518/0.006878, allocations: 0.6809 MB / 242.8 MB, free: 3.258 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.815e-05/0.006966, allocations: 4 kB / 242.8 MB, free: 3.254 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001023/0.007069, allocations: 31.66 kB / 242.9 MB, free: 3.223 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.782e-05/0.007157, allocations: 57.19 kB / 242.9 MB, free: 3.168 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.007386, allocations: 96.12 kB / 243 MB, free: 3.074 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.007664, allocations: 271 kB / 243.3 MB, free: 2.809 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001604/0.007824, allocations: 75.53 kB / 243.4 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003182/0.008142, allocations: 188.1 kB / 243.5 MB, free: 2.551 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.008285, allocations: 91.75 kB / 243.6 MB, free: 2.461 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.241e-05/0.008327, allocations: 24.69 kB / 243.7 MB, free: 2.438 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.577e-05/0.008363, allocations: 20 kB / 243.7 MB, free: 2.418 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.51e-05/0.008418, allocations: 44.53 kB / 243.7 MB, free: 2.375 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.078e-05/0.008499, allocations: 63.88 kB / 243.8 MB, free: 2.312 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003253/0.01175, allocations: 193.5 kB / 244 MB, free: 2.125 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.11e-05/0.01176, allocations: 0 / 244 MB, free: 2.125 MB / 234.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.01176, allocations: 0 / 244 MB, free: 2.125 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.01177, allocations: 0 / 244 MB, free: 2.125 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0007853/0.01256, allocations: 0.6166 MB / 244.6 MB, free: 1.469 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.01259, allocations: 8.031 kB / 244.6 MB, free: 1.461 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.153e-05/0.01266, allocations: 36.91 kB / 244.6 MB, free: 1.426 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002055/0.01287, allocations: 170 kB / 244.8 MB, free: 1.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/0.01294, allocations: 68.78 kB / 244.9 MB, free: 1.152 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.332e-05/0.01297, allocations: 24.38 kB / 244.9 MB, free: 1.129 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.01348, allocations: 289 kB / 245.2 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.01349, allocations: 192 / 245.2 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.0135, allocations: 8.125 kB / 245.2 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.056e-06/0.01351, allocations: 4 kB / 245.2 MB, free: 0.8086 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01366, allocations: 138.9 kB / 245.3 MB, free: 0.6641 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007325/0.01439, allocations: 0.5172 MB / 245.8 MB, free: 124 kB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003386/0.01778, allocations: 194.8 kB / 246 MB, free: 15.91 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001467/0.01792, allocations: 166.5 kB / 246.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.353e-05/0.01794, allocations: 4 kB / 246.2 MB, free: 15.73 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.01815, allocations: 342.5 kB / 246.5 MB, free: 15.35 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.172e-06/0.01815, allocations: 0 / 246.5 MB, free: 15.35 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003229/0.01848, allocations: 441.5 kB / 247 MB, free: 14.88 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.629e-05/0.01857, allocations: 285.7 kB / 247.2 MB, free: 14.54 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.065e-05/0.01866, allocations: 178.7 kB / 247.4 MB, free: 14.35 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.01869, allocations: 35.08 kB / 247.5 MB, free: 14.31 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.459e-05/0.01874, allocations: 132.8 kB / 247.6 MB, free: 14.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.539e-05/0.01879, allocations: 87.38 kB / 247.7 MB, free: 14.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.008e-05/0.01885, allocations: 70.91 kB / 247.7 MB, free: 14.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.652e-05/0.01892, allocations: 338.7 kB / 248.1 MB, free: 13.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.423e-05/0.01899, allocations: 125.8 kB / 248.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.01909, allocations: 218.3 kB / 248.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002016/0.01929, allocations: 300.9 kB / 248.7 MB, free: 12.93 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.01929, allocations: 7.938 kB / 248.7 MB, free: 12.92 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002212/0.01952, allocations: 357.1 kB / 249.1 MB, free: 12.53 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.285e-05/0.01957, allocations: 101.1 kB / 249.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.01957, allocations: 0 / 249.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.01959, allocations: 4 kB / 249.2 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.01975, allocations: 55.91 kB / 249.2 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.01976, allocations: 7.938 kB / 249.2 MB, free: 12.35 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.496e-05/0.01983, allocations: 35.77 kB / 249.3 MB, free: 12.31 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.01984, allocations: 8 kB / 249.3 MB, free: 12.3 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.dA_Converter.vout) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * 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.0001825/0.02003, allocations: 230.5 kB / 249.5 MB, free: 12.06 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.02006, allocations: 27.97 kB / 249.5 MB, free: 12.03 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.013e-05/0.02009, allocations: 22.66 kB / 249.5 MB, free: 12.01 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.02009, allocations: 4 kB / 249.5 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.343e-06/0.02009, allocations: 0 / 249.5 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.02009, allocations: 3.984 kB / 249.5 MB, free: 12 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004728/0.02057, allocations: 0.5801 MB / 250.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.02057, allocations: 0 / 250.1 MB, free: 11.37 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.02e-05/0.02066, allocations: 34.34 kB / 250.2 MB, free: 11.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.407e-05/0.02068, allocations: 27.8 kB / 250.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.02069, allocations: 0 / 250.2 MB, free: 11.31 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.0207, allocations: 4 kB / 250.2 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.0207, allocations: 3.984 kB / 250.2 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02071, allocations: 4 kB / 250.2 MB, free: 11.3 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.02099, allocations: 466.8 kB / 250.7 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.02102, allocations: 20.02 kB / 250.7 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.572e-05/0.02112, allocations: 19.98 kB / 250.7 MB, free: 10.76 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.663e-05/0.02117, allocations: 19.97 kB / 250.7 MB, free: 10.74 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.588e-05/0.02119, allocations: 15.92 kB / 250.7 MB, free: 10.72 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.847e-05/0.02123, allocations: 49.81 kB / 250.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.02123, allocations: 0 / 250.8 MB, free: 10.67 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001763/0.0214, allocations: 79.89 kB / 250.9 MB, free: 10.59 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.y[1],aD_Converter.y[2],aD_Converter.y[3],aD_Converter.y[4],aD_Converter.y[5],aD_Converter.y[6],aD_Converter.y[7],aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,dA_Converter.x[1],dA_Converter.x[2],dA_Converter.x[3],dA_Converter.x[4],dA_Converter.x[5],dA_Converter.x[6],dA_Converter.x[7],dA_Converter.vout,dA_Converter.y) * Number of discrete states: 13 (pulse.np,aD_Converter.y[7],aD_Converter.y[6],aD_Converter.y[5],aD_Converter.y[4],aD_Converter.y[3],aD_Converter.y[2],aD_Converter.y[1],aD_Converter.z,$whenCondition1,dA_Converter.vout,dA_Converter.y,$whenCondition2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.301e-05/0.0215, allocations: 112.3 kB / 251 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004234/0.02192, allocations: 0.5021 MB / 251.5 MB, free: 9.902 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/0.02193, allocations: 4 kB / 251.5 MB, free: 9.898 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.02208, allocations: 302.9 kB / 251.8 MB, free: 9.562 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.02249, allocations: 453.3 kB / 252.2 MB, free: 9.074 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001485/0.02397, allocations: 0.5398 MB / 252.7 MB, free: 8.492 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.163e-05/0.02402, allocations: 84.83 kB / 252.8 MB, free: 8.391 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.309e-05/0.02408, allocations: 29.88 kB / 252.9 MB, free: 8.363 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001855/0.02426, allocations: 135.3 kB / 253 MB, free: 8.23 MB / 250.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02426, allocations: 3.938 kB / 253 MB, free: 8.227 MB / 250.7 MB Notification: Performance of Templates: time 0.006285/0.03055, allocations: 4.895 MB / 257.9 MB, free: 3.438 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.452111031860113]