Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 113 kB / 17.68 MB, free: 5.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 190.9 kB / 18.62 MB, free: 4.543 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 242.3 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009547/0.0009548, allocations: 58.27 kB / 302.1 MB, free: 5.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07834/0.07931, allocations: 49.44 MB / 351.5 MB, free: 3.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003505/0.08285, allocations: 2.353 MB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001133/0.08401, allocations: 0.6738 MB / 354.5 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.785e-05/0.08412, allocations: 4 kB / 354.5 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.08427, allocations: 23.72 kB / 354.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001042/0.0844, allocations: 59.42 kB / 354.6 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.08473, allocations: 91.75 kB / 354.7 MB, free: 480 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.08506, allocations: 267.1 kB / 355 MB, free: 212 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002292/0.0853, allocations: 115.4 kB / 355.1 MB, free: 92 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.0855, allocations: 119.6 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001527/0.08566, allocations: 119.5 kB / 355.3 MB, free: 15.86 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.442e-05/0.08571, allocations: 24 kB / 355.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.603e-05/0.08576, allocations: 20 kB / 355.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.048e-05/0.08582, allocations: 51.84 kB / 355.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001296/0.08596, allocations: 123.4 kB / 355.5 MB, free: 15.64 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002859/0.08625, allocations: 287 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.08626, allocations: 0 / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.08627, allocations: 0 / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.611e-06/0.08628, allocations: 0 / 355.8 MB, free: 15.36 MB / 302.1 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.001013/0.0873, allocations: 0.6755 MB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.222e-05/0.08734, allocations: 8.031 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.08741, allocations: 28.66 kB / 356.5 MB, free: 14.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002965/0.08771, allocations: 233.8 kB / 356.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.0878, allocations: 50.25 kB / 356.8 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.08784, allocations: 24.38 kB / 356.8 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005173/0.08836, allocations: 252.2 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.08839, allocations: 3.984 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.437e-05/0.08842, allocations: 8 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.08843, allocations: 4 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005242/0.08896, allocations: 212.1 kB / 357.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.09019, allocations: 0.7523 MB / 358 MB, free: 12.95 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005484/0.09076, allocations: 298.4 kB / 358.3 MB, free: 12.65 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004304/0.0912, allocations: 225 kB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.911e-05/0.09123, allocations: 0 / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004767/0.09171, allocations: 320.8 kB / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.423e-06/0.09172, allocations: 0 / 358.9 MB, free: 12.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001115/0.09285, allocations: 0.5747 MB / 359.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.09297, allocations: 199.9 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001743/0.09315, allocations: 183.9 kB / 359.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.09322, allocations: 41.64 kB / 359.8 MB, free: 11.02 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.09331, allocations: 132.7 kB / 360 MB, free: 10.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.789e-05/0.09338, allocations: 86.94 kB / 360.1 MB, free: 10.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.615e-05/0.09349, allocations: 66.02 kB / 360.1 MB, free: 10.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.0936, allocations: 334.8 kB / 360.5 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000234/0.09384, allocations: 104.6 kB / 360.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.09411, allocations: 175.3 kB / 360.7 MB, free: 10.09 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005054/0.09462, allocations: 415.1 kB / 361.1 MB, free: 9.637 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.09464, allocations: 4 kB / 361.1 MB, free: 9.633 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007069/0.09535, allocations: 438.3 kB / 361.6 MB, free: 9.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.198e-05/0.09542, allocations: 97.09 kB / 361.7 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.09544, allocations: 3.938 kB / 361.7 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.09545, allocations: 4.188 kB / 361.7 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/0.09564, allocations: 39.91 kB / 361.7 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.09566, allocations: 3.938 kB / 361.7 MB, free: 9.016 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.09585, allocations: 35.77 kB / 361.7 MB, free: 8.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.09588, allocations: 16.03 kB / 361.8 MB, free: 8.965 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 36 (dA_Converter.y,$PRE.dA_Converter.y,aD_Converter.z,$PRE.aD_Converter.z,dA_Converter.x[7],dA_Converter.x[6],dA_Converter.x[5],dA_Converter.x[4],dA_Converter.x[3],dA_Converter.x[2],dA_Converter.x[1],aD_Converter.y[7],$PRE.aD_Converter.y[7],aD_Converter.y[6],$PRE.aD_Converter.y[6],aD_Converter.y[5],$PRE.aD_Converter.y[5],aD_Converter.y[4],$PRE.aD_Converter.y[4],aD_Converter.y[3],$PRE.aD_Converter.y[3],aD_Converter.y[2],$PRE.aD_Converter.y[2],aD_Converter.y[1],$PRE.aD_Converter.y[1],dA_Converter.trig,pulse.sampling,pulse.np,$PRE.pulse.np,pulse.T0,$PRE.pulse.T0,$whenCondition2,$whenCondition1,$whenCondition3,dA_Converter.vout,$PRE.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002132/0.0961, allocations: 239.8 kB / 362 MB, free: 8.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.185e-05/0.09615, allocations: 23.72 kB / 362 MB, free: 8.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.636e-05/0.0962, allocations: 26.59 kB / 362 MB, free: 8.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.09621, allocations: 4 kB / 362 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.09622, allocations: 0 / 362 MB, free: 8.652 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.09623, allocations: 7.984 kB / 362.1 MB, free: 8.645 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.09762, allocations: 0.9278 MB / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.09764, allocations: 0 / 363 MB, free: 7.645 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001125/0.09776, allocations: 27.95 kB / 363 MB, free: 7.617 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.573e-06/0.09777, allocations: 4 kB / 363 MB, free: 7.613 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.09781, allocations: 19.92 kB / 363 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.09782, allocations: 0 / 363 MB, free: 7.594 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.09783, allocations: 4 kB / 363 MB, free: 7.59 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008636/0.0987, allocations: 0.6127 MB / 363.6 MB, free: 6.945 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.849e-05/0.09877, allocations: 96.86 kB / 363.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.726e-05/0.09883, allocations: 15.98 kB / 363.8 MB, free: 6.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/0.09905, allocations: 23.98 kB / 363.8 MB, free: 6.793 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.324e-05/0.09913, allocations: 19.97 kB / 363.8 MB, free: 6.773 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-05/0.09917, allocations: 16 kB / 363.8 MB, free: 6.758 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001162/0.09929, allocations: 135.2 kB / 363.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.0993, allocations: 0 / 363.9 MB, free: 6.625 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003326/0.09964, allocations: 75.84 kB / 364 MB, free: 6.551 MB / 302.1 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.z,pulse.T0,pulse.np,pulse.sampling,dA_Converter.trig,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000148/0.09979, allocations: 129.7 kB / 364.1 MB, free: 6.414 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000803/0.1006, allocations: 0.5488 MB / 364.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1006, allocations: 0 / 364.7 MB, free: 5.828 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004982/0.1011, allocations: 394.6 kB / 365.1 MB, free: 5.418 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006597/0.1018, allocations: 159.5 kB / 365.2 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008878/0.1027, allocations: 0.5133 MB / 365.8 MB, free: 4.734 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.103, allocations: 0.7444 MB / 366.5 MB, free: 3.961 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001384/0.1031, allocations: 57.83 kB / 366.6 MB, free: 3.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.696e-05/0.1032, allocations: 23.44 kB / 366.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1032, allocations: 0 / 366.6 MB, free: 3.879 MB / 302.1 MB Notification: Performance of Templates: time 0.9041/1.007, allocations: 4.247 MB / 370.8 MB, free: 25.64 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches