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.0008853/0.0008853, allocations: 80.8 kB / 22.28 MB, free: 2.211 MB / 18.57 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.0009986/0.0009986, allocations: 166.2 kB / 25.7 MB, free: 8.441 MB / 18.57 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.8298/0.8298, allocations: 158.6 MB / 187.6 MB, free: 2.77 MB / 170.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.092e-06/1.092e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.389e-05/1.498e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002274/0.002289, allocations: 2.333 MB / 253.9 MB, free: 4.926 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008347/0.003123, allocations: 0.7095 MB / 254.6 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.288e-05/0.003206, allocations: 7.938 kB / 254.6 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001235/0.00333, allocations: 31.66 kB / 254.6 MB, free: 4.168 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 7.431e-05/0.003404, allocations: 59.44 kB / 254.7 MB, free: 4.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.003644, allocations: 87.75 kB / 254.8 MB, free: 4.023 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.003867, allocations: 274.9 kB / 255 MB, free: 3.754 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.004007, allocations: 82.16 kB / 255.1 MB, free: 3.676 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001768/0.004184, allocations: 159.7 kB / 255.3 MB, free: 3.52 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001094/0.004294, allocations: 95.75 kB / 255.3 MB, free: 3.426 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.994e-05/0.004324, allocations: 20 kB / 255.4 MB, free: 3.406 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.805e-05/0.004352, allocations: 24 kB / 255.4 MB, free: 3.383 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.941e-05/0.004401, allocations: 59.75 kB / 255.5 MB, free: 3.324 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 7.27e-05/0.004474, allocations: 83.83 kB / 255.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.004669, allocations: 199.3 kB / 255.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.004671, allocations: 0 / 255.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.92e-07/0.004671, allocations: 0 / 255.7 MB, free: 3.047 MB / 234.7 MB Notification: Performance of Transformations before backend: time 4.188e-06/0.004675, allocations: 4 kB / 255.7 MB, free: 3.043 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.000564/0.005239, allocations: 0.5675 MB / 256.3 MB, free: 2.434 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.639e-05/0.005266, allocations: 11.98 kB / 256.3 MB, free: 2.422 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.005315, allocations: 36.91 kB / 256.3 MB, free: 2.387 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001546/0.00547, allocations: 166.1 kB / 256.5 MB, free: 2.199 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/0.005523, allocations: 75.95 kB / 256.6 MB, free: 2.113 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.464e-05/0.005547, allocations: 24.38 kB / 256.6 MB, free: 2.09 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.005803, allocations: 278.8 kB / 256.9 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.752e-06/0.00581, allocations: 192 / 256.9 MB, free: 1.789 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.005826, allocations: 12.12 kB / 256.9 MB, free: 1.777 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.005831, allocations: 4 kB / 256.9 MB, free: 1.773 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.00594, allocations: 140.4 kB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005866/0.006527, allocations: 0.5067 MB / 257.5 MB, free: 1.082 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.006702, allocations: 192.8 kB / 257.7 MB, free: 0.8711 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001219/0.006824, allocations: 164.4 kB / 257.9 MB, free: 0.6953 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.399e-05/0.006838, allocations: 11.98 kB / 257.9 MB, free: 0.6836 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000227/0.007065, allocations: 329.5 kB / 258.2 MB, free: 320 kB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.333e-06/0.007066, allocations: 3.938 kB / 258.2 MB, free: 316 kB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003099/0.007376, allocations: 423.7 kB / 258.6 MB, free: 15.85 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.595e-05/0.007442, allocations: 199.9 kB / 258.8 MB, free: 15.61 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.9e-05/0.007531, allocations: 178.5 kB / 259 MB, free: 15.43 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.156e-05/0.007553, allocations: 37.7 kB / 259 MB, free: 15.38 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.13e-05/0.007604, allocations: 124.8 kB / 259.2 MB, free: 15.25 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.007646, allocations: 87.34 kB / 259.3 MB, free: 15.17 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.337e-05/0.007709, allocations: 73.97 kB / 259.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.007781, allocations: 338.7 kB / 259.7 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.45e-05/0.007846, allocations: 117.8 kB / 259.8 MB, free: 14.61 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.007948, allocations: 210.2 kB / 260 MB, free: 14.36 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.008104, allocations: 288.4 kB / 260.3 MB, free: 14.03 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.008106, allocations: 3.938 kB / 260.3 MB, free: 14.02 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002076/0.008313, allocations: 351.7 kB / 260.6 MB, free: 13.64 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.147e-05/0.008355, allocations: 93.09 kB / 260.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.008359, allocations: 0 / 260.7 MB, free: 13.53 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.008369, allocations: 4 kB / 260.7 MB, free: 13.52 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.008476, allocations: 47.91 kB / 260.7 MB, free: 13.48 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.008481, allocations: 7.938 kB / 260.8 MB, free: 13.47 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.639e-05/0.008557, allocations: 31.78 kB / 260.8 MB, free: 13.44 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/0.008571, allocations: 12 kB / 260.8 MB, free: 13.43 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.0001168/0.008688, allocations: 222.7 kB / 261 MB, free: 13.19 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.256e-05/0.00872, allocations: 35.91 kB / 261 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.648e-05/0.008747, allocations: 22.66 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.008749, allocations: 4 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.008751, allocations: 0 / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.008754, allocations: 0 / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004391/0.009193, allocations: 0.5809 MB / 261.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.009194, allocations: 0 / 261.7 MB, free: 12.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.00925, allocations: 27.92 kB / 261.7 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.009251, allocations: 0 / 261.7 MB, free: 12.47 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.009266, allocations: 11.98 kB / 261.7 MB, free: 12.46 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.009268, allocations: 4 kB / 261.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.009269, allocations: 0 / 261.7 MB, free: 12.45 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.009515, allocations: 451.7 kB / 262.1 MB, free: 11.97 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.982e-05/0.009535, allocations: 27.83 kB / 262.2 MB, free: 11.94 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.155e-05/0.009567, allocations: 16 kB / 262.2 MB, free: 11.93 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.009657, allocations: 19.98 kB / 262.2 MB, free: 11.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.0097, allocations: 23.95 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.009712, allocations: 4 kB / 262.2 MB, free: 11.88 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.581e-05/0.009758, allocations: 48.81 kB / 262.3 MB, free: 11.83 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009758, allocations: 0 / 262.3 MB, free: 11.83 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001783/0.009936, allocations: 79.88 kB / 262.4 MB, free: 11.75 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 8.4e-05/0.01002, allocations: 110.4 kB / 262.5 MB, free: 11.64 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003116/0.01033, allocations: 0.502 MB / 263 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.01034, allocations: 0 / 263 MB, free: 11.06 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.01048, allocations: 294.9 kB / 263.3 MB, free: 10.73 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.0108, allocations: 147.8 kB / 263.4 MB, free: 10.59 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000759/0.01156, allocations: 0.5311 MB / 263.9 MB, free: 10.02 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.18e-05/0.0116, allocations: 84.83 kB / 264 MB, free: 9.918 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.375e-05/0.01166, allocations: 25.92 kB / 264 MB, free: 9.891 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001865/0.01185, allocations: 135.3 kB / 264.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of SimCode: time 5.71e-07/0.01185, allocations: 0 / 264.2 MB, free: 9.758 MB / 250.7 MB Notification: Performance of Templates: time 0.00566/0.01751, allocations: 4.73 MB / 268.9 MB, free: 5.059 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 -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.5251427572220564]