Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion") translateModel(Modelica.Electrical.Analog.Examples.AD_DA_conversion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 180.1 kB / 8.365 MB, free: 0.7109 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.973/1.973, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001089/0.001089, allocations: 84.98 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of FrontEnd - loaded program: time 2.066e-05/2.067e-05, allocations: 4 kB / 314.8 MB, free: 9.164 MB / 267.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 47.56 MB / 362.3 MB, free: 45.83 MB / 299.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1227/0.4483, allocations: 77.42 MB / 439.7 MB, free: 8.902 MB / 331.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/0.4486, allocations: 72.66 kB / 439.8 MB, free: 8.832 MB / 331.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02943/0.478, allocations: 7.052 MB / 446.9 MB, free: 1.828 MB / 331.1 MB Notification: Performance of FrontEnd: time 5.04e-06/0.4781, allocations: 0 / 446.9 MB, free: 1.828 MB / 331.1 MB Notification: Performance of Transformations before backend: time 2.106e-05/0.4781, allocations: 11.94 kB / 446.9 MB, free: 1.816 MB / 331.1 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.001121/0.4793, allocations: 0.5889 MB / 447.5 MB, free: 1.164 MB / 331.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/0.4793, allocations: 8.031 kB / 447.5 MB, free: 1.156 MB / 331.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.4794, allocations: 27.72 kB / 447.5 MB, free: 1.129 MB / 331.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006059/0.4801, allocations: 252.9 kB / 447.8 MB, free: 0.8398 MB / 331.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.872e-05/0.4802, allocations: 53.62 kB / 447.8 MB, free: 0.7812 MB / 331.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.4802, allocations: 12 kB / 447.8 MB, free: 0.7695 MB / 331.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004522/0.4807, allocations: 156.4 kB / 448 MB, free: 0.6172 MB / 331.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005081/0.4812, allocations: 200.2 kB / 448.2 MB, free: 428 kB / 331.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.4812, allocations: 0 / 448.2 MB, free: 428 kB / 331.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.287e-05/0.4813, allocations: 0 / 448.2 MB, free: 428 kB / 331.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.272e-05/0.4813, allocations: 8 kB / 448.2 MB, free: 420 kB / 331.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.4833, allocations: 0.7136 MB / 448.9 MB, free: 15.64 MB / 347.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005643/0.4839, allocations: 243.5 kB / 449.1 MB, free: 15.39 MB / 347.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004279/0.4843, allocations: 190.4 kB / 449.3 MB, free: 15.21 MB / 347.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.4844, allocations: 4 kB / 449.3 MB, free: 15.2 MB / 347.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005459/0.4849, allocations: 289.9 kB / 449.6 MB, free: 14.89 MB / 347.1 MB Notification: Performance of pre-optimization done (n=31): time 2.846e-06/0.485, allocations: 7.938 kB / 449.6 MB, free: 14.88 MB / 347.1 MB Notification: Performance of matching and sorting (n=31): time 0.0008292/0.4858, allocations: 320.6 kB / 449.9 MB, free: 14.56 MB / 347.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001472/0.486, allocations: 229.5 kB / 450.1 MB, free: 14.29 MB / 347.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.4862, allocations: 156.9 kB / 450.3 MB, free: 14.13 MB / 347.1 MB Notification: Performance of collectPreVariables (initialization): time 5.258e-05/0.4863, allocations: 33.7 kB / 450.3 MB, free: 14.09 MB / 347.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.4864, allocations: 190.9 kB / 450.5 MB, free: 13.91 MB / 347.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.764e-05/0.4865, allocations: 71.06 kB / 450.6 MB, free: 13.84 MB / 347.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.4865, allocations: 4 kB / 450.6 MB, free: 13.83 MB / 347.1 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.4867, allocations: 330.9 kB / 450.9 MB, free: 13.5 MB / 347.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.4869, allocations: 84.62 kB / 451 MB, free: 13.41 MB / 347.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002837/0.4872, allocations: 152.2 kB / 451.1 MB, free: 13.24 MB / 347.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.4875, allocations: 109.7 kB / 451.3 MB, free: 13.13 MB / 347.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.4875, allocations: 0 / 451.3 MB, free: 13.13 MB / 347.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007234/0.4883, allocations: 292.1 kB / 451.5 MB, free: 12.85 MB / 347.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.895e-05/0.4884, allocations: 93.09 kB / 451.6 MB, free: 12.74 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.4884, allocations: 0 / 451.6 MB, free: 12.74 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/0.4884, allocations: 4 kB / 451.6 MB, free: 12.73 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.4888, allocations: 43.91 kB / 451.7 MB, free: 12.69 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.4888, allocations: 16.02 kB / 451.7 MB, free: 12.68 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003263/0.4891, allocations: 19.89 kB / 451.7 MB, free: 12.66 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.824e-05/0.4892, allocations: 16 kB / 451.7 MB, free: 12.64 MB / 347.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dA_Converter.y,dA_Converter.y,$PRE.aD_Converter.z,aD_Converter.z,$PRE.aD_Converter.y[1],aD_Converter.y[1],$PRE.aD_Converter.y[2],aD_Converter.y[2],$PRE.aD_Converter.y[3],aD_Converter.y[3],$PRE.aD_Converter.y[4],aD_Converter.y[4],$PRE.aD_Converter.y[5],aD_Converter.y[5],$PRE.aD_Converter.y[6],aD_Converter.y[6],$PRE.aD_Converter.y[7],aD_Converter.y[7],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],$whenCondition3,$whenCondition1,$whenCondition2,aD_Converter.trig,$PRE.pulse.T0,pulse.T0,$PRE.pulse.np,pulse.np,pulse.sampling,$PRE.dA_Converter.vout,dA_Converter.vout) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.4895, allocations: 203.3 kB / 451.9 MB, free: 12.42 MB / 347.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.613e-05/0.4896, allocations: 31.72 kB / 452 MB, free: 12.39 MB / 347.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.932e-05/0.4897, allocations: 23.39 kB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.4897, allocations: 0 / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.4897, allocations: 4 kB / 452 MB, free: 12.37 MB / 347.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4897, allocations: 3.953 kB / 452 MB, free: 12.36 MB / 347.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001558/0.4913, allocations: 0.7917 MB / 452.8 MB, free: 11.52 MB / 347.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.4913, allocations: 4 kB / 452.8 MB, free: 11.52 MB / 347.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002211/0.4916, allocations: 27.92 kB / 452.8 MB, free: 11.49 MB / 347.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.4916, allocations: 3.953 kB / 452.8 MB, free: 11.49 MB / 347.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.486e-05/0.4917, allocations: 7.984 kB / 452.8 MB, free: 11.48 MB / 347.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.272e-06/0.4917, allocations: 4.656 kB / 452.8 MB, free: 11.48 MB / 347.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.4917, allocations: 4 kB / 452.8 MB, free: 11.47 MB / 347.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.4926, allocations: 462.5 kB / 453.3 MB, free: 11 MB / 347.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.455e-05/0.4927, allocations: 96.91 kB / 453.4 MB, free: 10.88 MB / 347.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.571e-05/0.4928, allocations: 12 kB / 453.4 MB, free: 10.87 MB / 347.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.4932, allocations: 27.88 kB / 453.4 MB, free: 10.84 MB / 347.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.4933, allocations: 23.97 kB / 453.4 MB, free: 10.82 MB / 347.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.4934, allocations: 18.42 kB / 453.5 MB, free: 10.8 MB / 347.1 MB Notification: Performance of sorting global known variables: time 0.0001442/0.4936, allocations: 124.3 kB / 453.6 MB, free: 10.68 MB / 347.1 MB Notification: Performance of sort global known variables: time 4.51e-07/0.4936, allocations: 7.938 kB / 453.6 MB, free: 10.68 MB / 347.1 MB Notification: Performance of remove unused functions: time 0.0005055/0.4941, allocations: 63.94 kB / 453.6 MB, free: 10.61 MB / 347.1 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.trig,aD_Converter.z,pulse.T0,pulse.np,pulse.sampling,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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002533/0.4944, allocations: 129 kB / 453.8 MB, free: 10.47 MB / 347.1 MB Notification: Performance of simCode: created initialization part: time 0.0009157/0.4953, allocations: 0.4902 MB / 454.3 MB, free: 9.945 MB / 347.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.4953, allocations: 0 / 454.3 MB, free: 9.945 MB / 347.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005934/0.4959, allocations: 362.7 kB / 454.6 MB, free: 9.566 MB / 347.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001017/0.497, allocations: 113.8 kB / 454.7 MB, free: 9.461 MB / 347.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.4982, allocations: 393.2 kB / 455.1 MB, free: 9.051 MB / 347.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004625/0.4987, allocations: 0.7476 MB / 455.9 MB, free: 8.277 MB / 347.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4988, allocations: 31.38 kB / 455.9 MB, free: 8.246 MB / 347.1 MB Notification: Performance of SimCode: time 3.096e-06/0.4988, allocations: 0 / 455.9 MB, free: 8.246 MB / 347.1 MB Notification: Performance of Templates: time 0.00844/0.5073, allocations: 2.958 MB / 458.8 MB, free: 5.324 MB / 347.1 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/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","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches