Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008938/0.0008938, allocations: 80.8 kB / 21.5 MB, free: 2.996 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 174 kB / 24.92 MB, free: 9.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.036/1.036, allocations: 177.1 MB / 205.3 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 273.5 MB, free: 1.234 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.438e-05/2.594e-05, allocations: 2.312 kB / 273.5 MB, free: 1.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004141/0.004167, allocations: 2.434 MB / 275.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.0059, allocations: 0.7397 MB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.006046, allocations: 7.938 kB / 276.7 MB, free: 14.03 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001723/0.006218, allocations: 31.7 kB / 276.7 MB, free: 14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001436/0.006362, allocations: 51.45 kB / 276.8 MB, free: 13.95 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000505/0.006867, allocations: 107.7 kB / 276.9 MB, free: 13.84 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.007152, allocations: 274.9 kB / 277.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000163/0.007315, allocations: 82.22 kB / 277.2 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002427/0.007558, allocations: 175.6 kB / 277.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.007676, allocations: 87.77 kB / 277.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.039e-05/0.007706, allocations: 24 kB / 277.5 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.964e-05/0.007766, allocations: 24 kB / 277.5 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.439e-05/0.00781, allocations: 55.77 kB / 277.6 MB, free: 13.13 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.007883, allocations: 83.81 kB / 277.7 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.008115, allocations: 215.2 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.008119, allocations: 0 / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.008121, allocations: 4 kB / 277.9 MB, free: 12.83 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.008125, allocations: 0 / 277.9 MB, free: 12.83 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.0005721/0.008697, allocations: 0.5675 MB / 278.4 MB, free: 12.22 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.852e-05/0.008726, allocations: 8.031 kB / 278.5 MB, free: 12.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.00885, allocations: 48.89 kB / 278.5 MB, free: 12.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.009018, allocations: 165.4 kB / 278.7 MB, free: 11.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.009068, allocations: 75.75 kB / 278.7 MB, free: 11.89 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.947e-05/0.009087, allocations: 20.38 kB / 278.8 MB, free: 11.88 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.009338, allocations: 274.8 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.009345, allocations: 4.188 kB / 279 MB, free: 11.58 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.00936, allocations: 8.125 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.009366, allocations: 4 kB / 279 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.00947, allocations: 144.8 kB / 279.2 MB, free: 11.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005827/0.01005, allocations: 0.5066 MB / 279.7 MB, free: 10.88 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001849/0.01024, allocations: 189 kB / 279.9 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.01036, allocations: 163.4 kB / 280 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.426e-05/0.01038, allocations: 4 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.01058, allocations: 337.5 kB / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.072e-06/0.01058, allocations: 0 / 280.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0002976/0.01088, allocations: 431.7 kB / 280.8 MB, free: 9.648 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.01095, allocations: 199.9 kB / 281 MB, free: 9.41 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.165e-05/0.01104, allocations: 183.3 kB / 281.2 MB, free: 9.219 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.01106, allocations: 33.7 kB / 281.2 MB, free: 9.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.441e-05/0.01111, allocations: 136.8 kB / 281.3 MB, free: 9.043 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.039e-05/0.01115, allocations: 83.34 kB / 281.4 MB, free: 8.961 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.034e-05/0.01121, allocations: 65.98 kB / 281.5 MB, free: 8.887 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.01129, allocations: 338.7 kB / 281.8 MB, free: 8.547 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.357e-05/0.01136, allocations: 121.8 kB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001047/0.01146, allocations: 213.8 kB / 282.1 MB, free: 8.156 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.01162, allocations: 284.3 kB / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.01162, allocations: 0 / 282.4 MB, free: 7.828 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000222/0.01185, allocations: 366.5 kB / 282.8 MB, free: 7.43 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.01189, allocations: 89.09 kB / 282.9 MB, free: 7.324 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.0119, allocations: 4 kB / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.01191, allocations: 0 / 282.9 MB, free: 7.32 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000152/0.01206, allocations: 60 kB / 282.9 MB, free: 7.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.01207, allocations: 4 kB / 282.9 MB, free: 7.258 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.552e-05/0.01214, allocations: 35.77 kB / 283 MB, free: 7.223 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.468e-05/0.01216, allocations: 12 kB / 283 MB, free: 7.211 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.0001301/0.01229, allocations: 226.5 kB / 283.2 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.251e-05/0.01232, allocations: 35.97 kB / 283.2 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.01235, allocations: 22.66 kB / 283.2 MB, free: 6.906 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.01235, allocations: 4 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.01235, allocations: 0 / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.01236, allocations: 3.984 kB / 283.3 MB, free: 6.898 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004668/0.01282, allocations: 0.5683 MB / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01283, allocations: 0 / 283.8 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.491e-05/0.0129, allocations: 31.92 kB / 283.9 MB, free: 6.246 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.003e-06/0.0129, allocations: 4.031 kB / 283.9 MB, free: 6.242 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.817e-05/0.01292, allocations: 15.92 kB / 283.9 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/0.01292, allocations: 4 kB / 283.9 MB, free: 6.223 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.01293, allocations: 4 kB / 283.9 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.01321, allocations: 439 kB / 284.3 MB, free: 5.746 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.227e-05/0.01323, allocations: 27.78 kB / 284.3 MB, free: 5.719 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.288e-05/0.01327, allocations: 12 kB / 284.3 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.186e-05/0.01336, allocations: 19.98 kB / 284.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.45e-05/0.01341, allocations: 23.97 kB / 284.4 MB, free: 5.664 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.01343, allocations: 19.86 kB / 284.4 MB, free: 5.645 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.318e-05/0.01346, allocations: 41.88 kB / 284.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01346, allocations: 0 / 284.5 MB, free: 5.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001734/0.01364, allocations: 79.89 kB / 284.5 MB, free: 5.523 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.0001186/0.01376, allocations: 106.4 kB / 284.6 MB, free: 5.41 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003155/0.01407, allocations: 0.5009 MB / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.01407, allocations: 0 / 285.1 MB, free: 4.84 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001642/0.01424, allocations: 291.7 kB / 285.4 MB, free: 4.516 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003267/0.01456, allocations: 140 kB / 285.6 MB, free: 4.391 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007271/0.01529, allocations: 0.5391 MB / 286.1 MB, free: 3.809 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.577e-05/0.01534, allocations: 80.83 kB / 286.2 MB, free: 3.711 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.618e-05/0.0154, allocations: 29.92 kB / 286.2 MB, free: 3.68 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001872/0.01559, allocations: 131.3 kB / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of SimCode: time 9.11e-07/0.01559, allocations: 0 / 286.3 MB, free: 3.551 MB / 266.7 MB Notification: Performance of Templates: time 0.005891/0.02148, allocations: 4.797 MB / 291.1 MB, free: 14.87 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.830124811269343]