Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.001894/0.001894, allocations: 177.3 kB / 17.41 MB, free: 4.414 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.728/3.728, allocations: 205.4 MB / 223.6 MB, free: 9.039 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.001202/0.001202, allocations: 89.42 kB / 271.9 MB, free: 8.281 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006088/0.0006095, allocations: 12 kB / 328.2 MB, free: 15.96 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.646/0.6467, allocations: 47.56 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1971/0.8439, allocations: 78.22 MB / 453.9 MB, free: 2.434 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000364/0.8443, allocations: 75.95 kB / 454 MB, free: 2.359 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02631/0.8707, allocations: 7.08 MB / 461.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.416e-06/0.8707, allocations: 4.188 kB / 461.1 MB, free: 11.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.955e-05/0.8708, allocations: 4 kB / 461.1 MB, free: 11.26 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.001407/0.8723, allocations: 0.6177 MB / 461.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.563e-05/0.8723, allocations: 8.031 kB / 461.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.8725, allocations: 36.64 kB / 461.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006034/0.8731, allocations: 248.8 kB / 462 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.8732, allocations: 46.27 kB / 462.1 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.8733, allocations: 16.38 kB / 462.1 MB, free: 10.18 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008752/0.8742, allocations: 273.1 kB / 462.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.8742, allocations: 0 / 462.3 MB, free: 9.91 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.8743, allocations: 8 kB / 462.3 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.8743, allocations: 4 kB / 462.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007617/0.875, allocations: 216.3 kB / 462.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.877, allocations: 0.7651 MB / 463.3 MB, free: 8.859 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009186/0.878, allocations: 303.2 kB / 463.6 MB, free: 8.555 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006497/0.8786, allocations: 245 kB / 463.9 MB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.654e-05/0.8787, allocations: 3.938 kB / 463.9 MB, free: 8.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/0.8795, allocations: 337.1 kB / 464.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.156e-06/0.8795, allocations: 0 / 464.2 MB, free: 7.949 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001763/0.8812, allocations: 0.5872 MB / 464.8 MB, free: 7.344 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002051/0.8815, allocations: 229.5 kB / 465 MB, free: 7.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.8818, allocations: 182.2 kB / 465.2 MB, free: 6.883 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.8819, allocations: 41.69 kB / 465.2 MB, free: 6.836 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.882, allocations: 128.8 kB / 465.3 MB, free: 6.707 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.656e-05/0.8821, allocations: 82.98 kB / 465.4 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.198e-05/0.8821, allocations: 4 kB / 465.4 MB, free: 6.621 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.8823, allocations: 338.8 kB / 465.8 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003433/0.8827, allocations: 112.6 kB / 465.9 MB, free: 6.164 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004102/0.8831, allocations: 187.9 kB / 466.1 MB, free: 5.957 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000792/0.8839, allocations: 418.3 kB / 466.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8839, allocations: 0 / 466.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001029/0.885, allocations: 450.1 kB / 466.9 MB, free: 5.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001118/0.8851, allocations: 97.09 kB / 467 MB, free: 4.918 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.8851, allocations: 3.984 kB / 467 MB, free: 4.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.8851, allocations: 4 kB / 467 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002556/0.8854, allocations: 48.03 kB / 467.1 MB, free: 4.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.413e-05/0.8854, allocations: 4 kB / 467.1 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.8858, allocations: 31.83 kB / 467.1 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.535e-05/0.8858, allocations: 15.94 kB / 467.1 MB, free: 4.812 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.0004035/0.8862, allocations: 244 kB / 467.3 MB, free: 4.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.42e-05/0.8863, allocations: 19.81 kB / 467.4 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.101e-05/0.8864, allocations: 26.59 kB / 467.4 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/0.8864, allocations: 4 kB / 467.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.054e-05/0.8864, allocations: 0 / 467.4 MB, free: 4.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.117e-06/0.8865, allocations: 7.922 kB / 467.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002235/0.8887, allocations: 1.022 MB / 468.4 MB, free: 3.398 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.8887, allocations: 4 kB / 468.4 MB, free: 3.395 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.8889, allocations: 27.98 kB / 468.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.8889, allocations: 0 / 468.5 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.235e-05/0.889, allocations: 7.984 kB / 468.5 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.889, allocations: 7.938 kB / 468.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.889, allocations: 0 / 468.5 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.8906, allocations: 0.6281 MB / 469.1 MB, free: 2.691 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.8907, allocations: 104.8 kB / 469.2 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.675e-05/0.8909, allocations: 15.98 kB / 469.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.8912, allocations: 27.98 kB / 469.2 MB, free: 2.527 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.8914, allocations: 23.95 kB / 469.3 MB, free: 2.504 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.365e-05/0.8914, allocations: 8 kB / 469.3 MB, free: 2.496 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001955/0.8917, allocations: 136.3 kB / 469.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8917, allocations: 0 / 469.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006749/0.8924, allocations: 79.83 kB / 469.5 MB, free: 2.285 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.0003057/0.8927, allocations: 132.7 kB / 469.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001463/0.8942, allocations: 0.5528 MB / 470.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.8942, allocations: 0 / 470.2 MB, free: 1.551 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007826/0.895, allocations: 408.5 kB / 470.6 MB, free: 1.129 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001073/0.8961, allocations: 126.2 kB / 470.7 MB, free: 1.008 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.8977, allocations: 0.6314 MB / 471.3 MB, free: 352 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005304/0.8982, allocations: 0.7486 MB / 472.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/0.8983, allocations: 27.42 kB / 472.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.8983, allocations: 0 / 472.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Templates: time 0.007798/0.9061, allocations: 3.064 MB / 475.2 MB, free: 12.5 MB / 362.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches