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.001098/0.001098, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009129/0.0009127, allocations: 94.06 kB / 292.1 MB, free: 5.867 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.524e-05/3.528e-05, allocations: 4 kB / 350.5 MB, free: 2.543 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1135, allocations: 51.49 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3153/0.4288, allocations: 80.26 MB / 482.3 MB, free: 9.211 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002003/0.429, allocations: 71.47 kB / 482.4 MB, free: 9.176 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01546/0.4445, allocations: 7.364 MB / 489.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4445, allocations: 0 / 489.7 MB, free: 3.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.4446, allocations: 4 kB / 489.7 MB, free: 3.137 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.000707/0.4453, allocations: 0.5909 MB / 490.3 MB, free: 2.508 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.4453, allocations: 8.031 kB / 490.3 MB, free: 2.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001683/0.4455, allocations: 45.3 kB / 490.4 MB, free: 2.457 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003307/0.4458, allocations: 254.1 kB / 490.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.291e-05/0.4459, allocations: 45.08 kB / 490.7 MB, free: 2.148 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.377e-05/0.446, allocations: 19.38 kB / 490.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003396/0.4463, allocations: 233.7 kB / 490.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4463, allocations: 0 / 490.9 MB, free: 1.965 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.534e-05/0.4464, allocations: 7.562 kB / 490.9 MB, free: 1.961 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.81e-06/0.4464, allocations: 11.88 kB / 490.9 MB, free: 1.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.4466, allocations: 160.7 kB / 491.1 MB, free: 1.84 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00108/0.4477, allocations: 0.756 MB / 491.8 MB, free: 1.148 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.448, allocations: 265.9 kB / 492.1 MB, free: 0.9609 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.4483, allocations: 197.2 kB / 492.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.4483, allocations: 4 kB / 492.3 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002814/0.4486, allocations: 301.2 kB / 492.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.4486, allocations: 0 / 492.6 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.000522/0.4491, allocations: 395.3 kB / 493 MB, free: 108 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.4492, allocations: 229.6 kB / 493.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.4494, allocations: 165.4 kB / 493.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.4494, allocations: 37.69 kB / 493.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.246e-05/0.4495, allocations: 132.6 kB / 493.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.631e-05/0.4496, allocations: 82.98 kB / 493.6 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.341e-05/0.4496, allocations: 4 kB / 493.6 MB, free: 15.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.4497, allocations: 334.8 kB / 493.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.4499, allocations: 92.69 kB / 494 MB, free: 14.97 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001803/0.45, allocations: 164.7 kB / 494.2 MB, free: 14.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.4503, allocations: 198.3 kB / 494.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.4503, allocations: 0 / 494.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005061/0.4508, allocations: 414.2 kB / 494.8 MB, free: 14.15 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.348e-05/0.4509, allocations: 97.2 kB / 494.9 MB, free: 14.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.4509, allocations: 8 kB / 494.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.4509, allocations: 7.938 kB / 494.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001783/0.4511, allocations: 39.91 kB / 494.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.026e-06/0.4511, allocations: 0 / 494.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001983/0.4513, allocations: 40.7 kB / 495 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.4513, allocations: 8 kB / 495 MB, free: 13.94 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 () * 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.0001699/0.4515, allocations: 212.4 kB / 495.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.538e-05/0.4516, allocations: 27.81 kB / 495.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.268e-05/0.4516, allocations: 22.72 kB / 495.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.4516, allocations: 7.938 kB / 495.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.4517, allocations: 0 / 495.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.4517, allocations: 0 / 495.2 MB, free: 13.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001124/0.4528, allocations: 0.9639 MB / 496.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4528, allocations: 0 / 496.2 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.4529, allocations: 19.98 kB / 496.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.4529, allocations: 0 / 496.2 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.453, allocations: 19.97 kB / 496.2 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.453, allocations: 7.969 kB / 496.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.453, allocations: 0 / 496.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006465/0.4536, allocations: 0.5626 MB / 496.8 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.4537, allocations: 96.83 kB / 496.9 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.416e-05/0.4538, allocations: 19.98 kB / 496.9 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000214/0.454, allocations: 23.98 kB / 497 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.4541, allocations: 31.94 kB / 497 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.4541, allocations: 15.95 kB / 497 MB, free: 11.78 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.4542, allocations: 132.3 kB / 497.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.4542, allocations: 0 / 497.1 MB, free: 11.65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.4546, allocations: 79.84 kB / 497.2 MB, free: 11.57 MB / 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) * 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.0001793/0.4548, allocations: 146.6 kB / 497.4 MB, free: 11.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005558/0.4553, allocations: 0.498 MB / 497.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4554, allocations: 0 / 497.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.4557, allocations: 374.7 kB / 498.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005801/0.4563, allocations: 118.4 kB / 498.3 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007199/0.457, allocations: 380.2 kB / 498.7 MB, free: 9.992 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.4573, allocations: 0.7487 MB / 499.5 MB, free: 9.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001512/0.4575, allocations: 52.56 kB / 499.5 MB, free: 9.176 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.08e-05/0.4575, allocations: 19.44 kB / 499.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4575, allocations: 0 / 499.5 MB, free: 9.156 MB / 362.7 MB Notification: Performance of Templates: time 0.006606/0.4642, allocations: 3.825 MB / 0.4915 GB, free: 5.426 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