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.0009916/0.0009916, allocations: 76.41 kB / 22.21 MB, free: 2.285 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.00115/0.00115, allocations: 169.3 kB / 25.61 MB, free: 8.883 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 0.9597/0.9597, allocations: 177.1 MB / 206.1 MB, free: 4.496 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 2.004e-06/2.004e-06, allocations: 0 / 274.2 MB, free: 4.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.652e-05/3.852e-05, allocations: 2.312 kB / 274.2 MB, free: 4.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003628/0.003666, allocations: 2.373 MB / 276.6 MB, free: 2.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.005002, allocations: 0.7156 MB / 277.3 MB, free: 1.328 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001368/0.005139, allocations: 5.875 kB / 277.3 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.00531, allocations: 39.64 kB / 277.3 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.005417, allocations: 63.42 kB / 277.4 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.005866, allocations: 96.27 kB / 277.5 MB, free: 1.129 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003341/0.0062, allocations: 282.9 kB / 277.8 MB, free: 0.8516 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.006389, allocations: 71.66 kB / 277.8 MB, free: 0.7773 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003136/0.006703, allocations: 175.5 kB / 278 MB, free: 0.6055 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.006851, allocations: 91.77 kB / 278.1 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.565e-05/0.006887, allocations: 20 kB / 278.1 MB, free: 0.4961 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.345e-05/0.006951, allocations: 24 kB / 278.1 MB, free: 484 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 6.143e-05/0.007012, allocations: 55.81 kB / 278.2 MB, free: 428 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.007123, allocations: 87.75 kB / 278.3 MB, free: 340 kB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.007469, allocations: 215.2 kB / 278.5 MB, free: 124 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.007474, allocations: 0 / 278.5 MB, free: 124 kB / 250.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.007475, allocations: 0 / 278.5 MB, free: 124 kB / 250.7 MB Notification: Performance of Transformations before backend: time 6.672e-06/0.007482, allocations: 0 / 278.5 MB, free: 124 kB / 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.0008688/0.008351, allocations: 0.6922 MB / 279.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.008388, allocations: 8.031 kB / 279.2 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.008583, allocations: 52.78 kB / 279.2 MB, free: 15.32 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.008852, allocations: 192.9 kB / 279.4 MB, free: 15.1 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.533e-05/0.008937, allocations: 71.97 kB / 279.5 MB, free: 15.02 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.797e-05/0.008965, allocations: 24.36 kB / 279.5 MB, free: 15 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.009361, allocations: 270.9 kB / 279.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.009375, allocations: 192 / 279.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.022e-05/0.009395, allocations: 8.125 kB / 279.8 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.009404, allocations: 4 kB / 279.8 MB, free: 14.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.009559, allocations: 148.8 kB / 279.9 MB, free: 14.54 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000851/0.01041, allocations: 0.6548 MB / 280.6 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000247/0.01066, allocations: 207.2 kB / 280.8 MB, free: 13.61 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.01082, allocations: 173.2 kB / 281 MB, free: 13.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.01084, allocations: 7.938 kB / 281 MB, free: 13.42 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002883/0.01113, allocations: 344.7 kB / 281.3 MB, free: 13.03 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 2.925e-06/0.01113, allocations: 3.984 kB / 281.3 MB, free: 13.02 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005792/0.01171, allocations: 0.5153 MB / 281.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000121/0.01183, allocations: 203.8 kB / 282 MB, free: 12.22 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.01199, allocations: 235.1 kB / 282.3 MB, free: 11.98 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.01202, allocations: 45.69 kB / 282.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.837e-05/0.01212, allocations: 179.6 kB / 282.5 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.957e-05/0.01218, allocations: 91.28 kB / 282.6 MB, free: 11.66 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000355/0.01253, allocations: 75.64 kB / 282.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001371/0.01267, allocations: 0.5079 MB / 283.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.01275, allocations: 121.8 kB / 283.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001343/0.01289, allocations: 245.6 kB / 283.5 MB, free: 10.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001908/0.01308, allocations: 297.1 kB / 283.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.01308, allocations: 4 kB / 283.8 MB, free: 10.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003236/0.01341, allocations: 411.4 kB / 284.2 MB, free: 9.824 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.775e-05/0.01346, allocations: 93.09 kB / 284.3 MB, free: 9.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.01347, allocations: 4 kB / 284.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01348, allocations: 0 / 284.3 MB, free: 9.711 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.01361, allocations: 52 kB / 284.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.01362, allocations: 0 / 284.4 MB, free: 9.66 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.01371, allocations: 31.88 kB / 284.4 MB, free: 9.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01373, allocations: 19.88 kB / 284.4 MB, free: 9.609 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.0001656/0.01389, allocations: 262.5 kB / 284.7 MB, free: 9.332 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.347e-05/0.01394, allocations: 35.86 kB / 284.7 MB, free: 9.297 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.768e-05/0.01398, allocations: 30.64 kB / 284.7 MB, free: 9.266 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.01398, allocations: 4 kB / 284.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.01398, allocations: 0 / 284.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.01399, allocations: 0 / 284.7 MB, free: 9.262 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006799/0.01467, allocations: 0.7773 MB / 285.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.01467, allocations: 0 / 285.5 MB, free: 8.422 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.015e-05/0.01475, allocations: 27.92 kB / 285.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.01475, allocations: 7.938 kB / 285.5 MB, free: 8.387 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.01477, allocations: 12.03 kB / 285.6 MB, free: 8.375 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.01477, allocations: 3.984 kB / 285.6 MB, free: 8.371 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.01478, allocations: 4 kB / 285.6 MB, free: 8.367 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004321/0.01521, allocations: 0.5957 MB / 286.2 MB, free: 7.723 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.933e-05/0.01524, allocations: 27.8 kB / 286.2 MB, free: 7.695 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.01528, allocations: 19.92 kB / 286.2 MB, free: 7.676 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.01539, allocations: 12 kB / 286.2 MB, free: 7.664 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.055e-05/0.01545, allocations: 23.95 kB / 286.2 MB, free: 7.641 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01546, allocations: 12 kB / 286.3 MB, free: 7.629 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.93e-05/0.01553, allocations: 160.2 kB / 286.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01553, allocations: 0 / 286.4 MB, free: 7.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002522/0.01579, allocations: 71.95 kB / 286.5 MB, free: 7.402 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.0001449/0.01593, allocations: 133.2 kB / 286.6 MB, free: 7.262 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000381/0.01631, allocations: 0.4944 MB / 287.1 MB, free: 6.695 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01631, allocations: 4.062 kB / 287.1 MB, free: 6.691 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.0165, allocations: 302.5 kB / 287.4 MB, free: 6.355 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.01696, allocations: 153.1 kB / 287.6 MB, free: 6.215 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009202/0.01788, allocations: 0.5368 MB / 288.1 MB, free: 5.633 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.068e-05/0.01794, allocations: 80.83 kB / 288.2 MB, free: 5.535 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.01804, allocations: 21.94 kB / 288.2 MB, free: 5.516 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002324/0.01827, allocations: 166.1 kB / 288.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01827, allocations: 0 / 288.4 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Templates: time 0.007637/0.02591, allocations: 4.932 MB / 293.3 MB, free: 0.5273 MB / 266.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 -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.8601916851475835]