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.001499/0.001499, allocations: 109.6 kB / 21.18 MB, free: 0.6992 MB / 14.72 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.00189/0.00189, allocations: 216.7 kB / 24.5 MB, free: 4.027 MB / 14.72 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.816/1.816, allocations: 207.6 MB / 235.3 MB, free: 10.01 MB / 190.1 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 55.92 kB / 347.2 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3989, allocations: 49.16 MB / 396.4 MB, free: 8.973 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004291/0.4032, allocations: 2.35 MB / 398.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.4046, allocations: 0.719 MB / 399.4 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002048/0.4048, allocations: 10.56 kB / 399.4 MB, free: 6.852 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001833/0.405, allocations: 31.25 kB / 399.5 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.4052, allocations: 54.67 kB / 399.5 MB, free: 6.793 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004429/0.4056, allocations: 90.92 kB / 399.6 MB, free: 6.742 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004045/0.4061, allocations: 273.4 kB / 399.9 MB, free: 6.605 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002325/0.4063, allocations: 78.08 kB / 399.9 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003073/0.4066, allocations: 123.1 kB / 400.1 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.4069, allocations: 114.3 kB / 400.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.4069, allocations: 22.06 kB / 400.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.851e-05/0.407, allocations: 22.72 kB / 400.2 MB, free: 6.453 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.167e-05/0.4071, allocations: 59.72 kB / 400.3 MB, free: 6.414 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001732/0.4073, allocations: 117.9 kB / 400.4 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004484/0.4077, allocations: 286 kB / 400.7 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4077, allocations: 3.938 kB / 400.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.4077, allocations: 1.219 kB / 400.7 MB, free: 6.227 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.4077, allocations: 0 / 400.7 MB, free: 6.227 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.001233/0.409, allocations: 0.5977 MB / 401.3 MB, free: 5.75 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.409, allocations: 12.89 kB / 401.3 MB, free: 5.746 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.169e-05/0.4091, allocations: 56.08 kB / 401.3 MB, free: 5.695 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.7e-05/0.4092, allocations: 31.47 kB / 401.4 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.4095, allocations: 179.1 kB / 401.6 MB, free: 5.516 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.849e-05/0.4096, allocations: 76.95 kB / 401.6 MB, free: 5.445 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.931e-05/0.4096, allocations: 24.78 kB / 401.6 MB, free: 5.434 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.4103, allocations: 258.8 kB / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.4103, allocations: 0 / 401.9 MB, free: 5.332 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.4103, allocations: 7.266 kB / 401.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.4103, allocations: 3.75 kB / 401.9 MB, free: 5.328 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005138/0.4108, allocations: 203.9 kB / 402.1 MB, free: 5.273 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001308/0.4121, allocations: 0.7235 MB / 402.8 MB, free: 4.781 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005795/0.4127, allocations: 266.2 kB / 403.1 MB, free: 4.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000425/0.4131, allocations: 192.6 kB / 403.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.296e-05/0.4132, allocations: 2.438 kB / 403.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004863/0.4136, allocations: 317.6 kB / 403.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.4136, allocations: 0 / 403.6 MB, free: 4.438 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001208/0.4149, allocations: 0.5734 MB / 404.2 MB, free: 4.199 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.382e-05/0.4149, allocations: 205.1 kB / 404.4 MB, free: 3.973 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.4151, allocations: 174.3 kB / 404.5 MB, free: 3.852 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.4151, allocations: 44.62 kB / 404.6 MB, free: 3.809 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.498e-05/0.4152, allocations: 137.4 kB / 404.7 MB, free: 3.684 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.04e-05/0.4153, allocations: 86.22 kB / 404.8 MB, free: 3.617 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.4154, allocations: 65.38 kB / 404.9 MB, free: 3.578 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.085e-05/0.4155, allocations: 335.4 kB / 405.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.4157, allocations: 107.8 kB / 405.3 MB, free: 3.223 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.416, allocations: 169.9 kB / 405.5 MB, free: 3.129 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004987/0.4165, allocations: 417.3 kB / 405.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.4165, allocations: 0 / 405.9 MB, free: 2.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006868/0.4172, allocations: 445.7 kB / 406.3 MB, free: 2.594 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.02e-05/0.4172, allocations: 102.9 kB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.4172, allocations: 3 kB / 406.4 MB, free: 2.488 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.4173, allocations: 6.766 kB / 406.4 MB, free: 2.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001832/0.4174, allocations: 38.58 kB / 406.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.4175, allocations: 2.844 kB / 406.5 MB, free: 2.48 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002059/0.4177, allocations: 38.33 kB / 406.5 MB, free: 2.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.4177, allocations: 8.844 kB / 406.5 MB, free: 2.461 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.0001899/0.4179, allocations: 235.7 kB / 406.7 MB, free: 2.258 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.4179, allocations: 29.58 kB / 406.8 MB, free: 2.242 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.418, allocations: 24.22 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.418, allocations: 2.719 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.418, allocations: 1.75 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.418, allocations: 1.266 kB / 406.8 MB, free: 2.227 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001323/0.4193, allocations: 0.9112 MB / 407.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.4193, allocations: 192 / 407.7 MB, free: 1.691 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.4194, allocations: 29.2 kB / 407.7 MB, free: 1.684 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.4194, allocations: 5.312 kB / 407.7 MB, free: 1.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.798e-05/0.4195, allocations: 11.7 kB / 407.7 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.4195, allocations: 1.375 kB / 407.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4195, allocations: 0 / 407.8 MB, free: 1.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009438/0.4204, allocations: 0.6221 MB / 408.4 MB, free: 1.336 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.688e-05/0.4205, allocations: 19.3 kB / 408.4 MB, free: 1.324 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.4205, allocations: 17.5 kB / 408.4 MB, free: 1.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.4207, allocations: 22.16 kB / 408.4 MB, free: 1.316 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.542e-05/0.4208, allocations: 21.34 kB / 408.5 MB, free: 1.312 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.4209, allocations: 17.81 kB / 408.5 MB, free: 1.305 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.151e-05/0.4209, allocations: 131.4 kB / 408.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4209, allocations: 0 / 408.6 MB, free: 1.211 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003699/0.4213, allocations: 83.75 kB / 408.7 MB, free: 1.191 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.001107/0.4224, allocations: 1.181 MB / 409.9 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000805/0.4232, allocations: 0.5143 MB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/0.4232, allocations: 1.344 kB / 410.4 MB, free: 36 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.4237, allocations: 317.7 kB / 410.7 MB, free: 15.85 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007462/0.4245, allocations: 143.8 kB / 410.8 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004224/0.4287, allocations: 2.934 MB / 413.8 MB, free: 13.87 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004063/0.4291, allocations: 0.7581 MB / 414.5 MB, free: 13.13 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001906/0.4293, allocations: 51.05 kB / 414.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.4294, allocations: 67.69 kB / 414.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4294, allocations: 0 / 414.6 MB, free: 13.05 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03953/0.4689, allocations: 6.858 MB / 421.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.11/11.58, allocations: 3.953 kB / 421.5 MB, free: 9.34 MB / 334.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] 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 [Calling sys.exit(0), Time elapsed: 14.505868469830602]