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.0009047/0.0009047, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001454/0.002359, allocations: 453.8 kB / 10.46 MB, free: 236 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.0008096/0.0008096, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001094/0.001903, allocations: 483.5 kB / 11.83 MB, free: 2.336 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.9769/0.9769, allocations: 158.6 MB / 171.2 MB, free: 2.508 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1513/1.128, allocations: 49.49 MB / 220.7 MB, free: 1.363 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.583e-06/1.583e-06, allocations: 0 / 222 MB, free: 60 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.974e-05, allocations: 2.312 kB / 222 MB, free: 56 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00324/0.00326, allocations: 2.37 MB / 224.4 MB, free: 13.66 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002037/0.005296, allocations: 0.7211 MB / 225.1 MB, free: 12.93 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.005406, allocations: 8 kB / 225.1 MB, free: 12.92 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001171/0.005524, allocations: 35.64 kB / 225.1 MB, free: 12.89 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 9.975e-05/0.005623, allocations: 51.5 kB / 225.2 MB, free: 12.84 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002486/0.005872, allocations: 99.62 kB / 225.3 MB, free: 12.74 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002822/0.006154, allocations: 263 kB / 225.5 MB, free: 12.48 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001711/0.006325, allocations: 78.28 kB / 225.6 MB, free: 12.41 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002591/0.006584, allocations: 195.5 kB / 225.8 MB, free: 12.21 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.00673, allocations: 87.77 kB / 225.9 MB, free: 12.13 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.335e-05/0.006774, allocations: 24 kB / 225.9 MB, free: 12.11 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.594e-05/0.00681, allocations: 20 kB / 225.9 MB, free: 12.09 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.856e-05/0.006868, allocations: 47.8 kB / 226 MB, free: 12.04 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 8.318e-05/0.006951, allocations: 63.88 kB / 226 MB, free: 11.98 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002384/0.00719, allocations: 183.3 kB / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.169e-05/0.007201, allocations: 0 / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.007202, allocations: 0 / 226.2 MB, free: 11.8 MB / 234.7 MB Notification: Performance of Transformations before backend: time 1.056e-05/0.007213, allocations: 0 / 226.2 MB, free: 11.8 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.003813/0.01103, allocations: 0.6139 MB / 226.8 MB, free: 11.14 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.488e-05/0.01106, allocations: 12.03 kB / 226.8 MB, free: 11.13 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.01114, allocations: 36.91 kB / 226.9 MB, free: 11.09 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.01136, allocations: 158.1 kB / 227 MB, free: 10.91 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.595e-05/0.01143, allocations: 79.95 kB / 227.1 MB, free: 10.82 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.01147, allocations: 20.31 kB / 227.1 MB, free: 10.8 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003602/0.01183, allocations: 286.8 kB / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.01183, allocations: 192 / 227.4 MB, free: 10.5 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.249e-05/0.01186, allocations: 12.12 kB / 227.4 MB, free: 10.49 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.01186, allocations: 4 kB / 227.4 MB, free: 10.48 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.01201, allocations: 144.8 kB / 227.6 MB, free: 10.33 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007635/0.01278, allocations: 0.5065 MB / 228.1 MB, free: 9.797 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002399/0.01302, allocations: 200.9 kB / 228.3 MB, free: 9.578 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001724/0.01319, allocations: 164.4 kB / 228.4 MB, free: 9.402 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003023/0.01621, allocations: 4 kB / 228.4 MB, free: 9.398 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003061/0.01652, allocations: 337.4 kB / 228.8 MB, free: 9.02 MB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.493e-06/0.01652, allocations: 0 / 228.8 MB, free: 9.02 MB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004479/0.01697, allocations: 451.6 kB / 229.2 MB, free: 8.535 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.01708, allocations: 281 kB / 229.5 MB, free: 8.199 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.01721, allocations: 170.7 kB / 229.7 MB, free: 8.02 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 2.87e-05/0.01723, allocations: 37.69 kB / 229.7 MB, free: 7.977 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.01729, allocations: 132.8 kB / 229.8 MB, free: 7.844 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.01734, allocations: 87.33 kB / 229.9 MB, free: 7.758 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/0.0174, allocations: 73.92 kB / 230 MB, free: 7.676 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.657e-05/0.01747, allocations: 338.7 kB / 230.3 MB, free: 7.336 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.354e-05/0.01755, allocations: 125.8 kB / 230.4 MB, free: 7.191 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.859e-05/0.01765, allocations: 214.1 kB / 230.6 MB, free: 6.938 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001667/0.01781, allocations: 292.4 kB / 230.9 MB, free: 6.602 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.01782, allocations: 0 / 230.9 MB, free: 6.602 MB / 234.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002171/0.01803, allocations: 367.6 kB / 231.3 MB, free: 6.199 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.447e-05/0.01809, allocations: 97.09 kB / 231.4 MB, free: 6.086 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.01809, allocations: 0 / 231.4 MB, free: 6.086 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.0181, allocations: 4 kB / 231.4 MB, free: 6.082 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001729/0.01828, allocations: 51.91 kB / 231.4 MB, free: 6.031 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.01828, allocations: 0 / 231.4 MB, free: 6.031 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.004e-05/0.01836, allocations: 39.77 kB / 231.5 MB, free: 5.992 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.4e-05/0.01837, allocations: 12.09 kB / 231.5 MB, free: 5.98 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.0001328/0.01851, allocations: 230.5 kB / 231.7 MB, free: 5.734 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.01854, allocations: 31.97 kB / 231.7 MB, free: 5.703 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.01857, allocations: 26.64 kB / 231.8 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01857, allocations: 0 / 231.8 MB, free: 5.68 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.463e-06/0.01857, allocations: 4 kB / 231.8 MB, free: 5.676 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01858, allocations: 0 / 231.8 MB, free: 5.676 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004607/0.01904, allocations: 0.6005 MB / 232.4 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.01904, allocations: 0 / 232.4 MB, free: 5.023 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.189e-05/0.01912, allocations: 27.92 kB / 232.4 MB, free: 4.996 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.894e-05/0.01914, allocations: 15.84 kB / 232.4 MB, free: 4.98 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.564e-06/0.01914, allocations: 4 kB / 232.4 MB, free: 4.977 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.01916, allocations: 11.98 kB / 232.4 MB, free: 4.965 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.01916, allocations: 0 / 232.4 MB, free: 4.965 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.01916, allocations: 0 / 232.4 MB, free: 4.965 MB / 234.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.01942, allocations: 466.9 kB / 232.9 MB, free: 4.465 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.358e-05/0.01945, allocations: 23.92 kB / 232.9 MB, free: 4.441 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-05/0.01954, allocations: 12 kB / 232.9 MB, free: 4.43 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.679e-05/0.0196, allocations: 23.95 kB / 232.9 MB, free: 4.406 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.68e-05/0.01962, allocations: 11.94 kB / 233 MB, free: 4.395 MB / 234.7 MB Notification: Performance of sorting global known variables: time 3.554e-05/0.01965, allocations: 48.8 kB / 233 MB, free: 4.344 MB / 234.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01965, allocations: 0 / 233 MB, free: 4.344 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.0001778/0.01983, allocations: 75.94 kB / 233.1 MB, free: 4.27 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 0.0001147/0.01994, allocations: 110.4 kB / 233.2 MB, free: 4.152 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0003108/0.02026, allocations: 0.51 MB / 233.7 MB, free: 3.57 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/0.02026, allocations: 4 kB / 233.7 MB, free: 3.566 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.02043, allocations: 310.8 kB / 234 MB, free: 3.223 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004308/0.02086, allocations: 459.2 kB / 234.5 MB, free: 2.719 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001547/0.02241, allocations: 0.539 MB / 235 MB, free: 2.137 MB / 234.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.02245, allocations: 84.78 kB / 235.1 MB, free: 2.035 MB / 234.7 MB Notification: Performance of simCode: alias equations: time 6.856e-05/0.02252, allocations: 29.91 kB / 235.1 MB, free: 2.004 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001912/0.02271, allocations: 135.3 kB / 235.2 MB, free: 1.871 MB / 234.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02271, allocations: 3.938 kB / 235.2 MB, free: 1.867 MB / 234.7 MB Notification: Performance of Templates: time 0.005708/0.02842, allocations: 4.893 MB / 240.1 MB, free: 12.99 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7794377068057656]