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.0009668/0.0009668, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003876/0.004842, allocations: 449.7 kB / 10.37 MB, free: 332 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.0009112/0.0009112, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.007412/0.008324, allocations: 459.6 kB / 11.69 MB, free: 2.48 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 1.005/1.005, allocations: 173.3 MB / 185.8 MB, free: 9.004 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09193/1.097, allocations: 52.49 MB / 238.3 MB, free: 4.445 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.543e-06/1.543e-06, allocations: 0 / 239.6 MB, free: 3.184 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.413e-05/2.567e-05, allocations: 6.312 kB / 239.6 MB, free: 3.176 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002627/0.002652, allocations: 2.414 MB / 242 MB, free: 0.7539 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008696/0.003522, allocations: 0.6697 MB / 242.6 MB, free: 80 kB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.232e-05/0.003604, allocations: 7.938 kB / 242.6 MB, free: 72 kB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 8.327e-05/0.003687, allocations: 27.72 kB / 242.7 MB, free: 44 kB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.038e-05/0.003778, allocations: 63.42 kB / 242.7 MB, free: 15.98 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.003996, allocations: 95.62 kB / 242.8 MB, free: 15.89 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000231/0.004227, allocations: 263 kB / 243.1 MB, free: 15.63 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001496/0.004377, allocations: 86.2 kB / 243.2 MB, free: 15.54 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.004586, allocations: 187.5 kB / 243.4 MB, free: 15.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.004706, allocations: 91.75 kB / 243.4 MB, free: 15.27 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.004739, allocations: 23.94 kB / 243.5 MB, free: 15.25 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.004773, allocations: 27.94 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.96e-05/0.004823, allocations: 35.88 kB / 243.5 MB, free: 15.18 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.485e-05/0.004908, allocations: 67.88 kB / 243.6 MB, free: 15.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002074/0.005115, allocations: 179.4 kB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.406e-05/0.005129, allocations: 3.984 kB / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.00513, allocations: 0 / 243.8 MB, free: 14.94 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.49e-05/0.005145, allocations: 4 kB / 243.8 MB, free: 14.93 MB / 250.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.0007042/0.005849, allocations: 0.614 MB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.7e-05/0.005876, allocations: 12.03 kB / 244.4 MB, free: 14.26 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.00593, allocations: 36.91 kB / 244.4 MB, free: 14.23 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.006106, allocations: 158.1 kB / 244.6 MB, free: 14.04 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.371e-05/0.00617, allocations: 75.97 kB / 244.7 MB, free: 13.96 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.352e-05/0.006194, allocations: 20.38 kB / 244.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003017/0.006495, allocations: 286.7 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.006503, allocations: 192 / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.792e-05/0.006521, allocations: 20.11 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.642e-06/0.006528, allocations: 4 kB / 245 MB, free: 13.61 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001181/0.006646, allocations: 140.8 kB / 245.1 MB, free: 13.46 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006337/0.007279, allocations: 0.5105 MB / 245.6 MB, free: 12.92 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.007485, allocations: 191.8 kB / 245.8 MB, free: 12.71 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.007628, allocations: 172.4 kB / 246 MB, free: 12.53 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.007644, allocations: 4 kB / 246 MB, free: 12.52 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002416/0.007885, allocations: 345.3 kB / 246.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.072e-06/0.007886, allocations: 0 / 246.3 MB, free: 12.14 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003395/0.008226, allocations: 447.7 kB / 246.8 MB, free: 11.66 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.95e-05/0.008296, allocations: 178.1 kB / 247 MB, free: 11.45 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/0.008388, allocations: 178.7 kB / 247.1 MB, free: 11.26 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.00841, allocations: 37.7 kB / 247.2 MB, free: 11.21 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.008465, allocations: 132.8 kB / 247.3 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.417e-05/0.008509, allocations: 75.41 kB / 247.4 MB, free: 11.01 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.247e-05/0.008572, allocations: 69.97 kB / 247.4 MB, free: 10.93 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.193e-05/0.008654, allocations: 342.7 kB / 247.8 MB, free: 10.59 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.008721, allocations: 121.8 kB / 247.9 MB, free: 10.45 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.849e-05/0.008819, allocations: 209.9 kB / 248.1 MB, free: 10.2 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.008988, allocations: 303.4 kB / 248.4 MB, free: 9.855 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.00899, allocations: 4.031 kB / 248.4 MB, free: 9.852 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002204/0.00921, allocations: 359.6 kB / 248.7 MB, free: 9.457 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.888e-05/0.009269, allocations: 97.09 kB / 248.8 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.009274, allocations: 0 / 248.8 MB, free: 9.344 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.009285, allocations: 4 kB / 248.8 MB, free: 9.34 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.009448, allocations: 51.91 kB / 248.9 MB, free: 9.289 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.009455, allocations: 7.984 kB / 248.9 MB, free: 9.281 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.276e-05/0.009538, allocations: 35.88 kB / 248.9 MB, free: 9.246 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.009551, allocations: 12 kB / 248.9 MB, free: 9.234 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.0001343/0.009685, allocations: 222.5 kB / 249.2 MB, free: 8.996 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.154e-05/0.009717, allocations: 27.98 kB / 249.2 MB, free: 8.969 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.009748, allocations: 26.64 kB / 249.2 MB, free: 8.941 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.604e-06/0.009751, allocations: 4 kB / 249.2 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.009754, allocations: 0 / 249.2 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.009757, allocations: 0 / 249.2 MB, free: 8.938 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.01024, allocations: 0.5995 MB / 249.8 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01024, allocations: 0 / 249.8 MB, free: 8.285 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.554e-05/0.01032, allocations: 27.97 kB / 249.8 MB, free: 8.258 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01034, allocations: 19.8 kB / 249.9 MB, free: 8.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.01034, allocations: 4 kB / 249.9 MB, free: 8.234 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.01035, allocations: 11.98 kB / 249.9 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.01036, allocations: 0 / 249.9 MB, free: 8.223 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01036, allocations: 4.031 kB / 249.9 MB, free: 8.219 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002732/0.01063, allocations: 467.7 kB / 250.3 MB, free: 7.719 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.161e-05/0.01067, allocations: 19.98 kB / 250.4 MB, free: 7.699 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.418e-05/0.01077, allocations: 15.98 kB / 250.4 MB, free: 7.684 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.002e-05/0.01082, allocations: 19.97 kB / 250.4 MB, free: 7.664 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.01083, allocations: 11.94 kB / 250.4 MB, free: 7.652 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.646e-05/0.01087, allocations: 45.81 kB / 250.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01087, allocations: 0 / 250.5 MB, free: 7.605 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002172/0.01109, allocations: 83.89 kB / 250.5 MB, free: 7.523 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 0.0001189/0.01121, allocations: 110.3 kB / 250.6 MB, free: 7.406 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003654/0.01157, allocations: 0.5021 MB / 251.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/0.01158, allocations: 0 / 251.1 MB, free: 6.832 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.01176, allocations: 298.9 kB / 251.4 MB, free: 6.5 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003596/0.01212, allocations: 170.5 kB / 251.6 MB, free: 6.34 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.01377, allocations: 0.5553 MB / 252.2 MB, free: 5.742 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.113e-05/0.01383, allocations: 84.78 kB / 252.2 MB, free: 5.641 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.92e-05/0.01391, allocations: 25.92 kB / 252.3 MB, free: 5.617 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000202/0.01412, allocations: 131.3 kB / 252.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01412, allocations: 0 / 252.4 MB, free: 5.488 MB / 250.7 MB Notification: Performance of Templates: time 0.006484/0.0206, allocations: 4.885 MB / 257.3 MB, free: 0.7109 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6749619226902723]