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.001387/0.001387, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.586/1.586, allocations: 205.2 MB / 219.8 MB, free: 14.2 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.001045/0.001045, allocations: 82.72 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.184e-05, allocations: 7.984 kB / 322.4 MB, free: 17.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1157, allocations: 47.57 MB / 370 MB, free: 1.715 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/0.4999, allocations: 78.07 MB / 448.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000279/0.5003, allocations: 66.28 kB / 448.2 MB, free: 15.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01783/0.5181, allocations: 7.107 MB / 455.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.855e-06/0.5182, allocations: 0 / 455.3 MB, free: 9.293 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.894e-05/0.5182, allocations: 7.984 kB / 455.3 MB, free: 9.285 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.000893/0.5191, allocations: 0.5915 MB / 455.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.5192, allocations: 8.031 kB / 455.9 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.5192, allocations: 27.72 kB / 455.9 MB, free: 8.617 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004159/0.5197, allocations: 258.4 kB / 456.1 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.807e-05/0.5198, allocations: 52.94 kB / 456.2 MB, free: 8.285 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.5198, allocations: 18.88 kB / 456.2 MB, free: 8.273 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004052/0.5202, allocations: 220.8 kB / 456.4 MB, free: 8.109 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.5202, allocations: 4 kB / 456.4 MB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.783e-05/0.5203, allocations: 10.44 kB / 456.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.133e-06/0.5203, allocations: 4 kB / 456.4 MB, free: 8.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.5206, allocations: 161.6 kB / 456.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.5219, allocations: 0.7644 MB / 457.4 MB, free: 7.285 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.5223, allocations: 266.7 kB / 457.6 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002991/0.5226, allocations: 201.4 kB / 457.8 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.457e-05/0.5226, allocations: 11.94 kB / 457.8 MB, free: 6.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004041/0.523, allocations: 302.2 kB / 458.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 1.503e-06/0.523, allocations: 0 / 458.1 MB, free: 6.547 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.0006325/0.5237, allocations: 400.8 kB / 458.5 MB, free: 6.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001513/0.5238, allocations: 225.6 kB / 458.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.524, allocations: 161.5 kB / 458.9 MB, free: 5.703 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.819e-05/0.524, allocations: 41.7 kB / 458.9 MB, free: 5.656 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.366e-05/0.5241, allocations: 128.5 kB / 459.1 MB, free: 5.527 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.98e-05/0.5242, allocations: 79 kB / 459.1 MB, free: 5.449 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.83e-05/0.5242, allocations: 8 kB / 459.2 MB, free: 5.441 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.5244, allocations: 330.8 kB / 459.5 MB, free: 5.109 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001638/0.5246, allocations: 96.67 kB / 459.6 MB, free: 5.008 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.5248, allocations: 163.9 kB / 459.7 MB, free: 4.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.525, allocations: 189.8 kB / 459.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.525, allocations: 0 / 459.9 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0005391/0.5255, allocations: 423.8 kB / 460.3 MB, free: 4.184 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.859e-05/0.5256, allocations: 101 kB / 460.4 MB, free: 4.066 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5256, allocations: 3.953 kB / 460.4 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5257, allocations: 7.984 kB / 460.4 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.5259, allocations: 35.92 kB / 460.5 MB, free: 4.02 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.5259, allocations: 7.984 kB / 460.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.5261, allocations: 23.98 kB / 460.5 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.5261, allocations: 16.09 kB / 460.5 MB, free: 3.973 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.0001994/0.5263, allocations: 215.3 kB / 460.7 MB, free: 3.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.219e-05/0.5264, allocations: 27.72 kB / 460.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.62e-05/0.5264, allocations: 26.77 kB / 460.8 MB, free: 3.688 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.5264, allocations: 3.953 kB / 460.8 MB, free: 3.684 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/0.5264, allocations: 4 kB / 460.8 MB, free: 3.68 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.5265, allocations: 7.938 kB / 460.8 MB, free: 3.672 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001143/0.5276, allocations: 0.9521 MB / 461.8 MB, free: 2.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.5276, allocations: 7.938 kB / 461.8 MB, free: 2.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.5277, allocations: 23.98 kB / 461.8 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5278, allocations: 8.031 kB / 461.8 MB, free: 2.609 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.5278, allocations: 8 kB / 461.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5278, allocations: 0 / 461.8 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.5278, allocations: 4 kB / 461.8 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.5286, allocations: 0.5688 MB / 462.4 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-05/0.5287, allocations: 96.83 kB / 462.5 MB, free: 1.879 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.961e-05/0.5287, allocations: 23.98 kB / 462.5 MB, free: 1.855 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.529, allocations: 23.98 kB / 462.5 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/0.5291, allocations: 23.95 kB / 462.5 MB, free: 1.809 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.732e-05/0.5291, allocations: 12 kB / 462.6 MB, free: 1.797 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001231/0.5292, allocations: 135.2 kB / 462.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5292, allocations: 0 / 462.7 MB, free: 1.664 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003149/0.5296, allocations: 83.84 kB / 462.8 MB, free: 1.582 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.0002134/0.5298, allocations: 136.7 kB / 462.9 MB, free: 1.441 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006005/0.5304, allocations: 0.4989 MB / 463.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.5304, allocations: 0 / 463.4 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003645/0.5308, allocations: 370.7 kB / 463.8 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00059/0.5314, allocations: 122.1 kB / 463.9 MB, free: 412 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006972/0.5321, allocations: 379.8 kB / 464.3 MB, free: 4 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.5325, allocations: 0.7525 MB / 465 MB, free: 15.22 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001574/0.5327, allocations: 57.98 kB / 465.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.5327, allocations: 19.44 kB / 465.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of SimCode: time 3.1e-07/0.5327, allocations: 4 kB / 465.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of Templates: time 0.00699/0.5397, allocations: 3.83 MB / 468.9 MB, free: 11.31 MB / 346.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