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/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_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_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.0009565/0.0009565, allocations: 177 kB / 8.7 MB, free: 384 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.3 MB / 214.4 MB, free: 1.73 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 90.36 kB / 262.4 MB, free: 1.688 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.4e-05, allocations: 4 kB / 315.5 MB, free: 22.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09285/0.09287, allocations: 47.59 MB / 363.1 MB, free: 7.082 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3646/0.4575, allocations: 77.66 MB / 440.7 MB, free: 1.988 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.4578, allocations: 67.72 kB / 440.8 MB, free: 1.957 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01649/0.4743, allocations: 7.047 MB / 447.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.4743, allocations: 4.188 kB / 447.8 MB, free: 12.26 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.4743, allocations: 4 kB / 447.9 MB, free: 12.25 MB / 330.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.0008476/0.4752, allocations: 0.5879 MB / 448.4 MB, free: 11.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.4752, allocations: 8.031 kB / 448.4 MB, free: 11.61 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.044e-05/0.4753, allocations: 31.72 kB / 448.5 MB, free: 11.58 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.4757, allocations: 256.8 kB / 448.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.182e-05/0.4758, allocations: 41.64 kB / 448.8 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.4759, allocations: 12 kB / 448.8 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002792/0.4762, allocations: 157.9 kB / 448.9 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003376/0.4765, allocations: 203.8 kB / 449.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.4765, allocations: 0 / 449.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.546e-05/0.4766, allocations: 4 kB / 449.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.104e-06/0.4766, allocations: 4 kB / 449.1 MB, free: 10.98 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00121/0.4778, allocations: 0.7083 MB / 449.8 MB, free: 10.33 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003227/0.4781, allocations: 249.1 kB / 450.1 MB, free: 10.15 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000251/0.4784, allocations: 202 kB / 450.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.4784, allocations: 0 / 450.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003667/0.4788, allocations: 292.2 kB / 450.6 MB, free: 9.75 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/0.4788, allocations: 7.938 kB / 450.6 MB, free: 9.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.000515/0.4793, allocations: 313.2 kB / 450.9 MB, free: 9.5 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001127/0.4795, allocations: 224.7 kB / 451.1 MB, free: 9.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.4796, allocations: 164.7 kB / 451.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.4797, allocations: 33.69 kB / 451.3 MB, free: 9.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.803e-05/0.4797, allocations: 129.8 kB / 451.4 MB, free: 8.938 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.219e-05/0.4798, allocations: 74 kB / 451.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.24e-05/0.4798, allocations: 0 / 451.5 MB, free: 8.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.48, allocations: 333.2 kB / 451.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.4801, allocations: 88.94 kB / 451.9 MB, free: 8.484 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002195/0.4803, allocations: 162.3 kB / 452.1 MB, free: 8.34 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.4805, allocations: 92.33 kB / 452.2 MB, free: 8.277 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.4805, allocations: 7.922 kB / 452.2 MB, free: 8.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004104/0.4809, allocations: 311 kB / 452.5 MB, free: 8.02 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.569e-05/0.481, allocations: 89.28 kB / 452.6 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.481, allocations: 4 kB / 452.6 MB, free: 7.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.481, allocations: 7.938 kB / 452.6 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.4812, allocations: 43.03 kB / 452.6 MB, free: 7.863 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.769e-06/0.4813, allocations: 7.891 kB / 452.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.4814, allocations: 24.11 kB / 452.6 MB, free: 7.832 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.4815, allocations: 15.44 kB / 452.7 MB, free: 7.82 MB / 330.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 () * 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.0001837/0.4817, allocations: 202.2 kB / 452.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.4817, allocations: 27.72 kB / 452.9 MB, free: 7.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.65e-05/0.4818, allocations: 18.03 kB / 452.9 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.4818, allocations: 7.984 kB / 452.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4818, allocations: 0 / 452.9 MB, free: 7.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4818, allocations: 11.95 kB / 452.9 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008763/0.4827, allocations: 0.7852 MB / 453.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4827, allocations: 0 / 453.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.4828, allocations: 23.95 kB / 453.7 MB, free: 6.832 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/0.4828, allocations: 11.95 kB / 453.7 MB, free: 6.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.4829, allocations: 7.625 kB / 453.8 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.4829, allocations: 3.984 kB / 453.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.4829, allocations: 0 / 453.8 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005044/0.4834, allocations: 465.4 kB / 454.2 MB, free: 6.418 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.709e-05/0.4835, allocations: 96.81 kB / 454.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.927e-05/0.4835, allocations: 19.81 kB / 454.3 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002163/0.4838, allocations: 23.97 kB / 454.3 MB, free: 6.266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.4838, allocations: 23.14 kB / 454.4 MB, free: 6.246 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.943e-05/0.4839, allocations: 15.3 kB / 454.4 MB, free: 6.234 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.414e-05/0.484, allocations: 127.1 kB / 454.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.533e-06/0.484, allocations: 0 / 454.5 MB, free: 6.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003472/0.4843, allocations: 71.88 kB / 454.6 MB, free: 6.055 MB / 330.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) * 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.0001954/0.4845, allocations: 128.8 kB / 454.7 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005301/0.4851, allocations: 488.4 kB / 455.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4851, allocations: 0 / 455.2 MB, free: 5.5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000314/0.4854, allocations: 369.4 kB / 455.5 MB, free: 5.219 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006143/0.486, allocations: 116.5 kB / 455.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006689/0.4867, allocations: 356.3 kB / 456 MB, free: 4.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/0.487, allocations: 0.7525 MB / 456.8 MB, free: 4.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001467/0.4872, allocations: 53.95 kB / 456.8 MB, free: 3.969 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.215e-05/0.4873, allocations: 27.36 kB / 456.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of SimCode: time 2.505e-06/0.4873, allocations: 0 / 456.8 MB, free: 3.941 MB / 330.7 MB Notification: Performance of Templates: time 0.006522/0.4938, allocations: 3.668 MB / 460.5 MB, free: 292 kB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) 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","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches