Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001617/0.001617, allocations: 92.33 kB / 21.73 MB, free: 2.68 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.001574/0.001574, allocations: 167.1 kB / 25.02 MB, free: 9.438 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 158.6 MB / 186.8 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 250.4 MB, free: 3.945 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.24e-05/3.435e-05, allocations: 2.312 kB / 250.4 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004009/0.004043, allocations: 2.236 MB / 252.6 MB, free: 1.688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001523/0.005567, allocations: 0.6785 MB / 253.3 MB, free: 1 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.00567, allocations: 4 kB / 253.3 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00018/0.00585, allocations: 31.66 kB / 253.3 MB, free: 0.9648 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001305/0.00598, allocations: 55.48 kB / 253.4 MB, free: 0.9102 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003737/0.006354, allocations: 91.7 kB / 253.4 MB, free: 0.8203 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003884/0.006742, allocations: 270.9 kB / 253.7 MB, free: 0.5547 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.00696, allocations: 79.64 kB / 253.8 MB, free: 488 kB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002882/0.007248, allocations: 167.6 kB / 254 MB, free: 320 kB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.007414, allocations: 87.77 kB / 254 MB, free: 232 kB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 5.342e-05/0.007468, allocations: 24 kB / 254.1 MB, free: 208 kB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.094e-05/0.007519, allocations: 20 kB / 254.1 MB, free: 188 kB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 7.573e-05/0.007594, allocations: 55.81 kB / 254.1 MB, free: 132 kB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.007744, allocations: 87.75 kB / 254.2 MB, free: 44 kB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004288/0.008173, allocations: 299 kB / 254.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.008177, allocations: 0 / 254.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.008179, allocations: 0 / 254.5 MB, free: 15.75 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.008184, allocations: 0 / 254.5 MB, free: 15.75 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.001124/0.009308, allocations: 0.5885 MB / 255.1 MB, free: 15.11 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.009346, allocations: 11.98 kB / 255.1 MB, free: 15.1 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.00946, allocations: 48.78 kB / 255.2 MB, free: 15.05 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.009879, allocations: 182.1 kB / 255.3 MB, free: 14.85 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.009983, allocations: 71.97 kB / 255.4 MB, free: 14.77 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.285e-05/0.01003, allocations: 20.38 kB / 255.4 MB, free: 14.75 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.01074, allocations: 358.1 kB / 255.8 MB, free: 14.38 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.01075, allocations: 4.125 kB / 255.8 MB, free: 14.37 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.371e-05/0.01079, allocations: 12.12 kB / 255.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.0108, allocations: 4 kB / 255.8 MB, free: 14.36 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006013/0.0114, allocations: 279.5 kB / 256.1 MB, free: 14.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.01286, allocations: 0.6316 MB / 256.7 MB, free: 13.39 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000747/0.01361, allocations: 334.6 kB / 257 MB, free: 13.05 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005497/0.01416, allocations: 260.2 kB / 257.3 MB, free: 12.78 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.01419, allocations: 4 kB / 257.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007057/0.01489, allocations: 425.5 kB / 257.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of pre-optimization done (n=31): time 1.843e-06/0.01489, allocations: 0 / 257.7 MB, free: 12.31 MB / 250.7 MB Notification: Performance of matching and sorting (n=31): time 0.001586/0.01648, allocations: 0.7346 MB / 258.4 MB, free: 11.53 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001817/0.01666, allocations: 199.9 kB / 258.6 MB, free: 11.29 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002319/0.01689, allocations: 182.2 kB / 258.8 MB, free: 11.11 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.691e-05/0.01694, allocations: 41.69 kB / 258.9 MB, free: 11.06 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.01708, allocations: 132.8 kB / 259 MB, free: 10.92 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.827e-05/0.01718, allocations: 87.41 kB / 259.1 MB, free: 10.84 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.01731, allocations: 66.02 kB / 259.1 MB, free: 10.76 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.01752, allocations: 330.8 kB / 259.5 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003457/0.01787, allocations: 197.7 kB / 259.6 MB, free: 10.21 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004017/0.01827, allocations: 294.1 kB / 259.9 MB, free: 9.883 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/0.01892, allocations: 425.5 kB / 260.4 MB, free: 9.418 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/0.01893, allocations: 4 kB / 260.4 MB, free: 9.414 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009122/0.01984, allocations: 0.5424 MB / 260.9 MB, free: 8.828 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001021/0.01994, allocations: 99.75 kB / 261 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01995, allocations: 0 / 261 MB, free: 8.715 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.01998, allocations: 4 kB / 261 MB, free: 8.711 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/0.02019, allocations: 43.89 kB / 261 MB, free: 8.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.0202, allocations: 4 kB / 261 MB, free: 8.664 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.02041, allocations: 43.86 kB / 261.1 MB, free: 8.621 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.02044, allocations: 15.94 kB / 261.1 MB, free: 8.605 MB / 250.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.000298/0.02074, allocations: 239.7 kB / 261.3 MB, free: 8.352 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.02082, allocations: 35.86 kB / 261.4 MB, free: 8.316 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.811e-05/0.02088, allocations: 26.66 kB / 261.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.02088, allocations: 0 / 261.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/0.02088, allocations: 0 / 261.4 MB, free: 8.293 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.02089, allocations: 11.92 kB / 261.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.02252, allocations: 0.8929 MB / 262.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.02252, allocations: 0 / 262.3 MB, free: 7.324 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001246/0.02265, allocations: 23.92 kB / 262.3 MB, free: 7.301 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.02265, allocations: 8.031 kB / 262.3 MB, free: 7.293 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.834e-05/0.02268, allocations: 8 kB / 262.3 MB, free: 7.285 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.02269, allocations: 3.938 kB / 262.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.02269, allocations: 0 / 262.3 MB, free: 7.281 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001198/0.02389, allocations: 0.694 MB / 263 MB, free: 6.543 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.014e-05/0.02394, allocations: 39.72 kB / 263.1 MB, free: 6.504 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.905e-05/0.024, allocations: 12 kB / 263.1 MB, free: 6.492 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002433/0.02424, allocations: 23.97 kB / 263.1 MB, free: 6.469 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.226e-05/0.02433, allocations: 23.97 kB / 263.1 MB, free: 6.445 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.02436, allocations: 8 kB / 263.1 MB, free: 6.438 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0003511/0.02471, allocations: 131.2 kB / 263.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02471, allocations: 0 / 263.3 MB, free: 6.309 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003945/0.02511, allocations: 79.89 kB / 263.4 MB, free: 6.23 MB / 250.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.0002293/0.02534, allocations: 129.2 kB / 263.5 MB, free: 6.094 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.02645, allocations: 0.6586 MB / 264.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.02645, allocations: 0 / 264.1 MB, free: 5.367 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000579/0.02703, allocations: 370.2 kB / 264.5 MB, free: 4.969 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007843/0.02781, allocations: 152.8 kB / 264.6 MB, free: 4.824 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001232/0.02905, allocations: 0.5794 MB / 265.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.02923, allocations: 134 kB / 265.4 MB, free: 4.055 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001611/0.02939, allocations: 49.91 kB / 265.4 MB, free: 4.008 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.107e-05/0.02947, allocations: 32.42 kB / 265.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of SimCode: time 8.42e-07/0.02947, allocations: 0 / 265.4 MB, free: 3.977 MB / 250.7 MB Notification: Performance of Templates: time 0.0102/0.03967, allocations: 4.517 MB / 270 MB, free: 15.48 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.759501999942586]