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.001033/0.001033, allocations: 198.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.315/1.315, allocations: 225.6 MB / 234.8 MB, free: 3.246 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007676/0.0007677, allocations: 97.83 kB / 286.7 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.449e-05/1.452e-05, allocations: 4 kB / 343.7 MB, free: 8.281 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09712/0.09715, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3393/0.4365, allocations: 79.6 MB / 474.8 MB, free: 12.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.4367, allocations: 71.42 kB / 474.8 MB, free: 12.49 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.4522, allocations: 7.297 MB / 482.1 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4522, allocations: 3.938 kB / 482.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.261e-05/0.4522, allocations: 4 kB / 482.1 MB, free: 7.641 MB / 346.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.00065/0.4529, allocations: 0.5938 MB / 482.7 MB, free: 7.008 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.4529, allocations: 8.031 kB / 482.7 MB, free: 7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001527/0.4531, allocations: 39.61 kB / 482.8 MB, free: 6.961 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003268/0.4534, allocations: 260 kB / 483 MB, free: 6.684 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.413e-05/0.4535, allocations: 41.7 kB / 483.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.631e-05/0.4535, allocations: 12 kB / 483.1 MB, free: 6.625 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002622/0.4538, allocations: 159 kB / 483.2 MB, free: 6.523 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002785/0.4541, allocations: 202.9 kB / 483.4 MB, free: 6.363 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.4541, allocations: 6.188 kB / 483.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.299e-05/0.4541, allocations: 0 / 483.4 MB, free: 6.359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.4541, allocations: 8 kB / 483.4 MB, free: 6.352 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009835/0.4551, allocations: 0.7115 MB / 484.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.4554, allocations: 248.4 kB / 484.4 MB, free: 5.531 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002118/0.4556, allocations: 192.4 kB / 484.6 MB, free: 5.406 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.37e-05/0.4557, allocations: 8 kB / 484.6 MB, free: 5.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.456, allocations: 285.7 kB / 484.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.456, allocations: 0 / 484.9 MB, free: 5.133 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004266/0.4564, allocations: 311.6 kB / 485.2 MB, free: 4.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.4565, allocations: 235.4 kB / 485.4 MB, free: 4.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.901e-05/0.4566, allocations: 157.4 kB / 485.6 MB, free: 4.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.4566, allocations: 36.62 kB / 485.6 MB, free: 4.441 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.4567, allocations: 131.1 kB / 485.7 MB, free: 4.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.397e-05/0.4567, allocations: 73.88 kB / 485.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.4567, allocations: 0 / 485.8 MB, free: 4.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.4568, allocations: 337.6 kB / 486.1 MB, free: 3.938 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001072/0.4569, allocations: 82.12 kB / 486.2 MB, free: 3.879 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/0.4571, allocations: 151 kB / 486.4 MB, free: 3.742 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001228/0.4572, allocations: 104.4 kB / 486.5 MB, free: 3.672 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.4572, allocations: 4 kB / 486.5 MB, free: 3.668 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003297/0.4575, allocations: 300.2 kB / 486.8 MB, free: 3.426 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.4576, allocations: 96.34 kB / 486.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4576, allocations: 0 / 486.9 MB, free: 3.316 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.4576, allocations: 7.938 kB / 486.9 MB, free: 3.309 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002015/0.4578, allocations: 43.84 kB / 486.9 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.4578, allocations: 13.77 kB / 486.9 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00016/0.458, allocations: 19.98 kB / 486.9 MB, free: 3.238 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.076e-05/0.458, allocations: 15.19 kB / 487 MB, free: 3.227 MB / 346.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.0001211/0.4582, allocations: 199.3 kB / 487.1 MB, free: 3.016 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.579e-05/0.4582, allocations: 26.84 kB / 487.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.4583, allocations: 25.89 kB / 487.2 MB, free: 2.977 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.4583, allocations: 4 kB / 487.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4583, allocations: 0 / 487.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.4583, allocations: 3.953 kB / 487.2 MB, free: 2.969 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006843/0.459, allocations: 0.7897 MB / 488 MB, free: 2.266 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.459, allocations: 7.984 kB / 488 MB, free: 2.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.4591, allocations: 27.67 kB / 488 MB, free: 2.234 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.4591, allocations: 7.984 kB / 488 MB, free: 2.227 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.322e-05/0.4591, allocations: 7.984 kB / 488 MB, free: 2.219 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4591, allocations: 4 kB / 488 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.4592, allocations: 0 / 488 MB, free: 2.215 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004103/0.4596, allocations: 472.3 kB / 488.5 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.606e-05/0.4596, allocations: 100.8 kB / 488.6 MB, free: 1.703 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.279e-05/0.4597, allocations: 14.75 kB / 488.6 MB, free: 1.691 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.4599, allocations: 23.97 kB / 488.6 MB, free: 1.668 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.076e-05/0.46, allocations: 24.91 kB / 488.7 MB, free: 1.648 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.46, allocations: 18.98 kB / 488.7 MB, free: 1.633 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.55e-05/0.4601, allocations: 120.3 kB / 488.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.4601, allocations: 0 / 488.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003157/0.4604, allocations: 63.94 kB / 488.9 MB, free: 1.469 MB / 346.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.0001672/0.4606, allocations: 137.8 kB / 489 MB, free: 1.332 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004096/0.461, allocations: 493.4 kB / 489.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.461, allocations: 0 / 489.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002317/0.4612, allocations: 363.1 kB / 489.8 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005798/0.4618, allocations: 123 kB / 490 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000578/0.4624, allocations: 366.4 kB / 490.3 MB, free: 216 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/0.4627, allocations: 0.7584 MB / 491.1 MB, free: 15.43 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001899/0.4629, allocations: 51.97 kB / 491.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.372e-05/0.463, allocations: 19.44 kB / 491.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of SimCode: time 2.5e-07/0.463, allocations: 0 / 491.1 MB, free: 15.36 MB / 362.7 MB Notification: Performance of Templates: time 0.006259/0.4693, allocations: 3.668 MB / 494.8 MB, free: 11.79 MB / 362.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