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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001696/0.001696, allocations: 105.8 kB / 20.32 MB, free: 1.996 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 193.8 kB / 23.47 MB, free: 5.297 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.551/1.551, allocations: 207.6 MB / 234 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] 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.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_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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 59.92 kB / 345.8 MB, free: 10.59 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.331, allocations: 49.11 MB / 394.9 MB, free: 9.41 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004182/0.3351, allocations: 2.332 MB / 397.3 MB, free: 7.777 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3365, allocations: 0.7238 MB / 398 MB, free: 7.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001273/0.3366, allocations: 7.156 kB / 398 MB, free: 7.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001698/0.3368, allocations: 27.59 kB / 398 MB, free: 7.242 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001152/0.3369, allocations: 62.52 kB / 398.1 MB, free: 7.195 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003878/0.3373, allocations: 86.28 kB / 398.2 MB, free: 7.148 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003612/0.3377, allocations: 265.8 kB / 398.4 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002587/0.3379, allocations: 88.28 kB / 398.5 MB, free: 6.977 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002389/0.3382, allocations: 118.6 kB / 398.6 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.3384, allocations: 119 kB / 398.7 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.029e-05/0.3384, allocations: 22.31 kB / 398.8 MB, free: 6.863 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.079e-05/0.3385, allocations: 26.59 kB / 398.8 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.296e-05/0.3386, allocations: 47.5 kB / 398.8 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001492/0.3387, allocations: 126.5 kB / 399 MB, free: 6.754 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004162/0.3391, allocations: 280.2 kB / 399.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.3391, allocations: 0 / 399.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3392, allocations: 0 / 399.2 MB, free: 6.648 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.3392, allocations: 1.469 kB / 399.2 MB, free: 6.648 MB / 318.1 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.001112/0.3403, allocations: 0.6715 MB / 399.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.3403, allocations: 8.812 kB / 399.9 MB, free: 6.078 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.378e-05/0.3404, allocations: 31.03 kB / 400 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003633/0.3408, allocations: 238.8 kB / 400.2 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.471e-05/0.3408, allocations: 50.89 kB / 400.2 MB, free: 5.789 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.456e-05/0.3409, allocations: 18.48 kB / 400.3 MB, free: 5.785 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/0.3415, allocations: 269.7 kB / 400.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.372e-05/0.3415, allocations: 0 / 400.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/0.3415, allocations: 7.516 kB / 400.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.157e-05/0.3415, allocations: 4.375 kB / 400.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005411/0.3421, allocations: 207.5 kB / 400.7 MB, free: 5.609 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/0.3434, allocations: 0.7507 MB / 401.5 MB, free: 5.09 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006369/0.3441, allocations: 258.3 kB / 401.7 MB, free: 4.996 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004415/0.3445, allocations: 192.9 kB / 401.9 MB, free: 4.938 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.3445, allocations: 6.297 kB / 401.9 MB, free: 4.934 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005574/0.3451, allocations: 320.9 kB / 402.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.3451, allocations: 0 / 402.2 MB, free: 4.746 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001254/0.3463, allocations: 0.5725 MB / 402.8 MB, free: 4.512 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.738e-05/0.3464, allocations: 206.6 kB / 403 MB, free: 4.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.3466, allocations: 187.4 kB / 403.2 MB, free: 4.148 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.3467, allocations: 36.78 kB / 403.2 MB, free: 4.113 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.61e-05/0.3468, allocations: 141.9 kB / 403.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.314e-05/0.3468, allocations: 83.25 kB / 403.5 MB, free: 3.926 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.347, allocations: 67.97 kB / 403.5 MB, free: 3.883 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.347, allocations: 332.9 kB / 403.8 MB, free: 3.562 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002536/0.3473, allocations: 115.1 kB / 404 MB, free: 3.523 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002747/0.3476, allocations: 179.1 kB / 404.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005544/0.3481, allocations: 411.9 kB / 404.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3481, allocations: 0 / 404.5 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007438/0.3489, allocations: 440.4 kB / 405 MB, free: 2.895 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.539e-05/0.3489, allocations: 92.16 kB / 405.1 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.349, allocations: 10.53 kB / 405.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.349, allocations: 2.984 kB / 405.1 MB, free: 2.793 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.3492, allocations: 42.28 kB / 405.1 MB, free: 2.785 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.196e-05/0.3492, allocations: 6.812 kB / 405.1 MB, free: 2.781 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002012/0.3494, allocations: 37.95 kB / 405.2 MB, free: 2.762 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.768e-05/0.3494, allocations: 13.02 kB / 405.2 MB, free: 2.758 MB / 318.1 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.0002287/0.3496, allocations: 244.2 kB / 405.4 MB, free: 2.543 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.753e-05/0.3497, allocations: 25.88 kB / 405.4 MB, free: 2.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.18e-05/0.3497, allocations: 27.56 kB / 405.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.51e-06/0.3498, allocations: 3.719 kB / 405.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3498, allocations: 0 / 405.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.3498, allocations: 1.266 kB / 405.5 MB, free: 2.508 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.3512, allocations: 0.9363 MB / 406.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.3513, allocations: 1.375 kB / 406.4 MB, free: 1.941 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.3514, allocations: 23.66 kB / 406.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.019e-06/0.3514, allocations: 2.75 kB / 406.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/0.3514, allocations: 14.17 kB / 406.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3514, allocations: 1.375 kB / 406.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3514, allocations: 1.375 kB / 406.4 MB, free: 1.93 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009379/0.3523, allocations: 0.608 MB / 407 MB, free: 1.602 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.214e-05/0.3524, allocations: 95.98 kB / 407.1 MB, free: 1.496 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.319e-05/0.3525, allocations: 21.27 kB / 407.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002248/0.3527, allocations: 16.81 kB / 407.2 MB, free: 1.488 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001041/0.3528, allocations: 29.98 kB / 407.2 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.3528, allocations: 13.5 kB / 407.2 MB, free: 1.473 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001098/0.3529, allocations: 137.1 kB / 407.4 MB, free: 1.375 MB / 318.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3529, allocations: 4 kB / 407.4 MB, free: 1.371 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.3533, allocations: 78.66 kB / 407.4 MB, free: 1.355 MB / 318.1 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.0001805/0.3535, allocations: 127.8 kB / 407.6 MB, free: 1.262 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0009301/0.3544, allocations: 0.5118 MB / 408.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.3544, allocations: 1.375 kB / 408.1 MB, free: 0.9805 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004812/0.3549, allocations: 326.2 kB / 408.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007467/0.3557, allocations: 159 kB / 408.5 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00113/0.3568, allocations: 0.5588 MB / 409.1 MB, free: 424 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3571, allocations: 0.7486 MB / 409.9 MB, free: 15.71 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.285e-05/0.3572, allocations: 24.31 kB / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3572, allocations: 0 / 409.9 MB, free: 15.7 MB / 334.1 MB Notification: Performance of Templates: time 0.00677/0.364, allocations: 3.117 MB / 413 MB, free: 14.35 MB / 334.1 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/jenkins1/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/jenkins1/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