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.0008627/0.0008627, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0008997/0.0008997, allocations: 160.9 kB / 24.91 MB, free: 8.719 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 0.9604/0.9604, allocations: 177 MB / 205.2 MB, free: 5.031 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.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.307e-05/2.452e-05, allocations: 9.266 kB / 273.4 MB, free: 1.039 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002961/0.002985, allocations: 2.386 MB / 275.8 MB, free: 14.63 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009231/0.003908, allocations: 0.7435 MB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.263e-05/0.003991, allocations: 7.938 kB / 276.5 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001248/0.004116, allocations: 27.72 kB / 276.6 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 7.246e-05/0.004188, allocations: 55.5 kB / 276.6 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002933/0.004481, allocations: 111.6 kB / 276.7 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002143/0.004696, allocations: 270.9 kB / 277 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004838, allocations: 86.06 kB / 277.1 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002247/0.005063, allocations: 171.6 kB / 277.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.005175, allocations: 87.77 kB / 277.3 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.973e-05/0.005205, allocations: 24 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.506e-05/0.00526, allocations: 28 kB / 277.4 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.743e-05/0.005307, allocations: 59.75 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.03e-05/0.005378, allocations: 83.83 kB / 277.5 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.005587, allocations: 211.2 kB / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.00559, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.00559, allocations: 0 / 277.7 MB, free: 12.68 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.005594, allocations: 0 / 277.7 MB, free: 12.68 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.0005654/0.006159, allocations: 0.5714 MB / 278.3 MB, free: 12.07 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.006193, allocations: 15.98 kB / 278.3 MB, free: 12.05 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.006315, allocations: 44.89 kB / 278.4 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.006488, allocations: 169.4 kB / 278.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.702e-05/0.006545, allocations: 71.95 kB / 278.6 MB, free: 11.73 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.416e-05/0.00657, allocations: 24.38 kB / 278.6 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.00684, allocations: 270.9 kB / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.006848, allocations: 192 / 278.9 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.006865, allocations: 20.06 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.006871, allocations: 4 kB / 278.9 MB, free: 11.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001121/0.006983, allocations: 132.9 kB / 279 MB, free: 11.26 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006283/0.007611, allocations: 0.5181 MB / 279.6 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001958/0.007807, allocations: 185 kB / 279.7 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001283/0.007936, allocations: 160.4 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.7e-05/0.007953, allocations: 4 kB / 279.9 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002279/0.00818, allocations: 345.4 kB / 280.2 MB, free: 9.941 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.402e-06/0.008182, allocations: 4 kB / 280.2 MB, free: 9.938 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003182/0.0085, allocations: 415.8 kB / 280.6 MB, free: 9.488 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.226e-05/0.008572, allocations: 207.8 kB / 280.8 MB, free: 9.242 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.391e-05/0.008666, allocations: 183.3 kB / 281 MB, free: 9.051 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.474e-05/0.008691, allocations: 37.69 kB / 281.1 MB, free: 9.008 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.088e-05/0.008742, allocations: 124.8 kB / 281.2 MB, free: 8.883 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.008784, allocations: 83.34 kB / 281.3 MB, free: 8.801 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.758e-05/0.008851, allocations: 69.97 kB / 281.3 MB, free: 8.723 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.157e-05/0.008933, allocations: 338.7 kB / 281.7 MB, free: 8.383 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.037e-05/0.009003, allocations: 125.8 kB / 281.8 MB, free: 8.238 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001058/0.009109, allocations: 213.8 kB / 282 MB, free: 7.984 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001685/0.009278, allocations: 292.7 kB / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.00928, allocations: 0 / 282.3 MB, free: 7.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002243/0.009504, allocations: 347.6 kB / 282.6 MB, free: 7.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.009554, allocations: 97.09 kB / 282.7 MB, free: 7.156 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.00956, allocations: 4 kB / 282.7 MB, free: 7.152 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.009573, allocations: 8.125 kB / 282.7 MB, free: 7.145 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001184/0.009691, allocations: 47.91 kB / 282.8 MB, free: 7.098 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.009695, allocations: 4 kB / 282.8 MB, free: 7.094 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.009778, allocations: 35.83 kB / 282.8 MB, free: 7.059 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.009789, allocations: 4 kB / 282.8 MB, free: 7.055 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.0001334/0.009922, allocations: 226.5 kB / 283 MB, free: 6.809 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.009958, allocations: 35.91 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.925e-05/0.009987, allocations: 22.66 kB / 283.1 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.009989, allocations: 3.938 kB / 283.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.009992, allocations: 0 / 283.1 MB, free: 6.746 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.009996, allocations: 3.984 kB / 283.1 MB, free: 6.742 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004755/0.01047, allocations: 0.5723 MB / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.01047, allocations: 0 / 283.7 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.98e-05/0.01053, allocations: 24.02 kB / 283.7 MB, free: 6.094 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01054, allocations: 4 kB / 283.7 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.01055, allocations: 11.94 kB / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01055, allocations: 0 / 283.7 MB, free: 6.078 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01056, allocations: 7.922 kB / 283.7 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.01082, allocations: 454.9 kB / 284.2 MB, free: 5.582 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.01084, allocations: 23.8 kB / 284.2 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.419e-05/0.01087, allocations: 15.98 kB / 284.2 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.776e-05/0.01097, allocations: 23.98 kB / 284.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.01102, allocations: 15.97 kB / 284.2 MB, free: 5.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.18e-05/0.01104, allocations: 8 kB / 284.2 MB, free: 5.496 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.537e-05/0.01107, allocations: 45.88 kB / 284.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01107, allocations: 0 / 284.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001848/0.01126, allocations: 75.83 kB / 284.4 MB, free: 5.375 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.0001128/0.01137, allocations: 114.3 kB / 284.5 MB, free: 5.254 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002947/0.01167, allocations: 0.4943 MB / 285 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.01167, allocations: 0 / 285 MB, free: 4.688 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.01182, allocations: 287.7 kB / 285.3 MB, free: 4.367 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003442/0.01216, allocations: 149 kB / 285.4 MB, free: 4.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007377/0.0129, allocations: 0.5392 MB / 285.9 MB, free: 3.652 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.61e-05/0.01295, allocations: 84.81 kB / 286 MB, free: 3.551 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.153e-05/0.01302, allocations: 25.94 kB / 286 MB, free: 3.523 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001864/0.0132, allocations: 135.3 kB / 286.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of SimCode: time 7.41e-07/0.01321, allocations: 0 / 286.2 MB, free: 3.391 MB / 266.7 MB Notification: Performance of Templates: time 0.09632/0.1095, allocations: 4.723 MB / 290.9 MB, free: 26.01 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 -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.5885479152202606]