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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 85.17 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 147.1 kB / 24.89 MB, free: 8.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9249/0.9249, allocations: 173.4 MB / 201.5 MB, free: 8.742 MB / 186.7 MB " [Timeout remaining time 179] 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=5601,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=5601,variableFilter="time|aD_Converter.z|pulse.T0|pulse.np",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 268.5 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.358e-05/1.467e-05, allocations: 6.25 kB / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002462/0.002477, allocations: 2.355 MB / 270.8 MB, free: 3.66 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009179/0.003395, allocations: 0.6735 MB / 271.5 MB, free: 2.98 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.247e-05/0.003477, allocations: 7.938 kB / 271.5 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001255/0.003602, allocations: 35.66 kB / 271.5 MB, free: 2.938 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.7e-05/0.003679, allocations: 51.5 kB / 271.6 MB, free: 2.887 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002531/0.003933, allocations: 99.62 kB / 271.7 MB, free: 2.789 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.004167, allocations: 270.9 kB / 272 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001457/0.004312, allocations: 82.27 kB / 272 MB, free: 2.441 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002162/0.004529, allocations: 167.6 kB / 272.2 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000123/0.004652, allocations: 91.75 kB / 272.3 MB, free: 2.188 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.376e-05/0.004685, allocations: 20 kB / 272.3 MB, free: 2.168 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.832e-05/0.004714, allocations: 24 kB / 272.3 MB, free: 2.145 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.318e-05/0.004767, allocations: 55.81 kB / 272.4 MB, free: 2.09 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/0.004843, allocations: 83.77 kB / 272.5 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002009/0.005044, allocations: 199.3 kB / 272.7 MB, free: 1.812 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.005046, allocations: 7.938 kB / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.005047, allocations: 0 / 272.7 MB, free: 1.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.026e-06/0.00505, allocations: 3.938 kB / 272.7 MB, free: 1.801 MB / 250.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.0005822/0.005632, allocations: 0.5598 MB / 273.2 MB, free: 1.195 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.693e-05/0.005659, allocations: 8.922 kB / 273.2 MB, free: 1.188 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.005709, allocations: 40.91 kB / 273.3 MB, free: 1.148 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.00587, allocations: 162.1 kB / 273.4 MB, free: 0.9609 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.503e-05/0.005925, allocations: 71.95 kB / 273.5 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.532e-05/0.005951, allocations: 24.38 kB / 273.5 MB, free: 0.8555 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.006231, allocations: 278.6 kB / 273.8 MB, free: 0.5547 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.00624, allocations: 4.188 kB / 273.8 MB, free: 0.5508 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.059e-05/0.006261, allocations: 8.125 kB / 273.8 MB, free: 0.543 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.006267, allocations: 4 kB / 273.8 MB, free: 0.5391 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/0.006391, allocations: 136.9 kB / 274 MB, free: 404 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.007029, allocations: 0.5183 MB / 274.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.00721, allocations: 185 kB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.007332, allocations: 160.4 kB / 274.8 MB, free: 15.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.365e-05/0.007346, allocations: 4 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.007549, allocations: 341.3 kB / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.112e-06/0.00755, allocations: 0 / 275.2 MB, free: 15.08 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.000371/0.007921, allocations: 419.8 kB / 275.6 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.695e-05/0.007988, allocations: 207.8 kB / 275.8 MB, free: 14.38 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.447e-05/0.008073, allocations: 174.7 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.008099, allocations: 41.7 kB / 276 MB, free: 14.15 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.01e-05/0.008149, allocations: 128.8 kB / 276.1 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.008191, allocations: 79.39 kB / 276.2 MB, free: 13.95 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.008254, allocations: 69.97 kB / 276.2 MB, free: 13.87 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.095e-05/0.008325, allocations: 334.7 kB / 276.6 MB, free: 13.53 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.509e-05/0.00839, allocations: 125.8 kB / 276.7 MB, free: 13.39 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000215/0.008605, allocations: 209.9 kB / 276.9 MB, free: 13.14 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.008764, allocations: 299.2 kB / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.008766, allocations: 0 / 277.2 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002153/0.008982, allocations: 351.5 kB / 277.5 MB, free: 12.41 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.085e-05/0.009023, allocations: 100.1 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.009027, allocations: 0 / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.009038, allocations: 4 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.009159, allocations: 56 kB / 277.7 MB, free: 12.24 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.009163, allocations: 4 kB / 277.7 MB, free: 12.23 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.125e-05/0.009245, allocations: 31.67 kB / 277.7 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.009257, allocations: 8 kB / 277.7 MB, free: 12.2 MB / 266.7 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.0001236/0.00938, allocations: 222.6 kB / 278 MB, free: 11.96 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.009414, allocations: 35.84 kB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.009439, allocations: 26.66 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.025e-06/0.009442, allocations: 4 kB / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.009444, allocations: 0 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009447, allocations: 0 / 278 MB, free: 11.89 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004446/0.009892, allocations: 0.5723 MB / 278.6 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.009894, allocations: 3.984 kB / 278.6 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.009949, allocations: 19.98 kB / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009951, allocations: 0 / 278.6 MB, free: 11.24 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.009967, allocations: 16.02 kB / 278.6 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.00997, allocations: 7.938 kB / 278.6 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.009972, allocations: 3.984 kB / 278.6 MB, free: 11.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002505/0.01022, allocations: 447.8 kB / 279.1 MB, free: 10.73 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.791e-05/0.01024, allocations: 19.84 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.208e-05/0.01027, allocations: 12 kB / 279.1 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.01037, allocations: 19.98 kB / 279.1 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.01041, allocations: 23.95 kB / 279.2 MB, free: 10.66 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.01042, allocations: 8 kB / 279.2 MB, free: 10.65 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.134e-05/0.01045, allocations: 49.81 kB / 279.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01045, allocations: 0 / 279.2 MB, free: 10.6 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001831/0.01064, allocations: 79.83 kB / 279.3 MB, free: 10.52 MB / 266.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.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 9.098e-05/0.01073, allocations: 110.3 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003028/0.01103, allocations: 0.4905 MB / 279.9 MB, free: 9.844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.01103, allocations: 8.062 kB / 279.9 MB, free: 9.836 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.01119, allocations: 290.9 kB / 280.2 MB, free: 9.512 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.01173, allocations: 146.2 kB / 280.3 MB, free: 9.379 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006748/0.01241, allocations: 0.532 MB / 280.9 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.234e-05/0.01245, allocations: 80.83 kB / 280.9 MB, free: 8.703 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.502e-05/0.01251, allocations: 37.86 kB / 281 MB, free: 8.668 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.0127, allocations: 131.3 kB / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of SimCode: time 5.71e-07/0.0127, allocations: 0 / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of Templates: time 0.005453/0.01815, allocations: 4.746 MB / 285.8 MB, free: 3.902 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7503055408596992]