Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 176.4 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.485/1.485, allocations: 223.3 MB / 241.4 MB, free: 9.965 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008394/0.0008395, allocations: 104.2 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004922, allocations: 8 kB / 352.3 MB, free: 14.81 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2791, allocations: 50.4 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.131/0.4101, allocations: 79.55 MB / 482.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.4104, allocations: 72.48 kB / 482.4 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01999/0.4304, allocations: 7.25 MB / 489.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4305, allocations: 0 / 489.6 MB, free: 9.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.683e-05/0.4305, allocations: 4 kB / 489.6 MB, free: 9.426 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.001452/0.432, allocations: 0.614 MB / 490.2 MB, free: 8.742 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.17e-05/0.4321, allocations: 12.02 kB / 490.2 MB, free: 8.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001302/0.4322, allocations: 24.66 kB / 490.3 MB, free: 8.707 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005648/0.4328, allocations: 258.5 kB / 490.5 MB, free: 8.414 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.4329, allocations: 46.27 kB / 490.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.127e-05/0.433, allocations: 24.36 kB / 490.6 MB, free: 8.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006826/0.4337, allocations: 264.2 kB / 490.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.512e-05/0.4337, allocations: 0 / 490.9 MB, free: 8.078 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.518e-05/0.4337, allocations: 15.94 kB / 490.9 MB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.4338, allocations: 11.88 kB / 490.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005366/0.4343, allocations: 220.3 kB / 491.1 MB, free: 7.836 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001768/0.4361, allocations: 0.7564 MB / 491.9 MB, free: 7.016 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007288/0.4368, allocations: 303.2 kB / 492.1 MB, free: 6.711 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005271/0.4374, allocations: 233 kB / 492.4 MB, free: 6.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.4374, allocations: 7.984 kB / 492.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007202/0.4382, allocations: 325.5 kB / 492.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.4382, allocations: 0 / 492.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.001567/0.4397, allocations: 0.5827 MB / 493.3 MB, free: 5.52 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.44, allocations: 237.6 kB / 493.5 MB, free: 5.238 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002496/0.4402, allocations: 186.8 kB / 493.7 MB, free: 5.047 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.8e-05/0.4403, allocations: 37.69 kB / 493.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.4404, allocations: 128.8 kB / 493.9 MB, free: 4.875 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.025e-05/0.4405, allocations: 79 kB / 493.9 MB, free: 4.797 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.437e-05/0.4406, allocations: 4 kB / 493.9 MB, free: 4.793 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001834/0.4408, allocations: 334.8 kB / 494.3 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.441, allocations: 116.6 kB / 494.4 MB, free: 4.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003154/0.4414, allocations: 184.1 kB / 494.6 MB, free: 4.133 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/0.4421, allocations: 436.1 kB / 495 MB, free: 3.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.4421, allocations: 3.938 kB / 495 MB, free: 3.652 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008742/0.443, allocations: 451.8 kB / 495.4 MB, free: 3.188 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001065/0.4431, allocations: 97.09 kB / 495.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.4431, allocations: 0 / 495.5 MB, free: 3.074 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.4432, allocations: 7.938 kB / 495.5 MB, free: 3.066 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002454/0.4434, allocations: 43.91 kB / 495.6 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/0.4435, allocations: 7.938 kB / 495.6 MB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.4437, allocations: 32.02 kB / 495.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.776e-05/0.4437, allocations: 11.94 kB / 495.6 MB, free: 2.973 MB / 362.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.0002713/0.444, allocations: 239.8 kB / 495.9 MB, free: 2.719 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.137e-05/0.4441, allocations: 19.81 kB / 495.9 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.4441, allocations: 26.66 kB / 495.9 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.775e-06/0.4441, allocations: 4 kB / 495.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.376e-06/0.4442, allocations: 0 / 495.9 MB, free: 2.664 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.4442, allocations: 3.984 kB / 495.9 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001524/0.4457, allocations: 1.014 MB / 496.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.4457, allocations: 0 / 496.9 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001099/0.4458, allocations: 27.92 kB / 497 MB, free: 1.547 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.4458, allocations: 4 kB / 497 MB, free: 1.543 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/0.4459, allocations: 4 kB / 497 MB, free: 1.539 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.511e-06/0.4459, allocations: 3.938 kB / 497 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4459, allocations: 0 / 497 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.4469, allocations: 0.629 MB / 497.6 MB, free: 0.875 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.276e-05/0.447, allocations: 104.8 kB / 497.7 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.314e-05/0.4471, allocations: 15.98 kB / 497.7 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002482/0.4473, allocations: 23.98 kB / 497.7 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/0.4474, allocations: 27.95 kB / 497.8 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.677e-05/0.4475, allocations: 8 kB / 497.8 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001204/0.4476, allocations: 128.3 kB / 497.9 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4476, allocations: 4 kB / 497.9 MB, free: 0.5508 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004073/0.448, allocations: 84.02 kB / 498 MB, free: 480 kB / 362.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.0002324/0.4483, allocations: 136.9 kB / 498.1 MB, free: 332 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009104/0.4492, allocations: 0.5564 MB / 498.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.4492, allocations: 0 / 498.7 MB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.4498, allocations: 402.9 kB / 499.1 MB, free: 15.31 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006935/0.4505, allocations: 132.6 kB / 499.2 MB, free: 15.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00117/0.4517, allocations: 0.5977 MB / 499.8 MB, free: 14.57 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003959/0.4521, allocations: 0.7447 MB / 0.4888 GB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002046/0.4523, allocations: 49.89 kB / 0.4889 GB, free: 13.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.527e-05/0.4523, allocations: 19.44 kB / 0.4889 GB, free: 13.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.4524, allocations: 0 / 0.4889 GB, free: 13.73 MB / 378.7 MB Notification: Performance of Templates: time 0.009017/0.4614, allocations: 3.907 MB / 0.4927 GB, free: 9.879 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches