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.001345/0.001345, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.001478/0.001478, allocations: 213.6 kB / 23.73 MB, free: 4.164 MB / 14.72 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.508/1.508, allocations: 230.5 MB / 257.4 MB, free: 7.789 MB / 206.1 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 0.002096/0.002096, allocations: 59.89 kB / 378.2 MB, free: 2.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2982, allocations: 53.41 MB / 431.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.006928/0.3051, allocations: 2.275 MB / 433.9 MB, free: 4.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002521/0.3077, allocations: 0.6973 MB / 434.6 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.3078, allocations: 7.938 kB / 434.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002272/0.3081, allocations: 39.59 kB / 434.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3083, allocations: 47.5 kB / 434.7 MB, free: 3.441 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006231/0.3089, allocations: 107.8 kB / 434.8 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005706/0.3095, allocations: 263.1 kB / 435.1 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003248/0.3098, allocations: 78.08 kB / 435.1 MB, free: 3 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.3102, allocations: 123.7 kB / 435.3 MB, free: 2.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.3105, allocations: 107.5 kB / 435.4 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.364e-05/0.3105, allocations: 20 kB / 435.4 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001186/0.3107, allocations: 27.98 kB / 435.4 MB, free: 2.727 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000109/0.3108, allocations: 51.84 kB / 435.5 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000202/0.311, allocations: 103.5 kB / 435.6 MB, free: 2.574 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005828/0.3115, allocations: 286.6 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.3116, allocations: 0 / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3116, allocations: 3.938 kB / 435.9 MB, free: 2.293 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.684e-06/0.3116, allocations: 0 / 435.9 MB, free: 2.293 MB / 334.1 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.001712/0.3133, allocations: 0.6079 MB / 436.5 MB, free: 1.637 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.3133, allocations: 15.98 kB / 436.5 MB, free: 1.621 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002925/0.3136, allocations: 40.75 kB / 436.5 MB, free: 1.582 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006106/0.3142, allocations: 179 kB / 436.7 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.3144, allocations: 83.75 kB / 436.8 MB, free: 1.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.95e-05/0.3145, allocations: 16.38 kB / 436.8 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001097/0.3156, allocations: 353.4 kB / 437.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.226e-05/0.3156, allocations: 3.938 kB / 437.1 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.806e-05/0.3157, allocations: 8 kB / 437.1 MB, free: 0.8906 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.3157, allocations: 4 kB / 437.2 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001075/0.3167, allocations: 279.7 kB / 437.4 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002323/0.3191, allocations: 0.6353 MB / 438.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001165/0.3202, allocations: 338.1 kB / 438.4 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008537/0.3211, allocations: 256.4 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.98e-05/0.3211, allocations: 4 kB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001092/0.3222, allocations: 421.3 kB / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 3.066e-06/0.3222, allocations: 0 / 439.1 MB, free: 14.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.002541/0.3248, allocations: 0.7269 MB / 439.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002337/0.325, allocations: 199.9 kB / 440 MB, free: 13.83 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003668/0.3254, allocations: 182.4 kB / 440.2 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.593e-05/0.3254, allocations: 41.69 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.3256, allocations: 132.8 kB / 440.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.3258, allocations: 87.38 kB / 440.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000211/0.326, allocations: 73.95 kB / 440.5 MB, free: 13.3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002583/0.3262, allocations: 334.8 kB / 440.8 MB, free: 12.96 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005628/0.3268, allocations: 201.7 kB / 441 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006709/0.3275, allocations: 282.1 kB / 441.3 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.3287, allocations: 425.4 kB / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/0.3287, allocations: 0 / 441.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001536/0.3302, allocations: 0.5302 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.3304, allocations: 97.09 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.614e-05/0.3304, allocations: 4 kB / 442.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/0.3304, allocations: 7.922 kB / 442.3 MB, free: 11.26 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003433/0.3308, allocations: 39.86 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/0.3308, allocations: 4 kB / 442.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003733/0.3311, allocations: 39.77 kB / 442.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.3312, allocations: 12 kB / 442.4 MB, free: 11.17 MB / 350.1 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.0004754/0.3317, allocations: 239.7 kB / 442.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.747e-05/0.3318, allocations: 27.86 kB / 442.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/0.3318, allocations: 26.64 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.3319, allocations: 3.938 kB / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.3319, allocations: 0 / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.3319, allocations: 0 / 442.7 MB, free: 10.86 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.3346, allocations: 0.8997 MB / 443.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.3346, allocations: 192 / 443.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002161/0.3348, allocations: 27.91 kB / 443.6 MB, free: 9.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.376e-05/0.3348, allocations: 11.88 kB / 443.7 MB, free: 9.852 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-05/0.3349, allocations: 15.97 kB / 443.7 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.3349, allocations: 4.031 kB / 443.7 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.995e-06/0.3349, allocations: 4 kB / 443.7 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001962/0.3369, allocations: 0.6746 MB / 444.4 MB, free: 9.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.765e-05/0.3369, allocations: 19.84 kB / 444.4 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.337, allocations: 23.92 kB / 444.4 MB, free: 9.066 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003991/0.3374, allocations: 19.98 kB / 444.4 MB, free: 9.047 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001414/0.3376, allocations: 31.86 kB / 444.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.103e-05/0.3376, allocations: 11.98 kB / 444.5 MB, free: 9.004 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002202/0.3379, allocations: 132.3 kB / 444.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3379, allocations: 0 / 444.6 MB, free: 8.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006793/0.3385, allocations: 75.94 kB / 444.7 MB, free: 8.801 MB / 350.1 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.000304/0.3388, allocations: 129.3 kB / 444.8 MB, free: 8.668 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001848/0.3407, allocations: 0.6611 MB / 445.5 MB, free: 7.941 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.3407, allocations: 4 kB / 445.5 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000975/0.3417, allocations: 370.2 kB / 445.8 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.3429, allocations: 137 kB / 446 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001904/0.3448, allocations: 0.5957 MB / 446.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.345, allocations: 137.6 kB / 446.7 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0003017/0.3453, allocations: 53.88 kB / 446.7 MB, free: 6.57 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.3455, allocations: 31.42 kB / 446.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3455, allocations: 0 / 446.8 MB, free: 6.539 MB / 350.1 MB Notification: Performance of Templates: time 0.01793/0.3634, allocations: 4.711 MB / 451.5 MB, free: 1.906 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] 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.749445289373398]