Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00093/0.00093, allocations: 85.17 kB / 21.5 MB, free: 2.988 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 140.2 kB / 24.89 MB, free: 9.215 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9864/0.9864, allocations: 173.4 MB / 201.5 MB, free: 9.211 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 268.5 MB, free: 6.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.211e-05/1.35e-05, allocations: 2.312 kB / 268.5 MB, free: 6.16 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00269/0.002704, allocations: 2.398 MB / 270.9 MB, free: 3.746 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008472/0.003551, allocations: 0.6735 MB / 271.6 MB, free: 3.066 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.864e-05/0.00364, allocations: 7.938 kB / 271.6 MB, free: 3.059 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.003761, allocations: 27.72 kB / 271.6 MB, free: 3.031 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.228e-05/0.003834, allocations: 59.42 kB / 271.7 MB, free: 2.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.004093, allocations: 95.64 kB / 271.8 MB, free: 2.879 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.004311, allocations: 270.9 kB / 272 MB, free: 2.613 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.00445, allocations: 90.25 kB / 272.1 MB, free: 2.523 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.004636, allocations: 163.7 kB / 272.3 MB, free: 2.363 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000112/0.004748, allocations: 87.77 kB / 272.4 MB, free: 2.277 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.004777, allocations: 20 kB / 272.4 MB, free: 2.258 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.601e-05/0.004803, allocations: 24 kB / 272.4 MB, free: 2.234 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.184e-05/0.004845, allocations: 59.75 kB / 272.5 MB, free: 2.176 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.022e-05/0.004915, allocations: 83.77 kB / 272.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.005139, allocations: 199.3 kB / 272.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.00514, allocations: 0 / 272.8 MB, free: 1.898 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.005141, allocations: 8 kB / 272.8 MB, free: 1.891 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.266e-06/0.005144, allocations: 0 / 272.8 MB, free: 1.891 MB / 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.0005475/0.005692, allocations: 0.5636 MB / 273.3 MB, free: 1.281 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.58e-05/0.005718, allocations: 8.922 kB / 273.3 MB, free: 1.273 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.488e-05/0.005772, allocations: 40.91 kB / 273.4 MB, free: 1.234 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005928, allocations: 154.1 kB / 273.5 MB, free: 1.055 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.216e-05/0.00598, allocations: 79.95 kB / 273.6 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.006001, allocations: 20.38 kB / 273.6 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/0.006275, allocations: 278.6 kB / 273.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.006283, allocations: 192 / 273.9 MB, free: 0.6445 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.572e-05/0.006299, allocations: 16.12 kB / 273.9 MB, free: 0.6289 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.006305, allocations: 4 kB / 273.9 MB, free: 0.625 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.006413, allocations: 136.8 kB / 274 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.0071, allocations: 0.5066 MB / 274.6 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000184/0.007284, allocations: 204 kB / 274.8 MB, free: 15.73 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001284/0.007413, allocations: 163.6 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.007426, allocations: 4 kB / 274.9 MB, free: 15.55 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002777/0.007704, allocations: 337.3 kB / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=31): time 1.383e-06/0.007705, allocations: 0 / 275.2 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=31): time 0.0003225/0.008028, allocations: 423.7 kB / 275.7 MB, free: 14.71 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.008101, allocations: 203.8 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.008191, allocations: 182.7 kB / 276 MB, free: 14.28 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.008213, allocations: 37.7 kB / 276.1 MB, free: 14.24 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.868e-05/0.008272, allocations: 124.8 kB / 276.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.269e-05/0.008315, allocations: 83.38 kB / 276.3 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.466e-05/0.008379, allocations: 69.98 kB / 276.3 MB, free: 13.95 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.465e-05/0.008464, allocations: 334.7 kB / 276.7 MB, free: 13.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.276e-05/0.008537, allocations: 117.8 kB / 276.8 MB, free: 13.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.008642, allocations: 213.9 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.008812, allocations: 296.2 kB / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.008815, allocations: 0 / 277.3 MB, free: 12.89 MB / 266.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002482/0.009063, allocations: 358.9 kB / 277.6 MB, free: 12.5 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.886e-05/0.009112, allocations: 97.09 kB / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.009117, allocations: 0 / 277.7 MB, free: 12.39 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.00913, allocations: 7.938 kB / 277.7 MB, free: 12.38 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001541/0.009284, allocations: 51.91 kB / 277.8 MB, free: 12.33 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.009289, allocations: 4 kB / 277.8 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.185e-05/0.009371, allocations: 39.92 kB / 277.8 MB, free: 12.29 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.009383, allocations: 8 kB / 277.8 MB, free: 12.28 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.0001355/0.009519, allocations: 222.5 kB / 278.1 MB, free: 12.04 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.364e-05/0.009552, allocations: 35.97 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.73e-05/0.00958, allocations: 22.66 kB / 278.1 MB, free: 11.98 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.009584, allocations: 3.984 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.093e-06/0.009586, allocations: 0 / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.009589, allocations: 4 kB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004407/0.01003, allocations: 0.5761 MB / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.01003, allocations: 0 / 278.7 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.813e-05/0.0101, allocations: 23.98 kB / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0101, allocations: 0 / 278.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.01012, allocations: 15.98 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01012, allocations: 0 / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.01012, allocations: 4.031 kB / 278.7 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.01037, allocations: 443.7 kB / 279.2 MB, free: 10.82 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.01039, allocations: 19.83 kB / 279.2 MB, free: 10.8 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.01043, allocations: 16 kB / 279.2 MB, free: 10.79 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.997e-05/0.01052, allocations: 15.98 kB / 279.2 MB, free: 10.77 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.805e-05/0.01056, allocations: 23.95 kB / 279.3 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.01058, allocations: 19.92 kB / 279.3 MB, free: 10.73 MB / 266.7 MB Notification: Performance of sorting global known variables: time 3.278e-05/0.01061, allocations: 41.81 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01061, allocations: 4 kB / 279.3 MB, free: 10.68 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001768/0.01079, allocations: 79.89 kB / 279.4 MB, free: 10.6 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 9.309e-05/0.01088, allocations: 114.3 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003036/0.01119, allocations: 0.4942 MB / 280 MB, free: 9.914 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01119, allocations: 4 kB / 280 MB, free: 9.91 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001579/0.01135, allocations: 291.2 kB / 280.3 MB, free: 9.586 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.01167, allocations: 152.2 kB / 280.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006782/0.01235, allocations: 0.5358 MB / 281 MB, free: 8.871 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.894e-05/0.0124, allocations: 80.83 kB / 281.1 MB, free: 8.773 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.931e-05/0.01247, allocations: 25.92 kB / 281.1 MB, free: 8.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001943/0.01267, allocations: 131.3 kB / 281.2 MB, free: 8.621 MB / 266.7 MB Notification: Performance of SimCode: time 7.21e-07/0.01267, allocations: 4 kB / 281.2 MB, free: 8.617 MB / 266.7 MB Notification: Performance of Templates: time 0.005529/0.01819, allocations: 4.792 MB / 286 MB, free: 3.938 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.7235485459677875]