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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 109.2 kB / 17.72 MB, free: 5.219 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 188.1 kB / 18.66 MB, free: 4.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 205.1 MB / 224.5 MB, free: 12.23 MB / 190.1 MB 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.001369/0.001369, allocations: 55.92 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09551, allocations: 46.62 MB / 374.7 MB, free: 5.074 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.005445/0.101, allocations: 2.322 MB / 377 MB, free: 2.738 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001769/0.1028, allocations: 0.7212 MB / 377.7 MB, free: 2.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.1031, allocations: 3.938 kB / 377.7 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.1034, allocations: 27.72 kB / 377.7 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001929/0.1036, allocations: 63.48 kB / 377.8 MB, free: 1.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004567/0.1041, allocations: 83.77 kB / 377.9 MB, free: 1.832 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.1045, allocations: 267 kB / 378.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003419/0.1049, allocations: 115 kB / 378.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004117/0.1053, allocations: 111.6 kB / 378.4 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002863/0.1056, allocations: 119.5 kB / 378.5 MB, free: 1.23 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.929e-05/0.1057, allocations: 20 kB / 378.5 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.959e-05/0.1058, allocations: 24 kB / 378.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.685e-05/0.1059, allocations: 55.83 kB / 378.6 MB, free: 1.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002129/0.1061, allocations: 119.5 kB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.1066, allocations: 287.2 kB / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.1066, allocations: 0 / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.1066, allocations: 0 / 379 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.1066, allocations: 4 kB / 379 MB, free: 0.7305 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.001347/0.108, allocations: 0.6561 MB / 379.6 MB, free: 8 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.2148/0.3228, allocations: 9.484 kB / 379.6 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001543/0.323, allocations: 56.28 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.502e-05/0.3231, allocations: 27.31 kB / 379.7 MB, free: 13.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004163/0.3235, allocations: 242.1 kB / 380 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.114e-05/0.3236, allocations: 50.95 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.3236, allocations: 19.09 kB / 380 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000613/0.3243, allocations: 260.1 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.3243, allocations: 1.969 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.76e-05/0.3243, allocations: 13.64 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.882e-06/0.3243, allocations: 4.125 kB / 380.3 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000488/0.3248, allocations: 202.4 kB / 380.5 MB, free: 12.79 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00134/0.3262, allocations: 0.7547 MB / 381.2 MB, free: 12.43 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000668/0.3269, allocations: 293.6 kB / 381.5 MB, free: 12.4 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000593/0.3275, allocations: 226.1 kB / 381.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.3275, allocations: 5.156 kB / 381.8 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006399/0.3281, allocations: 321.1 kB / 382.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 2.956e-06/0.3282, allocations: 2.391 kB / 382.1 MB, free: 12.25 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001441/0.3296, allocations: 0.5735 MB / 382.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001113/0.3297, allocations: 203.2 kB / 382.8 MB, free: 11.79 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.3299, allocations: 182.7 kB / 383 MB, free: 11.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.33, allocations: 40.72 kB / 383.1 MB, free: 11.62 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.82e-05/0.3301, allocations: 138.1 kB / 383.2 MB, free: 11.51 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.3301, allocations: 77.22 kB / 383.3 MB, free: 11.45 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.3303, allocations: 68.23 kB / 383.3 MB, free: 11.41 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.3304, allocations: 336.2 kB / 383.7 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.3307, allocations: 106.9 kB / 383.8 MB, free: 11.05 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003029/0.331, allocations: 175.5 kB / 383.9 MB, free: 10.96 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005753/0.3316, allocations: 414.7 kB / 384.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3316, allocations: 4.719 kB / 384.4 MB, free: 10.67 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006827/0.3323, allocations: 437.1 kB / 384.8 MB, free: 10.44 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.206e-05/0.3323, allocations: 96.7 kB / 384.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.3323, allocations: 6.031 kB / 384.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.3324, allocations: 8.312 kB / 384.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001864/0.3326, allocations: 37.47 kB / 384.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.032e-05/0.3326, allocations: 3.031 kB / 384.9 MB, free: 10.33 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001715/0.3327, allocations: 34.52 kB / 385 MB, free: 10.32 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.3328, allocations: 12.47 kB / 385 MB, free: 10.31 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.0001839/0.333, allocations: 251 kB / 385.2 MB, free: 10.09 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.015e-05/0.333, allocations: 29.47 kB / 385.2 MB, free: 10.08 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.3331, allocations: 27.64 kB / 385.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3331, allocations: 3.734 kB / 385.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.3331, allocations: 1.969 kB / 385.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.3331, allocations: 1.453 kB / 385.3 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/0.3344, allocations: 0.9321 MB / 386.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.3344, allocations: 1.344 kB / 386.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.3345, allocations: 22.02 kB / 386.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.3345, allocations: 1.891 kB / 386.2 MB, free: 9.504 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.719e-05/0.3346, allocations: 14.95 kB / 386.3 MB, free: 9.496 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3346, allocations: 5.906 kB / 386.3 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.993e-06/0.3346, allocations: 1.094 kB / 386.3 MB, free: 9.492 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000914/0.3355, allocations: 0.6109 MB / 386.9 MB, free: 9.16 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.3356, allocations: 96.22 kB / 387 MB, free: 9.055 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.69e-05/0.3356, allocations: 17.22 kB / 387 MB, free: 9.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002067/0.3359, allocations: 21.88 kB / 387 MB, free: 9.047 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.788e-05/0.3359, allocations: 20.27 kB / 387 MB, free: 9.043 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.781e-05/0.336, allocations: 13.8 kB / 387 MB, free: 9.039 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.738e-05/0.3361, allocations: 126.2 kB / 387.2 MB, free: 8.953 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3361, allocations: 4 kB / 387.2 MB, free: 8.949 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003682/0.3365, allocations: 82.59 kB / 387.2 MB, free: 8.93 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.001148/0.3376, allocations: 1.183 MB / 388.4 MB, free: 8.059 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000858/0.3385, allocations: 0.5437 MB / 389 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3385, allocations: 0 / 389 MB, free: 7.758 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.339, allocations: 397.6 kB / 389.4 MB, free: 7.523 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007688/0.3398, allocations: 144.4 kB / 389.5 MB, free: 7.492 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00398/0.3438, allocations: 2.923 MB / 392.4 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002038/0.344, allocations: 0.7459 MB / 393.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001944/0.3442, allocations: 50.36 kB / 393.2 MB, free: 4.863 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.3443, allocations: 69.23 kB / 393.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of SimCode: time 6.31e-07/0.3443, allocations: 0 / 393.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03153/0.3759, allocations: 6.631 MB / 399.9 MB, free: 2.973 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.199/9.575, allocations: 13.19 kB / 399.9 MB, free: 2.961 MB / 318.1 MB (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 --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) 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) Reference file matches