Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007287/0.0007287, allocations: 68.19 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001022/0.001751, allocations: 445.7 kB / 10.37 MB, free: 328 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007079/0.0007079, allocations: 157.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009684/0.001676, allocations: 467.6 kB / 11.72 MB, free: 2.449 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.985/0.985, allocations: 158.6 MB / 171.1 MB, free: 2.57 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1463/1.131, allocations: 49.48 MB / 220.5 MB, free: 1.449 MB / 218.7 MB " [Timeout remaining time 179] 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 221.8 MB, free: 176 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.513e-05, allocations: 10.25 kB / 221.8 MB, free: 164 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002241/0.002256, allocations: 2.378 MB / 224.2 MB, free: 13.76 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008163/0.003072, allocations: 0.7095 MB / 224.9 MB, free: 13.04 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.111e-05/0.003153, allocations: 11.94 kB / 224.9 MB, free: 13.03 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.874e-05/0.003242, allocations: 35.7 kB / 225 MB, free: 13 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 6.565e-05/0.003308, allocations: 59.48 kB / 225 MB, free: 12.94 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001894/0.003497, allocations: 87.7 kB / 225.1 MB, free: 12.85 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002251/0.003722, allocations: 266.8 kB / 225.4 MB, free: 12.59 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001412/0.003863, allocations: 78.28 kB / 225.5 MB, free: 12.52 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.004057, allocations: 195.5 kB / 225.6 MB, free: 12.33 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/0.004175, allocations: 87.77 kB / 225.7 MB, free: 12.24 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 3.34e-05/0.004208, allocations: 24 kB / 225.8 MB, free: 12.22 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.972e-05/0.004238, allocations: 20 kB / 225.8 MB, free: 12.2 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.004282, allocations: 43.86 kB / 225.8 MB, free: 12.16 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.916e-05/0.004351, allocations: 67.81 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.004544, allocations: 183.3 kB / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.149e-05/0.004556, allocations: 0 / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.004556, allocations: 0 / 226.1 MB, free: 11.91 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.147e-05/0.004568, allocations: 0 / 226.1 MB, free: 11.91 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.0006678/0.005236, allocations: 0.6217 MB / 226.7 MB, free: 11.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.005264, allocations: 8.031 kB / 226.7 MB, free: 11.24 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.006e-05/0.005324, allocations: 36.91 kB / 226.7 MB, free: 11.2 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00017/0.005494, allocations: 158.1 kB / 226.9 MB, free: 11.02 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.944e-05/0.005553, allocations: 71.97 kB / 227 MB, free: 10.94 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.319e-05/0.005576, allocations: 28.3 kB / 227 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.005864, allocations: 290.8 kB / 227.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.585e-06/0.005872, allocations: 192 / 227.3 MB, free: 10.6 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.005887, allocations: 8.125 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005892, allocations: 4 kB / 227.3 MB, free: 10.59 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.006007, allocations: 136.9 kB / 227.4 MB, free: 10.44 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.006584, allocations: 0.5143 MB / 227.9 MB, free: 9.898 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.006772, allocations: 196.9 kB / 228.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001262/0.006898, allocations: 168.4 kB / 228.3 MB, free: 9.504 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.006912, allocations: 4 kB / 228.3 MB, free: 9.5 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002007/0.007112, allocations: 333.4 kB / 228.6 MB, free: 9.125 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.102e-06/0.007113, allocations: 0 / 228.6 MB, free: 9.125 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.000315/0.007428, allocations: 455.6 kB / 229.1 MB, free: 8.637 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/0.007488, allocations: 170.2 kB / 229.2 MB, free: 8.434 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.137e-05/0.007569, allocations: 174.7 kB / 229.4 MB, free: 8.25 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.007595, allocations: 37.7 kB / 229.4 MB, free: 8.207 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.922e-05/0.007644, allocations: 124.8 kB / 229.6 MB, free: 8.082 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.007685, allocations: 91.33 kB / 229.6 MB, free: 7.992 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.007746, allocations: 69.98 kB / 229.7 MB, free: 7.914 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 8.004e-05/0.007826, allocations: 334.7 kB / 230 MB, free: 7.578 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.73e-05/0.007894, allocations: 129.8 kB / 230.2 MB, free: 7.434 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.745e-05/0.007991, allocations: 214.1 kB / 230.4 MB, free: 7.18 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.008148, allocations: 288.4 kB / 230.7 MB, free: 6.848 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.008151, allocations: 4 kB / 230.7 MB, free: 6.844 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000215/0.008366, allocations: 363.6 kB / 231 MB, free: 6.445 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.974e-05/0.008416, allocations: 97.09 kB / 231.1 MB, free: 6.332 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.008421, allocations: 7.938 kB / 231.1 MB, free: 6.324 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.008428, allocations: 0 / 231.1 MB, free: 6.324 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.008585, allocations: 51.91 kB / 231.2 MB, free: 6.273 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.008589, allocations: 4 kB / 231.2 MB, free: 6.27 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.898e-05/0.008668, allocations: 43.77 kB / 231.2 MB, free: 6.227 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.00868, allocations: 8.094 kB / 231.2 MB, free: 6.219 MB / 234.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.0001385/0.008818, allocations: 234.5 kB / 231.4 MB, free: 5.965 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.008847, allocations: 31.97 kB / 231.5 MB, free: 5.934 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.008875, allocations: 18.66 kB / 231.5 MB, free: 5.918 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008878, allocations: 4 kB / 231.5 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.008879, allocations: 0 / 231.5 MB, free: 5.914 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.008884, allocations: 3.984 kB / 231.5 MB, free: 5.91 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.00932, allocations: 0.5927 MB / 232.1 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.009321, allocations: 0 / 232.1 MB, free: 5.266 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.211e-05/0.009393, allocations: 31.91 kB / 232.1 MB, free: 5.234 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.831e-05/0.009412, allocations: 19.84 kB / 232.1 MB, free: 5.215 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.009413, allocations: 0 / 232.1 MB, free: 5.215 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.009427, allocations: 8 kB / 232.2 MB, free: 5.207 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.009429, allocations: 4 kB / 232.2 MB, free: 5.203 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.00943, allocations: 0 / 232.2 MB, free: 5.203 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002612/0.009692, allocations: 470.9 kB / 232.6 MB, free: 4.699 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.371e-05/0.009725, allocations: 15.98 kB / 232.6 MB, free: 4.684 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.85e-05/0.009814, allocations: 15.98 kB / 232.7 MB, free: 4.668 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.009856, allocations: 15.97 kB / 232.7 MB, free: 4.652 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.846e-05/0.009874, allocations: 23.91 kB / 232.7 MB, free: 4.629 MB / 234.7 MB Notification: Performance of sorting global known variables: time 2.906e-05/0.009903, allocations: 44.81 kB / 232.7 MB, free: 4.582 MB / 234.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009903, allocations: 4 kB / 232.7 MB, free: 4.578 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.01007, allocations: 71.94 kB / 232.8 MB, free: 4.508 MB / 234.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 8.679e-05/0.01016, allocations: 118.3 kB / 232.9 MB, free: 4.387 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0002932/0.01045, allocations: 0.5061 MB / 233.4 MB, free: 3.809 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.284e-06/0.01046, allocations: 4 kB / 233.4 MB, free: 3.805 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.01062, allocations: 306.8 kB / 233.7 MB, free: 3.465 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003174/0.01094, allocations: 172.8 kB / 233.9 MB, free: 3.297 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.01255, allocations: 0.5491 MB / 234.5 MB, free: 2.707 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.449e-05/0.01259, allocations: 84.78 kB / 234.5 MB, free: 2.605 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.939e-05/0.01266, allocations: 25.92 kB / 234.6 MB, free: 2.578 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001785/0.01284, allocations: 135.3 kB / 234.7 MB, free: 2.445 MB / 234.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01284, allocations: 0 / 234.7 MB, free: 2.445 MB / 234.7 MB Notification: Performance of Templates: time 0.005521/0.01836, allocations: 4.89 MB / 239.6 MB, free: 13.58 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.662746333517134]