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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002058/0.002059, allocations: 196.5 kB / 18.1 MB, free: 3.613 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 226.5 MB / 245.4 MB, free: 6.426 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008011/0.0008011, allocations: 98.98 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002362/0.0002363, allocations: 4 kB / 358.1 MB, free: 10.07 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.296/0.2962, allocations: 51.3 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1199/0.4162, allocations: 80.26 MB / 489.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002921/0.4165, allocations: 71.97 kB / 489.7 MB, free: 11.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01933/0.4359, allocations: 7.347 MB / 497.1 MB, free: 3.828 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.713e-06/0.4359, allocations: 3.984 kB / 497.1 MB, free: 3.824 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.832e-05/0.436, allocations: 4 kB / 497.1 MB, free: 3.82 MB / 362.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.001203/0.4372, allocations: 0.6177 MB / 497.7 MB, free: 3.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/0.4373, allocations: 8.031 kB / 497.7 MB, free: 3.125 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002576/0.4375, allocations: 40.66 kB / 497.7 MB, free: 3.086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.438, allocations: 252.8 kB / 498 MB, free: 2.797 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.4381, allocations: 54.27 kB / 498 MB, free: 2.738 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.4382, allocations: 16.38 kB / 498 MB, free: 2.723 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005955/0.4388, allocations: 268.2 kB / 498.3 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.4388, allocations: 0 / 498.3 MB, free: 2.453 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.061e-05/0.4388, allocations: 12 kB / 498.3 MB, free: 2.441 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.4389, allocations: 7.984 kB / 498.3 MB, free: 2.434 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005095/0.4394, allocations: 220.2 kB / 498.5 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001532/0.4409, allocations: 0.7603 MB / 499.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006164/0.4416, allocations: 303.8 kB / 499.6 MB, free: 1.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000463/0.442, allocations: 232 kB / 499.8 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.4421, allocations: 4 kB / 499.8 MB, free: 0.8594 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005683/0.4426, allocations: 329 kB / 0.4884 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.977e-06/0.4427, allocations: 0 / 0.4884 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001291/0.444, allocations: 0.5896 MB / 0.489 GB, free: 15.9 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.4441, allocations: 237.5 kB / 0.4892 GB, free: 15.62 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002715/0.4444, allocations: 182.8 kB / 0.4894 GB, free: 15.43 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.4445, allocations: 41.69 kB / 0.4894 GB, free: 15.38 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.4446, allocations: 128.8 kB / 0.4896 GB, free: 15.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.4447, allocations: 82.92 kB / 0.4896 GB, free: 15.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.4447, allocations: 4 kB / 0.4896 GB, free: 15.17 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.4449, allocations: 342.8 kB / 0.49 GB, free: 14.82 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.4452, allocations: 108.6 kB / 0.4901 GB, free: 14.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.4455, allocations: 180.2 kB / 0.4903 GB, free: 14.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005952/0.4461, allocations: 426.3 kB / 0.4907 GB, free: 14.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.4461, allocations: 0 / 0.4907 GB, free: 14.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008278/0.4469, allocations: 456.6 kB / 0.4911 GB, free: 13.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.27e-05/0.447, allocations: 93.09 kB / 0.4912 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.447, allocations: 0 / 0.4912 GB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.4471, allocations: 4 kB / 0.4912 GB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000199/0.4473, allocations: 48.03 kB / 0.4912 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.4473, allocations: 4 kB / 0.4912 GB, free: 13.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.4475, allocations: 35.77 kB / 0.4913 GB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.075e-05/0.4476, allocations: 15.94 kB / 0.4913 GB, free: 13.36 MB / 378.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003292/0.4479, allocations: 239.8 kB / 0.4915 GB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.328e-05/0.448, allocations: 23.8 kB / 0.4915 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.124e-05/0.4481, allocations: 22.66 kB / 0.4916 GB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/0.4481, allocations: 4 kB / 0.4916 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.4481, allocations: 0 / 0.4916 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.4481, allocations: 3.984 kB / 0.4916 GB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002481/0.4506, allocations: 1.018 MB / 0.4926 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.4507, allocations: 0 / 0.4926 GB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001869/0.4509, allocations: 27.86 kB / 0.4926 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-05/0.4509, allocations: 4 kB / 0.4926 GB, free: 11.93 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.298e-05/0.451, allocations: 8 kB / 0.4926 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.295e-06/0.451, allocations: 3.938 kB / 0.4926 GB, free: 11.92 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.707e-06/0.451, allocations: 4 kB / 0.4926 GB, free: 11.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001107/0.4521, allocations: 0.6321 MB / 0.4932 GB, free: 11.25 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.253e-05/0.4522, allocations: 96.86 kB / 0.4933 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.4523, allocations: 15.98 kB / 0.4933 GB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4525, allocations: 23.98 kB / 0.4934 GB, free: 11.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.4526, allocations: 31.89 kB / 0.4934 GB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.081e-05/0.4527, allocations: 16 kB / 0.4934 GB, free: 11.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001802/0.4529, allocations: 124.3 kB / 0.4935 GB, free: 10.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.4529, allocations: 4 kB / 0.4935 GB, free: 10.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006321/0.4535, allocations: 75.84 kB / 0.4936 GB, free: 10.85 MB / 378.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.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) * 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 (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.0002641/0.4538, allocations: 141 kB / 0.4937 GB, free: 10.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001171/0.455, allocations: 0.5526 MB / 0.4943 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.455, allocations: 0 / 0.4943 GB, free: 10.12 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007199/0.4557, allocations: 414.8 kB / 0.4947 GB, free: 9.688 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.4568, allocations: 122.2 kB / 0.4948 GB, free: 9.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.4583, allocations: 0.5939 MB / 0.4954 GB, free: 8.949 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004247/0.4587, allocations: 0.7487 MB / 0.4961 GB, free: 8.176 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002601/0.459, allocations: 53.88 kB / 0.4961 GB, free: 8.121 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.4591, allocations: 23.44 kB / 0.4962 GB, free: 8.098 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.4591, allocations: 0 / 0.4962 GB, free: 8.098 MB / 378.7 MB Notification: Performance of Templates: time 0.01176/0.4709, allocations: 3.886 MB / 0.5 GB, free: 4.27 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches