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.0009876/0.0009876, allocations: 91.5 kB / 21.2 MB, free: 3.371 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.001115/0.001115, allocations: 156.5 kB / 24.55 MB, free: 16 kB / 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.01/1.01, allocations: 177 MB / 204.8 MB, free: 5.57 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 3.296e-06/3.296e-06, allocations: 4 kB / 272.9 MB, free: 1.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.323e-05/2.653e-05, allocations: 6.312 kB / 272.9 MB, free: 1.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002797/0.002823, allocations: 2.396 MB / 275.3 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001155/0.003979, allocations: 0.7282 MB / 276.1 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.004092, allocations: 7.938 kB / 276.1 MB, free: 14.26 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001536/0.004246, allocations: 31.7 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.954e-05/0.004345, allocations: 63.42 kB / 276.2 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.004761, allocations: 107.7 kB / 276.3 MB, free: 14.06 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003005/0.005061, allocations: 270.9 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001774/0.005238, allocations: 79.45 kB / 276.6 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.005526, allocations: 171.6 kB / 276.8 MB, free: 13.55 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.005661, allocations: 95.75 kB / 276.9 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.005697, allocations: 24 kB / 276.9 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.579e-05/0.005753, allocations: 24 kB / 276.9 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.005803, allocations: 55.83 kB / 277 MB, free: 13.35 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.755e-05/0.00589, allocations: 87.75 kB / 277 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002684/0.006159, allocations: 207.2 kB / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.006161, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.006163, allocations: 0 / 277.2 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.18e-06/0.006168, allocations: 0 / 277.2 MB, free: 13.06 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.0007737/0.006942, allocations: 0.6884 MB / 277.9 MB, free: 12.32 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.006978, allocations: 15.98 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.007137, allocations: 56.73 kB / 278 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.007372, allocations: 188.2 kB / 278.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/0.007448, allocations: 79.95 kB / 278.3 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.456e-05/0.007473, allocations: 16.38 kB / 278.3 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003689/0.007842, allocations: 310.8 kB / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.007852, allocations: 192 / 278.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.114e-05/0.007873, allocations: 16.12 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.007885, allocations: 4 kB / 278.6 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.008067, allocations: 184.3 kB / 278.8 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008223/0.008889, allocations: 0.6777 MB / 279.5 MB, free: 10.67 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00028/0.009169, allocations: 248 kB / 279.7 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002011/0.00937, allocations: 203.1 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.009386, allocations: 4 kB / 279.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002847/0.009671, allocations: 375.9 kB / 280.3 MB, free: 9.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.162e-06/0.009672, allocations: 4 kB / 280.3 MB, free: 9.758 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005676/0.01024, allocations: 0.6051 MB / 280.9 MB, free: 9.109 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/0.01032, allocations: 199.9 kB / 281.1 MB, free: 8.871 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.01045, allocations: 234.6 kB / 281.3 MB, free: 8.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.01048, allocations: 41.69 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.21e-05/0.01056, allocations: 183.5 kB / 281.5 MB, free: 8.395 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.01061, allocations: 87.38 kB / 281.6 MB, free: 8.309 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.88e-05/0.01069, allocations: 75.67 kB / 281.7 MB, free: 8.223 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.01081, allocations: 0.504 MB / 282.2 MB, free: 7.707 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.01093, allocations: 141.8 kB / 282.3 MB, free: 7.547 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001423/0.01107, allocations: 257.6 kB / 282.6 MB, free: 7.242 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002203/0.01129, allocations: 329.8 kB / 282.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.01129, allocations: 0 / 282.9 MB, free: 6.867 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0003529/0.01164, allocations: 443.5 kB / 283.3 MB, free: 6.391 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.01169, allocations: 93.09 kB / 283.4 MB, free: 6.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.132e-06/0.0117, allocations: 4.125 kB / 283.4 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.01171, allocations: 4 kB / 283.4 MB, free: 6.273 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.01186, allocations: 43.91 kB / 283.5 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.261e-06/0.01186, allocations: 4 kB / 283.5 MB, free: 6.227 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.57e-05/0.01196, allocations: 39.77 kB / 283.5 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.01197, allocations: 12 kB / 283.5 MB, free: 6.176 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.0001529/0.01213, allocations: 274.4 kB / 283.8 MB, free: 5.883 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.129e-05/0.01217, allocations: 35.91 kB / 283.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.48e-05/0.0122, allocations: 26.64 kB / 283.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.0122, allocations: 0 / 283.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01221, allocations: 0 / 283.9 MB, free: 5.82 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/0.01221, allocations: 3.938 kB / 283.9 MB, free: 5.816 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007324/0.01295, allocations: 0.851 MB / 284.7 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.01295, allocations: 4 kB / 284.7 MB, free: 4.891 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.792e-05/0.01302, allocations: 31.95 kB / 284.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.01302, allocations: 0 / 284.8 MB, free: 4.859 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.75e-05/0.01304, allocations: 11.98 kB / 284.8 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.01304, allocations: 7.938 kB / 284.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.01304, allocations: 3.984 kB / 284.8 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004399/0.01348, allocations: 0.6387 MB / 285.4 MB, free: 4.148 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.699e-05/0.01351, allocations: 27.72 kB / 285.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.791e-05/0.01355, allocations: 16 kB / 285.5 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.01365, allocations: 23.98 kB / 285.5 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.453e-05/0.01372, allocations: 19.95 kB / 285.5 MB, free: 4.062 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.01374, allocations: 8 kB / 285.5 MB, free: 4.055 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.19e-05/0.01381, allocations: 168.2 kB / 285.7 MB, free: 3.891 MB / 266.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.01381, allocations: 4 kB / 285.7 MB, free: 3.887 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002274/0.01404, allocations: 71.89 kB / 285.7 MB, free: 3.816 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.0001113/0.01415, allocations: 125.2 kB / 285.9 MB, free: 3.684 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004121/0.01456, allocations: 0.5529 MB / 286.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01456, allocations: 0 / 286.4 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/0.01477, allocations: 337.7 kB / 286.8 MB, free: 2.691 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004218/0.01519, allocations: 165.7 kB / 286.9 MB, free: 2.543 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009806/0.01617, allocations: 0.5644 MB / 287.5 MB, free: 1.934 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.026e-05/0.01622, allocations: 80.83 kB / 287.6 MB, free: 1.836 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001041/0.01633, allocations: 45.91 kB / 287.6 MB, free: 1.793 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.01638, allocations: 20.5 kB / 287.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01638, allocations: 0 / 287.6 MB, free: 1.773 MB / 266.7 MB Notification: Performance of Templates: time 0.006625/0.023, allocations: 4.766 MB / 292.4 MB, free: 13.09 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.808240537997335]