Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001114/0.001114, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001723/0.002838, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002429, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9724/0.9724, allocations: 177.5 MB / 190 MB, free: 4.766 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08035/1.053, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.283e-06/1.283e-06, allocations: 0 / 245.2 MB, free: 13.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.189e-05/1.318e-05, allocations: 2.312 kB / 245.2 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002445/0.002458, allocations: 2.441 MB / 247.7 MB, free: 11.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009734/0.003432, allocations: 0.7435 MB / 248.4 MB, free: 10.32 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.953e-05/0.003531, allocations: 3.938 kB / 248.4 MB, free: 10.31 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.075e-05/0.003622, allocations: 31.7 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.624e-05/0.003708, allocations: 63.38 kB / 248.5 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.003959, allocations: 111.6 kB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002462/0.004205, allocations: 266.9 kB / 248.9 MB, free: 9.848 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.004352, allocations: 86.12 kB / 249 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002536/0.004606, allocations: 187.6 kB / 249.1 MB, free: 9.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001412/0.004747, allocations: 91.7 kB / 249.2 MB, free: 9.492 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.31e-05/0.00478, allocations: 24 kB / 249.3 MB, free: 9.469 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.634e-05/0.004847, allocations: 27.98 kB / 249.3 MB, free: 9.441 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.58e-05/0.004893, allocations: 35.88 kB / 249.3 MB, free: 9.406 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.768e-05/0.00496, allocations: 67.88 kB / 249.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002139/0.005174, allocations: 187.3 kB / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.998e-06/0.005184, allocations: 0 / 249.6 MB, free: 9.156 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.005185, allocations: 4 kB / 249.6 MB, free: 9.152 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.074e-05/0.005196, allocations: 0 / 249.6 MB, free: 9.152 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.000738/0.005934, allocations: 0.6179 MB / 250.2 MB, free: 8.492 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.005967, allocations: 12.62 kB / 250.2 MB, free: 8.48 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.00614, allocations: 126 kB / 250.3 MB, free: 8.34 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.006317, allocations: 165.4 kB / 250.5 MB, free: 8.152 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.006377, allocations: 87.67 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.385e-05/0.006401, allocations: 16.38 kB / 250.6 MB, free: 8.039 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002841/0.006685, allocations: 286.9 kB / 250.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.006694, allocations: 192 / 250.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.561e-05/0.00671, allocations: 12.12 kB / 250.9 MB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.006716, allocations: 4 kB / 250.9 MB, free: 7.715 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.006831, allocations: 144.8 kB / 251 MB, free: 7.562 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.007428, allocations: 0.5105 MB / 251.5 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001859/0.007614, allocations: 192.9 kB / 251.7 MB, free: 6.809 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001261/0.00774, allocations: 168.4 kB / 251.9 MB, free: 6.629 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.268e-05/0.007753, allocations: 4 kB / 251.9 MB, free: 6.625 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.007967, allocations: 345.5 kB / 252.2 MB, free: 6.238 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.007969, allocations: 0 / 252.2 MB, free: 6.238 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003195/0.008288, allocations: 451.7 kB / 252.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.781e-05/0.008376, allocations: 281 kB / 252.9 MB, free: 5.418 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.995e-05/0.008466, allocations: 178.5 kB / 253.1 MB, free: 5.23 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.008487, allocations: 33.7 kB / 253.2 MB, free: 5.191 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.95e-05/0.008546, allocations: 124.9 kB / 253.3 MB, free: 5.066 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.008597, allocations: 91.27 kB / 253.4 MB, free: 4.977 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.039e-05/0.008657, allocations: 65.98 kB / 253.4 MB, free: 4.902 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.621e-05/0.008734, allocations: 342.7 kB / 253.8 MB, free: 4.559 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.936e-05/0.008803, allocations: 125.8 kB / 253.9 MB, free: 4.414 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.008902, allocations: 218 kB / 254.1 MB, free: 4.156 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/0.009066, allocations: 295.7 kB / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.009068, allocations: 0 / 254.4 MB, free: 3.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002392/0.009307, allocations: 363.5 kB / 254.7 MB, free: 3.422 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.256e-05/0.00936, allocations: 93.09 kB / 254.8 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.009364, allocations: 0 / 254.8 MB, free: 3.312 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.00938, allocations: 4 kB / 254.8 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001988/0.009579, allocations: 60 kB / 254.9 MB, free: 3.25 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.982e-06/0.009585, allocations: 4 kB / 254.9 MB, free: 3.246 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.009692, allocations: 31.83 kB / 254.9 MB, free: 3.215 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.303e-05/0.009705, allocations: 19.88 kB / 254.9 MB, free: 3.195 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.0001419/0.009847, allocations: 222.5 kB / 255.2 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.548e-05/0.009882, allocations: 35.97 kB / 255.2 MB, free: 2.918 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.009912, allocations: 22.66 kB / 255.2 MB, free: 2.895 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009916, allocations: 4 kB / 255.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.405e-06/0.009918, allocations: 0 / 255.2 MB, free: 2.891 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.009923, allocations: 3.984 kB / 255.2 MB, free: 2.887 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000478/0.0104, allocations: 0.5917 MB / 255.8 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.0104, allocations: 0 / 255.8 MB, free: 2.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.525e-05/0.01049, allocations: 35.34 kB / 255.9 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.01051, allocations: 27.83 kB / 255.9 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.01051, allocations: 0 / 255.9 MB, free: 2.184 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.01053, allocations: 8 kB / 255.9 MB, free: 2.176 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01053, allocations: 4 kB / 255.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01053, allocations: 0 / 255.9 MB, free: 2.172 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002561/0.01079, allocations: 456.8 kB / 256.3 MB, free: 1.684 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.01082, allocations: 23.98 kB / 256.4 MB, free: 1.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.982e-05/0.01091, allocations: 15.98 kB / 256.4 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.01096, allocations: 19.97 kB / 256.4 MB, free: 1.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.372e-05/0.01098, allocations: 19.92 kB / 256.4 MB, free: 1.605 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.311e-05/0.01102, allocations: 40.8 kB / 256.5 MB, free: 1.562 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01102, allocations: 4 kB / 256.5 MB, free: 1.559 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000179/0.0112, allocations: 71.95 kB / 256.5 MB, free: 1.488 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.0001038/0.0113, allocations: 102.4 kB / 256.6 MB, free: 1.379 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.01163, allocations: 0.5188 MB / 257.2 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.01164, allocations: 0 / 257.2 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.0118, allocations: 306.9 kB / 257.5 MB, free: 460 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004113/0.01221, allocations: 446.2 kB / 257.9 MB, free: 15.96 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001539/0.01375, allocations: 0.555 MB / 258.4 MB, free: 15.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.785e-05/0.0138, allocations: 80.83 kB / 258.5 MB, free: 15.27 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.4e-05/0.01388, allocations: 25.94 kB / 258.5 MB, free: 15.25 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001902/0.01407, allocations: 131.3 kB / 258.7 MB, free: 15.12 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01407, allocations: 3.938 kB / 258.7 MB, free: 15.11 MB / 266.7 MB Notification: Performance of Templates: time 0.005703/0.01978, allocations: 4.913 MB / 263.6 MB, free: 10.29 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7116789296269417]