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.001506/0.001505, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.193/1.193, allocations: 227.2 MB / 245 MB, free: 7.613 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008621/0.0008621, allocations: 107.8 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001943/0.0001943, allocations: 8 kB / 357.9 MB, free: 9.559 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1781/0.1784, allocations: 51.49 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09046/0.2689, allocations: 80.32 MB / 489.7 MB, free: 10.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.2691, allocations: 71.97 kB / 489.8 MB, free: 10.25 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.2858, allocations: 7.344 MB / 497.1 MB, free: 2.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.2859, allocations: 4 kB / 497.2 MB, free: 2.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.491e-05/0.2859, allocations: 4 kB / 497.2 MB, free: 2.902 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.0008133/0.2867, allocations: 0.6136 MB / 497.8 MB, free: 2.223 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.276e-05/0.2868, allocations: 8.031 kB / 497.8 MB, free: 2.215 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.2869, allocations: 51.7 kB / 497.8 MB, free: 2.164 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.2873, allocations: 251.3 kB / 498.1 MB, free: 1.875 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/0.2874, allocations: 49.69 kB / 498.1 MB, free: 1.82 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.2875, allocations: 24 kB / 498.1 MB, free: 1.797 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005291/0.288, allocations: 255.9 kB / 498.4 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.288, allocations: 0 / 498.4 MB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.288, allocations: 11.98 kB / 498.4 MB, free: 1.527 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.2881, allocations: 4 kB / 498.4 MB, free: 1.523 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005029/0.2886, allocations: 216.3 kB / 498.6 MB, free: 1.309 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/0.2899, allocations: 0.7681 MB / 499.4 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.2904, allocations: 307.2 kB / 499.7 MB, free: 176 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.2905, allocations: 4 kB / 499.7 MB, free: 172 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005211/0.291, allocations: 329.4 kB / 0.4883 GB, free: 15.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 1.733e-06/0.291, allocations: 0 / 0.4883 GB, free: 15.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.00125/0.2923, allocations: 0.7551 MB / 0.489 GB, free: 15.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001068/0.2924, allocations: 216 kB / 0.4892 GB, free: 14.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001419/0.2925, allocations: 161.4 kB / 0.4894 GB, free: 14.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.2926, allocations: 37.69 kB / 0.4894 GB, free: 14.55 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.2927, allocations: 132.8 kB / 0.4896 GB, free: 14.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.467e-05/0.2927, allocations: 79 kB / 0.4896 GB, free: 14.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.314e-05/0.2928, allocations: 8 kB / 0.4896 GB, free: 14.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.2929, allocations: 338.8 kB / 0.49 GB, free: 13.99 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.2931, allocations: 112.6 kB / 0.4901 GB, free: 13.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002754/0.2934, allocations: 183.3 kB / 0.4902 GB, free: 13.67 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003019/0.2937, allocations: 225.7 kB / 0.4905 GB, free: 13.43 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.2937, allocations: 0 / 0.4905 GB, free: 13.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006896/0.2944, allocations: 458.9 kB / 0.4909 GB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.182e-05/0.2945, allocations: 97.09 kB / 0.491 GB, free: 12.85 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2945, allocations: 4 kB / 0.491 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.2946, allocations: 0 / 0.491 GB, free: 12.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/0.2947, allocations: 39.92 kB / 0.491 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.437e-06/0.2948, allocations: 7.984 kB / 0.491 GB, free: 12.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.295, allocations: 35.83 kB / 0.4911 GB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.295, allocations: 11.98 kB / 0.4911 GB, free: 12.75 MB / 378.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 ($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.0002137/0.2952, allocations: 235.8 kB / 0.4913 GB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.047e-05/0.2953, allocations: 19.81 kB / 0.4913 GB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.2953, allocations: 26.64 kB / 0.4914 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.2953, allocations: 4 kB / 0.4914 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.728e-06/0.2953, allocations: 0 / 0.4914 GB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2953, allocations: 4 kB / 0.4914 GB, free: 12.44 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.2966, allocations: 0.893 MB / 0.4922 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.2966, allocations: 0 / 0.4922 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.2967, allocations: 27.92 kB / 0.4923 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2967, allocations: 0 / 0.4923 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.804e-05/0.2967, allocations: 11.98 kB / 0.4923 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.2968, allocations: 4 kB / 0.4923 GB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.2968, allocations: 7.984 kB / 0.4923 GB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009073/0.2977, allocations: 0.6195 MB / 0.4929 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.096e-05/0.2977, allocations: 100.8 kB / 0.493 GB, free: 10.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.631e-05/0.2978, allocations: 15.98 kB / 0.493 GB, free: 10.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.298, allocations: 31.92 kB / 0.493 GB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.53e-05/0.2981, allocations: 31.95 kB / 0.4931 GB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.2982, allocations: 8.172 kB / 0.4931 GB, free: 10.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.901e-05/0.2983, allocations: 139.1 kB / 0.4932 GB, free: 10.44 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2983, allocations: 3.938 kB / 0.4932 GB, free: 10.44 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003266/0.2986, allocations: 79.84 kB / 0.4933 GB, free: 10.36 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0001722/0.2988, allocations: 141 kB / 0.4934 GB, free: 10.21 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008025/0.2996, allocations: 0.5563 MB / 0.494 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2996, allocations: 0 / 0.494 GB, free: 9.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004786/0.3001, allocations: 402.6 kB / 0.4943 GB, free: 9.203 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005541/0.3007, allocations: 122.5 kB / 0.4945 GB, free: 9.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009362/0.3016, allocations: 0.5929 MB / 0.495 GB, free: 8.469 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002943/0.3019, allocations: 0.7488 MB / 0.4958 GB, free: 7.691 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001521/0.3021, allocations: 53.88 kB / 0.4958 GB, free: 7.641 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.076e-05/0.3021, allocations: 23.44 kB / 0.4958 GB, free: 7.617 MB / 378.7 MB Notification: Performance of SimCode: time 3.01e-07/0.3021, allocations: 0 / 0.4958 GB, free: 7.617 MB / 378.7 MB Notification: Performance of Templates: time 0.007318/0.3095, allocations: 3.837 MB / 0.4996 GB, free: 3.836 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/jenkins/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