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.00125/0.00125, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001167/0.001167, allocations: 171.9 kB / 24.82 MB, free: 9.273 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.038/1.038, allocations: 177 MB / 205.1 MB, free: 5.469 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.723e-06/1.723e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.316e-05/2.489e-05, allocations: 10.31 kB / 273.3 MB, free: 1.215 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002906/0.002931, allocations: 2.384 MB / 275.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00139/0.00432, allocations: 0.7243 MB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.004443, allocations: 4 kB / 276.4 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001592/0.004602, allocations: 27.66 kB / 276.5 MB, free: 14.05 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.004711, allocations: 63.48 kB / 276.5 MB, free: 13.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004186/0.005129, allocations: 111.6 kB / 276.6 MB, free: 13.88 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003106/0.00544, allocations: 266.9 kB / 276.9 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.005648, allocations: 83.48 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.00597, allocations: 167.6 kB / 277.2 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.006114, allocations: 87.77 kB / 277.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.65e-05/0.006151, allocations: 24 kB / 277.3 MB, free: 13.26 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.919e-05/0.00621, allocations: 31.98 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.03e-05/0.00626, allocations: 63.75 kB / 277.4 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.437e-05/0.006335, allocations: 83.77 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002759/0.006611, allocations: 207.3 kB / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.006614, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.006615, allocations: 0 / 277.6 MB, free: 12.88 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.769e-06/0.00662, allocations: 0 / 277.6 MB, free: 12.88 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.0007199/0.00734, allocations: 0.7 MB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.007385, allocations: 15.97 kB / 278.4 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.007546, allocations: 52.75 kB / 278.4 MB, free: 12.06 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.007766, allocations: 184.3 kB / 278.6 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.889e-05/0.007845, allocations: 79.95 kB / 278.7 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.214e-05/0.007867, allocations: 16.38 kB / 278.7 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.008194, allocations: 270.9 kB / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.008203, allocations: 192 / 278.9 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.843e-05/0.008221, allocations: 16.12 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.008228, allocations: 4 kB / 279 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001247/0.008352, allocations: 144.8 kB / 279.1 MB, free: 11.29 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000775/0.009128, allocations: 0.6509 MB / 279.8 MB, free: 10.59 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.009362, allocations: 207.2 kB / 280 MB, free: 10.36 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.009505, allocations: 167.2 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.009523, allocations: 7.938 kB / 280.1 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002435/0.009766, allocations: 351.8 kB / 280.5 MB, free: 9.781 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.963e-06/0.009768, allocations: 4 kB / 280.5 MB, free: 9.777 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0004653/0.01023, allocations: 0.5231 MB / 281 MB, free: 9.211 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.973e-05/0.01031, allocations: 199.8 kB / 281.2 MB, free: 8.973 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001358/0.01045, allocations: 238.5 kB / 281.4 MB, free: 8.723 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.517e-05/0.01047, allocations: 37.7 kB / 281.5 MB, free: 8.68 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.404e-05/0.01056, allocations: 179.6 kB / 281.6 MB, free: 8.5 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.064e-05/0.01061, allocations: 91.33 kB / 281.7 MB, free: 8.41 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.745e-05/0.01069, allocations: 79.64 kB / 281.8 MB, free: 8.32 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001263/0.01081, allocations: 0.5001 MB / 282.3 MB, free: 7.809 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.098e-05/0.01089, allocations: 133.8 kB / 282.4 MB, free: 7.656 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00012/0.01101, allocations: 233.6 kB / 282.7 MB, free: 7.375 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.01119, allocations: 309.7 kB / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.0112, allocations: 0 / 283 MB, free: 7.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000306/0.0115, allocations: 407.5 kB / 283.4 MB, free: 6.578 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.01156, allocations: 97.09 kB / 283.5 MB, free: 6.465 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.01156, allocations: 4.125 kB / 283.5 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01158, allocations: 4 kB / 283.5 MB, free: 6.457 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.0117, allocations: 43.91 kB / 283.5 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.98e-06/0.01171, allocations: 4 kB / 283.5 MB, free: 6.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.748e-05/0.01179, allocations: 27.84 kB / 283.5 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.01181, allocations: 15.94 kB / 283.6 MB, free: 6.367 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.0001596/0.01197, allocations: 278.4 kB / 283.8 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.01201, allocations: 39.84 kB / 283.9 MB, free: 6.031 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.547e-05/0.01205, allocations: 22.66 kB / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.01205, allocations: 0 / 283.9 MB, free: 6.008 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.01206, allocations: 3.984 kB / 283.9 MB, free: 6.004 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.01206, allocations: 3.938 kB / 283.9 MB, free: 6 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006399/0.0127, allocations: 0.7727 MB / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.0127, allocations: 0 / 284.7 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-05/0.01276, allocations: 28.02 kB / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.01277, allocations: 0 / 284.7 MB, free: 5.141 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.01278, allocations: 8 kB / 284.7 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.01279, allocations: 11.92 kB / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.01279, allocations: 0 / 284.7 MB, free: 5.121 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003839/0.01317, allocations: 0.5918 MB / 285.3 MB, free: 4.48 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.618e-05/0.0132, allocations: 27.78 kB / 285.3 MB, free: 4.453 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.01324, allocations: 19.94 kB / 285.4 MB, free: 4.434 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.902e-05/0.01334, allocations: 19.98 kB / 285.4 MB, free: 4.414 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.969e-05/0.01338, allocations: 23.95 kB / 285.4 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.0134, allocations: 16 kB / 285.4 MB, free: 4.375 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.986e-05/0.01346, allocations: 156.2 kB / 285.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01346, allocations: 0 / 285.6 MB, free: 4.223 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002229/0.01369, allocations: 75.95 kB / 285.6 MB, free: 4.148 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.000117/0.0138, allocations: 133.1 kB / 285.8 MB, free: 4.008 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.01412, allocations: 0.5009 MB / 286.3 MB, free: 3.438 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01413, allocations: 4 kB / 286.3 MB, free: 3.434 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.0143, allocations: 298.5 kB / 286.6 MB, free: 3.102 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003983/0.0147, allocations: 159.3 kB / 286.7 MB, free: 2.957 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008066/0.01551, allocations: 0.5332 MB / 287.3 MB, free: 2.379 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.097e-05/0.01556, allocations: 80.83 kB / 287.3 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 8.731e-05/0.01565, allocations: 21.95 kB / 287.4 MB, free: 2.262 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002021/0.01585, allocations: 162.1 kB / 287.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01585, allocations: 0 / 287.5 MB, free: 2.102 MB / 266.7 MB Notification: Performance of Templates: time 0.006919/0.02277, allocations: 4.839 MB / 292.4 MB, free: 13.36 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","",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.685025130864233]