Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001482/0.001482, allocations: 88.73 kB / 21.5 MB, free: 2.984 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001986/0.001986, allocations: 164.2 kB / 24.91 MB, free: 8.762 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.007/1.007, allocations: 177 MB / 205.2 MB, free: 5.039 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 273.4 MB, free: 1.008 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.435e-05, allocations: 2.312 kB / 273.4 MB, free: 1.004 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002672/0.002697, allocations: 2.429 MB / 275.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001256/0.003952, allocations: 0.7397 MB / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.004061, allocations: 0 / 276.6 MB, free: 13.81 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.004203, allocations: 39.64 kB / 276.6 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.004301, allocations: 59.44 kB / 276.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003607/0.004661, allocations: 103.7 kB / 276.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.004937, allocations: 278.9 kB / 277.1 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.005101, allocations: 82.08 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002792/0.00538, allocations: 175.6 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001312/0.005511, allocations: 87.77 kB / 277.4 MB, free: 13 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.032e-05/0.005541, allocations: 20 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.468e-05/0.005606, allocations: 24 kB / 277.5 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.412e-05/0.00565, allocations: 55.77 kB / 277.5 MB, free: 12.9 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.269e-05/0.005723, allocations: 83.81 kB / 277.6 MB, free: 12.82 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.006255, allocations: 211.2 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.00626, allocations: 4 kB / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.006261, allocations: 0 / 277.8 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.006267, allocations: 0 / 277.8 MB, free: 12.61 MB / 266.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.0006058/0.006872, allocations: 0.5714 MB / 278.4 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.006908, allocations: 15.98 kB / 278.4 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00015/0.007058, allocations: 44.89 kB / 278.4 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000228/0.007286, allocations: 173.4 kB / 278.6 MB, free: 11.74 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.151e-05/0.007357, allocations: 79.75 kB / 278.7 MB, free: 11.65 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.07e-05/0.007378, allocations: 16.38 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002962/0.007674, allocations: 278.9 kB / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.007683, allocations: 192 / 279 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.0077, allocations: 16.12 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.007708, allocations: 4 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.007826, allocations: 136.8 kB / 279.1 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.008506, allocations: 0.5183 MB / 279.6 MB, free: 10.63 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001918/0.008698, allocations: 188.9 kB / 279.8 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/0.008828, allocations: 160.4 kB / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.008842, allocations: 0 / 280 MB, free: 10.25 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.00907, allocations: 345.4 kB / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.413e-06/0.009072, allocations: 0 / 280.3 MB, free: 9.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003487/0.00942, allocations: 427.7 kB / 280.7 MB, free: 9.398 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.009492, allocations: 199.9 kB / 280.9 MB, free: 9.16 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.009588, allocations: 175.3 kB / 281.1 MB, free: 8.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.009609, allocations: 33.7 kB / 281.1 MB, free: 8.938 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.809e-05/0.009667, allocations: 136.8 kB / 281.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.009711, allocations: 83.34 kB / 281.4 MB, free: 8.719 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.009775, allocations: 65.98 kB / 281.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.414e-05/0.009859, allocations: 342.7 kB / 281.8 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.267e-05/0.009932, allocations: 117.8 kB / 281.9 MB, free: 8.168 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001046/0.01004, allocations: 213.9 kB / 282.1 MB, free: 7.914 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.01022, allocations: 292.9 kB / 282.4 MB, free: 7.582 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01023, allocations: 4 kB / 282.4 MB, free: 7.578 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002337/0.01046, allocations: 351.6 kB / 282.7 MB, free: 7.191 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.558e-05/0.01051, allocations: 93.09 kB / 282.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.01051, allocations: 0 / 282.8 MB, free: 7.082 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.01053, allocations: 4 kB / 282.8 MB, free: 7.078 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.01069, allocations: 56 kB / 282.9 MB, free: 7.023 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.01069, allocations: 7.938 kB / 282.9 MB, free: 7.016 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.517e-05/0.01078, allocations: 31.83 kB / 282.9 MB, free: 6.984 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.01079, allocations: 12 kB / 282.9 MB, free: 6.973 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.0001342/0.01092, allocations: 226.5 kB / 283.1 MB, free: 6.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.274e-05/0.01096, allocations: 39.91 kB / 283.2 MB, free: 6.688 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.745e-05/0.01099, allocations: 22.66 kB / 283.2 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.01099, allocations: 4 kB / 283.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-06/0.01099, allocations: 0 / 283.2 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.011, allocations: 3.984 kB / 283.2 MB, free: 6.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.01147, allocations: 0.5761 MB / 283.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.01147, allocations: 0 / 283.8 MB, free: 6.027 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.07e-05/0.01155, allocations: 27.98 kB / 283.8 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01156, allocations: 0 / 283.8 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.01157, allocations: 16.02 kB / 283.8 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.01158, allocations: 4 kB / 283.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.01158, allocations: 0 / 283.8 MB, free: 5.98 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.01184, allocations: 446.9 kB / 284.3 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.01187, allocations: 19.8 kB / 284.3 MB, free: 5.48 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.0119, allocations: 15.98 kB / 284.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.499e-05/0.01199, allocations: 23.98 kB / 284.3 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.893e-05/0.01204, allocations: 19.97 kB / 284.3 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.641e-05/0.01206, allocations: 19.92 kB / 284.4 MB, free: 5.402 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.858e-05/0.0121, allocations: 41.88 kB / 284.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0121, allocations: 0 / 284.4 MB, free: 5.359 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001994/0.0123, allocations: 79.89 kB / 284.5 MB, free: 5.281 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 0.0003507/0.01265, allocations: 106.3 kB / 284.6 MB, free: 5.168 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002941/0.01294, allocations: 498.3 kB / 285.1 MB, free: 4.609 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.01295, allocations: 8.062 kB / 285.1 MB, free: 4.602 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001534/0.0131, allocations: 291.7 kB / 285.4 MB, free: 4.277 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003539/0.01345, allocations: 148.7 kB / 285.5 MB, free: 4.145 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007522/0.01421, allocations: 0.5429 MB / 286 MB, free: 3.559 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.01425, allocations: 80.83 kB / 286.1 MB, free: 3.461 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.658e-05/0.01434, allocations: 21.94 kB / 286.1 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001895/0.01453, allocations: 135.3 kB / 286.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of SimCode: time 7.31e-07/0.01453, allocations: 0 / 286.3 MB, free: 3.305 MB / 266.7 MB Notification: Performance of Templates: time 0.1046/0.1192, allocations: 4.762 MB / 291 MB, free: 25.9 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.7663456252776086]