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.00113/0.00113, allocations: 182 kB / 18.04 MB, free: 3.758 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.443/1.443, allocations: 205.4 MB / 224.2 MB, free: 9.035 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007784/0.0007785, allocations: 78.42 kB / 272.5 MB, free: 8.266 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003657/0.0003659, allocations: 12 kB / 329.4 MB, free: 15.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2417/0.2421, allocations: 47.57 MB / 377 MB, free: 45.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09787/0.3401, allocations: 78.23 MB / 455.2 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.3405, allocations: 67.97 kB / 455.3 MB, free: 2.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01959/0.3601, allocations: 7.1 MB / 462.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.141e-06/0.3601, allocations: 0 / 462.4 MB, free: 11.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.817e-05/0.3602, allocations: 11.94 kB / 462.4 MB, free: 11.14 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.001209/0.3614, allocations: 0.6138 MB / 463 MB, free: 10.46 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.783e-05/0.3615, allocations: 12.03 kB / 463.1 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001645/0.3616, allocations: 24.66 kB / 463.1 MB, free: 10.43 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005593/0.3622, allocations: 248.8 kB / 463.3 MB, free: 10.14 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.59e-05/0.3623, allocations: 46.25 kB / 463.4 MB, free: 10.09 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.87e-05/0.3624, allocations: 28.38 kB / 463.4 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006107/0.363, allocations: 261.1 kB / 463.6 MB, free: 9.805 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.363, allocations: 4 kB / 463.6 MB, free: 9.801 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.707e-05/0.3631, allocations: 4 kB / 463.7 MB, free: 9.797 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.3631, allocations: 4 kB / 463.7 MB, free: 9.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005371/0.3636, allocations: 216.3 kB / 463.9 MB, free: 9.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001497/0.3651, allocations: 0.7651 MB / 464.6 MB, free: 8.754 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000633/0.3658, allocations: 303.2 kB / 464.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004401/0.3663, allocations: 245 kB / 465.2 MB, free: 8.211 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3663, allocations: 11.94 kB / 465.2 MB, free: 8.199 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000521/0.3668, allocations: 321.1 kB / 465.5 MB, free: 7.852 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.056e-06/0.3668, allocations: 4 kB / 465.5 MB, free: 7.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001268/0.3681, allocations: 0.595 MB / 466.1 MB, free: 7.234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.3683, allocations: 229.5 kB / 466.3 MB, free: 6.961 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001975/0.3685, allocations: 182.2 kB / 466.5 MB, free: 6.773 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.118e-05/0.3685, allocations: 37.7 kB / 466.5 MB, free: 6.73 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.3686, allocations: 136.8 kB / 466.7 MB, free: 6.594 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.3687, allocations: 75 kB / 466.7 MB, free: 6.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.634e-05/0.3687, allocations: 8 kB / 466.7 MB, free: 6.512 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.3689, allocations: 334.8 kB / 467.1 MB, free: 6.176 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002494/0.3691, allocations: 112.6 kB / 467.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002931/0.3694, allocations: 183.9 kB / 467.4 MB, free: 5.855 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005778/0.37, allocations: 422.3 kB / 467.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.37, allocations: 0 / 467.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007423/0.3708, allocations: 462.2 kB / 468.2 MB, free: 4.914 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.2e-05/0.3709, allocations: 89.09 kB / 468.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.739e-06/0.3709, allocations: 4 kB / 468.3 MB, free: 4.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.3709, allocations: 4 kB / 468.3 MB, free: 4.801 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.3711, allocations: 39.92 kB / 468.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.877e-06/0.3711, allocations: 0 / 468.4 MB, free: 4.762 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.3714, allocations: 31.83 kB / 468.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.3715, allocations: 23.94 kB / 468.4 MB, free: 4.707 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 () * 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.0002788/0.3718, allocations: 235.8 kB / 468.6 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.905e-05/0.3718, allocations: 23.81 kB / 468.7 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.047e-05/0.3719, allocations: 26.64 kB / 468.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3719, allocations: 192 / 468.7 MB, free: 4.402 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.3719, allocations: 4 kB / 468.7 MB, free: 4.398 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.3719, allocations: 11.88 kB / 468.7 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.3735, allocations: 1.019 MB / 469.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.3736, allocations: 0 / 469.7 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/0.3737, allocations: 23.98 kB / 469.8 MB, free: 3.273 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.3737, allocations: 4 kB / 469.8 MB, free: 3.27 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3737, allocations: 20.02 kB / 469.8 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.3738, allocations: 3.938 kB / 469.8 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.3738, allocations: 3.984 kB / 469.8 MB, free: 3.242 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001021/0.3748, allocations: 0.6281 MB / 470.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/0.3749, allocations: 96.84 kB / 470.5 MB, free: 2.469 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.303e-05/0.375, allocations: 16 kB / 470.5 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.3752, allocations: 27.98 kB / 470.5 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/0.3753, allocations: 23.95 kB / 470.6 MB, free: 2.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.616e-05/0.3754, allocations: 8 kB / 470.6 MB, free: 2.395 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001114/0.3755, allocations: 136.3 kB / 470.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3755, allocations: 0 / 470.7 MB, free: 2.262 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003822/0.3759, allocations: 79.84 kB / 470.8 MB, free: 2.184 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) * 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.0002023/0.3761, allocations: 140.7 kB / 470.9 MB, free: 2.031 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008573/0.377, allocations: 0.545 MB / 471.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.377, allocations: 0 / 471.5 MB, free: 1.449 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005904/0.3776, allocations: 408.3 kB / 471.9 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007143/0.3783, allocations: 132 kB / 472 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3794, allocations: 0.5982 MB / 472.6 MB, free: 280 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3797, allocations: 0.7447 MB / 473.3 MB, free: 15.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001876/0.3799, allocations: 57.88 kB / 473.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.469e-05/0.38, allocations: 23.44 kB / 473.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.38, allocations: 0 / 473.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Templates: time 0.007744/0.3877, allocations: 3.886 MB / 477.3 MB, free: 11.55 MB / 362.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/jenkins1/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