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.001148/0.001148, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001826/0.002974, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001145/0.001145, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.002728, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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 0.9943/0.9943, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08503/1.079, allocations: 53.87 MB / 243.7 MB, free: 14.92 MB / 250.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.433e-06/1.433e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.162e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004003/0.004025, allocations: 2.437 MB / 247.5 MB, free: 11.19 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00123/0.005255, allocations: 0.7435 MB / 248.2 MB, free: 10.44 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.687e-05/0.005342, allocations: 7.938 kB / 248.2 MB, free: 10.43 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 8.661e-05/0.005429, allocations: 27.7 kB / 248.2 MB, free: 10.4 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.447e-05/0.005493, allocations: 59.45 kB / 248.3 MB, free: 10.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002157/0.005709, allocations: 115.5 kB / 248.4 MB, free: 10.23 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.005939, allocations: 266.9 kB / 248.7 MB, free: 9.969 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.006084, allocations: 86.12 kB / 248.8 MB, free: 9.887 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.006314, allocations: 187.6 kB / 248.9 MB, free: 9.703 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001187/0.006433, allocations: 91.7 kB / 249 MB, free: 9.613 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.006463, allocations: 24 kB / 249.1 MB, free: 9.59 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.79e-05/0.006521, allocations: 28 kB / 249.1 MB, free: 9.562 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.388e-05/0.006564, allocations: 43.86 kB / 249.1 MB, free: 9.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.721e-05/0.006632, allocations: 67.86 kB / 249.2 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002051/0.006837, allocations: 179.4 kB / 249.4 MB, free: 9.277 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.36e-05/0.00685, allocations: 4 kB / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.006851, allocations: 0 / 249.4 MB, free: 9.273 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.006867, allocations: 3.938 kB / 249.4 MB, free: 9.27 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.0006999/0.007567, allocations: 0.6218 MB / 250 MB, free: 8.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.0076, allocations: 8.625 kB / 250 MB, free: 8.598 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.00775, allocations: 122 kB / 250.1 MB, free: 8.461 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001811/0.007932, allocations: 165.4 kB / 250.3 MB, free: 8.273 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.943e-05/0.007991, allocations: 83.73 kB / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.008011, allocations: 16.38 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.008617, allocations: 282.9 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/0.008627, allocations: 8.172 kB / 250.7 MB, free: 7.855 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.008644, allocations: 16.06 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.00865, allocations: 4 kB / 250.7 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.008766, allocations: 144.8 kB / 250.8 MB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.009354, allocations: 0.5066 MB / 251.3 MB, free: 7.148 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.009541, allocations: 200.2 kB / 251.5 MB, free: 6.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001229/0.009664, allocations: 160.4 kB / 251.7 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.371e-05/0.009677, allocations: 4 kB / 251.7 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.009885, allocations: 349.4 kB / 252 MB, free: 6.363 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.132e-06/0.009886, allocations: 0 / 252 MB, free: 6.363 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003185/0.0102, allocations: 440.5 kB / 252.5 MB, free: 5.891 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.28e-05/0.01027, allocations: 178.1 kB / 252.6 MB, free: 5.68 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.612e-05/0.01035, allocations: 182.5 kB / 252.8 MB, free: 5.488 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.01037, allocations: 37.69 kB / 252.9 MB, free: 5.445 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.416e-05/0.01042, allocations: 116.9 kB / 253 MB, free: 5.328 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.465e-05/0.01046, allocations: 91.27 kB / 253.1 MB, free: 5.238 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.01052, allocations: 69.98 kB / 253.1 MB, free: 5.16 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.772e-05/0.0106, allocations: 346.7 kB / 253.5 MB, free: 4.812 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.782e-05/0.01067, allocations: 117.8 kB / 253.6 MB, free: 4.68 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.792e-05/0.01077, allocations: 218.1 kB / 253.8 MB, free: 4.422 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.01093, allocations: 287.6 kB / 254.1 MB, free: 4.094 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.01093, allocations: 4 kB / 254.1 MB, free: 4.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002203/0.01115, allocations: 367.5 kB / 254.4 MB, free: 3.688 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.816e-05/0.0112, allocations: 93.22 kB / 254.5 MB, free: 3.578 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.0112, allocations: 4 kB / 254.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.634e-06/0.01121, allocations: 0 / 254.5 MB, free: 3.574 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001658/0.01138, allocations: 59.91 kB / 254.6 MB, free: 3.516 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.01138, allocations: 4 kB / 254.6 MB, free: 3.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.686e-05/0.01146, allocations: 39.77 kB / 254.6 MB, free: 3.473 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.14e-05/0.01147, allocations: 8 kB / 254.6 MB, free: 3.465 MB / 250.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.0001162/0.01159, allocations: 226.5 kB / 254.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.11e-05/0.01162, allocations: 35.97 kB / 254.9 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.064e-05/0.01165, allocations: 26.64 kB / 254.9 MB, free: 3.156 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.01165, allocations: 3.938 kB / 254.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/0.01165, allocations: 0 / 254.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.01165, allocations: 0 / 254.9 MB, free: 3.152 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000434/0.01209, allocations: 0.5995 MB / 255.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01209, allocations: 0 / 255.5 MB, free: 2.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.248e-05/0.01216, allocations: 27.97 kB / 255.6 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.919e-05/0.01218, allocations: 23.8 kB / 255.6 MB, free: 2.449 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.01218, allocations: 4 kB / 255.6 MB, free: 2.445 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/0.0122, allocations: 11.98 kB / 255.6 MB, free: 2.434 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.0122, allocations: 3.938 kB / 255.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.0122, allocations: 0 / 255.6 MB, free: 2.43 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/0.01244, allocations: 451 kB / 256 MB, free: 1.945 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.076e-05/0.01247, allocations: 12 kB / 256 MB, free: 1.934 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.828e-05/0.01256, allocations: 24.02 kB / 256.1 MB, free: 1.91 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.52e-05/0.0126, allocations: 23.95 kB / 256.1 MB, free: 1.887 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.01262, allocations: 11.94 kB / 256.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.29e-05/0.01265, allocations: 49.84 kB / 256.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01265, allocations: 0 / 256.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00017/0.01282, allocations: 75.95 kB / 256.2 MB, free: 1.75 MB / 250.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.0001025/0.01292, allocations: 106.3 kB / 256.3 MB, free: 1.637 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.01324, allocations: 0.5071 MB / 256.8 MB, free: 1.059 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/0.01324, allocations: 4 kB / 256.8 MB, free: 1.055 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.01339, allocations: 290.9 kB / 257.1 MB, free: 0.7305 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005809/0.01397, allocations: 173.8 kB / 257.3 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.01547, allocations: 0.5546 MB / 257.9 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.079e-05/0.01551, allocations: 84.83 kB / 257.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.274e-05/0.01558, allocations: 29.92 kB / 258 MB, free: 15.84 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001759/0.01575, allocations: 131.3 kB / 258.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.01575, allocations: 0 / 258.1 MB, free: 15.71 MB / 266.7 MB Notification: Performance of Templates: time 0.005551/0.0213, allocations: 4.896 MB / 263 MB, free: 10.91 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 -emit_protected -ignoreHideResult -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.5439215060323477]