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.001845/0.001845, allocations: 99.53 kB / 20.97 MB, free: 3.453 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.00193/0.00193, allocations: 160.8 kB / 24.27 MB, free: 156 kB / 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.559/1.559, allocations: 177 MB / 204.5 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 178] 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 2.274e-06/2.274e-06, allocations: 0 / 272.2 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.593e-05/3.82e-05, allocations: 2.312 kB / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.006103/0.006141, allocations: 2.362 MB / 274.6 MB, free: 15.44 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.008245, allocations: 0.7204 MB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001378/0.008383, allocations: 4 kB / 275.3 MB, free: 14.71 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000212/0.008594, allocations: 31.66 kB / 275.3 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.008773, allocations: 59.44 kB / 275.4 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005513/0.009324, allocations: 111.6 kB / 275.5 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005097/0.009834, allocations: 266.9 kB / 275.8 MB, free: 14.25 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.01012, allocations: 79.64 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.0106, allocations: 171.7 kB / 276 MB, free: 14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002494/0.01085, allocations: 83.77 kB / 276.1 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 7.23e-05/0.01092, allocations: 24 kB / 276.1 MB, free: 13.89 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.01103, allocations: 39.86 kB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.01113, allocations: 51.83 kB / 276.2 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.01131, allocations: 79.83 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006212/0.01193, allocations: 299.1 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.01194, allocations: 0 / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.01194, allocations: 0 / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.01195, allocations: 4 kB / 276.6 MB, free: 13.43 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.001584/0.01353, allocations: 0.7113 MB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.01358, allocations: 11.98 kB / 277.3 MB, free: 12.65 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000275/0.01386, allocations: 52.8 kB / 277.3 MB, free: 12.6 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004463/0.0143, allocations: 188.2 kB / 277.5 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.01445, allocations: 75.97 kB / 277.6 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.014e-05/0.0145, allocations: 16.38 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008654/0.01536, allocations: 330.2 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.01538, allocations: 4.172 kB / 277.9 MB, free: 11.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.01542, allocations: 8.125 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.067e-05/0.01543, allocations: 4 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007462/0.01618, allocations: 259.7 kB / 278.2 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.01819, allocations: 0.7402 MB / 278.9 MB, free: 10.87 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008411/0.01904, allocations: 299.1 kB / 279.2 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006567/0.01969, allocations: 255.2 kB / 279.5 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.465e-05/0.01973, allocations: 4 kB / 279.5 MB, free: 10.28 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008666/0.02059, allocations: 412.7 kB / 279.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.074e-06/0.0206, allocations: 0 / 279.9 MB, free: 9.824 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.001868/0.02246, allocations: 0.6793 MB / 280.6 MB, free: 9.102 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/0.02267, allocations: 203.8 kB / 280.8 MB, free: 8.859 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000373/0.02304, allocations: 266.6 kB / 281 MB, free: 8.582 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.494e-05/0.02311, allocations: 37.69 kB / 281.1 MB, free: 8.539 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001912/0.0233, allocations: 183.6 kB / 281.3 MB, free: 8.355 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001421/0.02344, allocations: 95.31 kB / 281.3 MB, free: 8.262 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000481/0.02392, allocations: 87.67 kB / 281.4 MB, free: 8.164 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0003966/0.02432, allocations: 0.5196 MB / 282 MB, free: 7.633 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003926/0.02471, allocations: 165.8 kB / 282.1 MB, free: 7.449 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/0.02525, allocations: 289.9 kB / 282.4 MB, free: 7.113 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008063/0.02606, allocations: 385.8 kB / 282.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.02606, allocations: 0 / 282.8 MB, free: 6.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001165/0.02723, allocations: 499.4 kB / 283.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001302/0.02736, allocations: 97.09 kB / 283.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.007e-06/0.02737, allocations: 0 / 283.4 MB, free: 6.039 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.02739, allocations: 4 kB / 283.4 MB, free: 6.035 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002878/0.02768, allocations: 48 kB / 283.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.02769, allocations: 4 kB / 283.4 MB, free: 5.984 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002781/0.02797, allocations: 43.7 kB / 283.5 MB, free: 5.941 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.768e-05/0.02801, allocations: 12 kB / 283.5 MB, free: 5.93 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.0004045/0.02841, allocations: 274.5 kB / 283.7 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.02852, allocations: 39.91 kB / 283.8 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.293e-05/0.0286, allocations: 26.62 kB / 283.8 MB, free: 5.57 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.0286, allocations: 4 kB / 283.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.02861, allocations: 0 / 283.8 MB, free: 5.566 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.02862, allocations: 3.938 kB / 283.8 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002236/0.03085, allocations: 0.9408 MB / 284.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.03086, allocations: 0 / 284.7 MB, free: 4.551 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001487/0.031, allocations: 19.98 kB / 284.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.03101, allocations: 0 / 284.8 MB, free: 4.531 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.533e-05/0.03106, allocations: 15.94 kB / 284.8 MB, free: 4.516 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.03106, allocations: 3.938 kB / 284.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03106, allocations: 0 / 284.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.03264, allocations: 0.7091 MB / 285.5 MB, free: 3.754 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.03271, allocations: 27.67 kB / 285.5 MB, free: 3.727 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.78e-05/0.03281, allocations: 15.98 kB / 285.5 MB, free: 3.711 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002956/0.0331, allocations: 19.98 kB / 285.6 MB, free: 3.691 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.03323, allocations: 23.97 kB / 285.6 MB, free: 3.668 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.03328, allocations: 15.98 kB / 285.6 MB, free: 3.652 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.0335, allocations: 176.2 kB / 285.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0335, allocations: 0 / 285.8 MB, free: 3.48 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006055/0.0341, allocations: 71.95 kB / 285.8 MB, free: 3.41 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.0002445/0.03435, allocations: 137.2 kB / 286 MB, free: 3.27 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.03576, allocations: 0.6233 MB / 286.6 MB, free: 2.574 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.03576, allocations: 4.188 kB / 286.6 MB, free: 2.57 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007693/0.03653, allocations: 378.5 kB / 287 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.03764, allocations: 154.3 kB / 287.1 MB, free: 2.023 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001633/0.03927, allocations: 0.5758 MB / 287.7 MB, free: 1.402 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000216/0.03949, allocations: 129.7 kB / 287.8 MB, free: 1.258 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.000264/0.03975, allocations: 53.88 kB / 287.9 MB, free: 1.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.973e-05/0.03985, allocations: 20.5 kB / 287.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.03985, allocations: 0 / 287.9 MB, free: 1.188 MB / 266.7 MB Notification: Performance of Templates: time 0.01461/0.05446, allocations: 4.499 MB / 292.4 MB, free: 12.76 MB / 282.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 -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.620267853024416]