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.0009944/0.0009944, allocations: 80.92 kB / 22.29 MB, free: 2.207 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.001062/0.001062, allocations: 163.1 kB / 25.69 MB, free: 8.406 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 0.9321/0.9321, allocations: 158.6 MB / 187.6 MB, free: 2.797 MB / 170.7 MB " [Timeout remaining time 179] 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.202e-06/1.202e-06, allocations: 0 / 251.6 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.245e-05/1.366e-05, allocations: 6.25 kB / 251.6 MB, free: 7.234 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002499/0.002513, allocations: 2.374 MB / 253.9 MB, free: 4.844 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.003527, allocations: 0.7017 MB / 254.6 MB, free: 4.133 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.557e-05/0.003613, allocations: 7.938 kB / 254.7 MB, free: 4.125 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.003735, allocations: 35.66 kB / 254.7 MB, free: 4.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 8.135e-05/0.003816, allocations: 63.42 kB / 254.8 MB, free: 4.027 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.004076, allocations: 87.7 kB / 254.8 MB, free: 3.941 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002275/0.004303, allocations: 278.9 kB / 255.1 MB, free: 3.668 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.00444, allocations: 74.23 kB / 255.2 MB, free: 3.598 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001907/0.004631, allocations: 167.7 kB / 255.3 MB, free: 3.434 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001315/0.004762, allocations: 95.7 kB / 255.4 MB, free: 3.34 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 2.907e-05/0.004791, allocations: 20 kB / 255.5 MB, free: 3.32 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.73e-05/0.004819, allocations: 27.94 kB / 255.5 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 4.397e-05/0.004863, allocations: 51.83 kB / 255.5 MB, free: 3.242 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 6.85e-05/0.004931, allocations: 79.83 kB / 255.6 MB, free: 3.164 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.00512, allocations: 203.3 kB / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.373e-06/0.005121, allocations: 0 / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of FrontEnd: time 6.11e-07/0.005122, allocations: 0 / 255.8 MB, free: 2.961 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.466e-06/0.005125, allocations: 0 / 255.8 MB, free: 2.961 MB / 234.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.0005817/0.005707, allocations: 0.5714 MB / 256.4 MB, free: 2.348 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.704e-05/0.005734, allocations: 11.98 kB / 256.4 MB, free: 2.336 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.486e-05/0.005789, allocations: 36.91 kB / 256.4 MB, free: 2.301 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.005951, allocations: 162.1 kB / 256.6 MB, free: 2.117 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.572e-05/0.006007, allocations: 79.94 kB / 256.7 MB, free: 2.027 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.989e-05/0.006027, allocations: 20.38 kB / 256.7 MB, free: 2.008 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002623/0.006289, allocations: 282.8 kB / 257 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.756e-06/0.006298, allocations: 192 / 257 MB, free: 1.703 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.006315, allocations: 8.125 kB / 257 MB, free: 1.695 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.00632, allocations: 4 kB / 257 MB, free: 1.691 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001156/0.006436, allocations: 140.6 kB / 257.1 MB, free: 1.539 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006159/0.007052, allocations: 0.5104 MB / 257.6 MB, free: 1 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.007237, allocations: 200.7 kB / 257.8 MB, free: 0.7812 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001245/0.007361, allocations: 160.4 kB / 258 MB, free: 0.6094 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.248e-05/0.007374, allocations: 8 kB / 258 MB, free: 0.6016 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.007592, allocations: 333.5 kB / 258.3 MB, free: 232 kB / 234.7 MB Notification: Performance of pre-optimization done (n=31): time 1.022e-06/0.007593, allocations: 0 / 258.3 MB, free: 232 kB / 234.7 MB Notification: Performance of matching and sorting (n=31): time 0.000592/0.008185, allocations: 419.8 kB / 258.7 MB, free: 15.77 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.006e-05/0.008275, allocations: 207.8 kB / 258.9 MB, free: 15.53 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.008404, allocations: 174.5 kB / 259.1 MB, free: 15.34 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.435e-05/0.008428, allocations: 37.69 kB / 259.1 MB, free: 15.3 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.923e-05/0.008478, allocations: 120.9 kB / 259.2 MB, free: 15.18 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.008522, allocations: 87.33 kB / 259.3 MB, free: 15.09 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.353e-05/0.008595, allocations: 69.98 kB / 259.4 MB, free: 15.01 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.645e-05/0.008672, allocations: 342.7 kB / 259.7 MB, free: 14.67 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.00874, allocations: 117.8 kB / 259.9 MB, free: 14.54 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.883e-05/0.008838, allocations: 206.2 kB / 260.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.009008, allocations: 292.3 kB / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.009011, allocations: 0 / 260.3 MB, free: 13.95 MB / 250.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0002338/0.009245, allocations: 351.7 kB / 260.7 MB, free: 13.57 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.527e-05/0.00929, allocations: 97.09 kB / 260.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.009294, allocations: 0 / 260.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.009308, allocations: 4 kB / 260.8 MB, free: 13.45 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001553/0.009463, allocations: 55.91 kB / 260.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.009467, allocations: 0 / 260.8 MB, free: 13.39 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.557e-05/0.009553, allocations: 39.77 kB / 260.9 MB, free: 13.36 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.375e-05/0.009566, allocations: 12 kB / 260.9 MB, free: 13.34 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.0001239/0.00969, allocations: 230.5 kB / 261.1 MB, free: 13.1 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.278e-05/0.009723, allocations: 31.97 kB / 261.1 MB, free: 13.07 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.689e-05/0.00975, allocations: 22.64 kB / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.009752, allocations: 0 / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.009754, allocations: 0 / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.009758, allocations: 0 / 261.2 MB, free: 13.05 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.01021, allocations: 0.5887 MB / 261.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01021, allocations: 0 / 261.8 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.987e-05/0.01028, allocations: 27.98 kB / 261.8 MB, free: 12.38 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.01029, allocations: 7.984 kB / 261.8 MB, free: 12.37 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.0103, allocations: 8 kB / 261.8 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.0103, allocations: 0 / 261.8 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.0103, allocations: 0 / 261.8 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.01056, allocations: 459.7 kB / 262.2 MB, free: 11.87 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.94e-05/0.01058, allocations: 19.8 kB / 262.3 MB, free: 11.85 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.01061, allocations: 20.03 kB / 262.3 MB, free: 11.83 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.216e-05/0.0107, allocations: 19.98 kB / 262.3 MB, free: 11.81 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.594e-05/0.01075, allocations: 19.95 kB / 262.3 MB, free: 11.79 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.01076, allocations: 11.94 kB / 262.3 MB, free: 11.78 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.362e-05/0.0108, allocations: 48.8 kB / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.0108, allocations: 0 / 262.4 MB, free: 11.73 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.01097, allocations: 75.94 kB / 262.5 MB, free: 11.66 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 8.286e-05/0.01105, allocations: 110.3 kB / 262.6 MB, free: 11.54 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002819/0.01133, allocations: 0.4942 MB / 263.1 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.01134, allocations: 4 kB / 263.1 MB, free: 10.97 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001504/0.01149, allocations: 286.9 kB / 263.3 MB, free: 10.65 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003145/0.0118, allocations: 159.6 kB / 263.5 MB, free: 10.5 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007148/0.01252, allocations: 0.5389 MB / 264 MB, free: 9.922 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.248e-05/0.01257, allocations: 80.83 kB / 264.1 MB, free: 9.824 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.179e-05/0.01265, allocations: 25.94 kB / 264.1 MB, free: 9.797 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.01285, allocations: 127.3 kB / 264.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of SimCode: time 1.122e-06/0.01286, allocations: 0 / 264.3 MB, free: 9.672 MB / 250.7 MB Notification: Performance of Templates: time 0.005827/0.01868, allocations: 4.784 MB / 269.1 MB, free: 4.914 MB / 250.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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 240] 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","",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.681347376201302]