Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0008293/0.0008293, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0007837/0.0007838, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.208/1.208, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001898/0.0001898, allocations: 8 kB / 307.8 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0789/0.0791, allocations: 51.51 MB / 359.4 MB, free: 13.19 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002137/0.08127, allocations: 2.069 MB / 361.4 MB, free: 11.11 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001011/0.0823, allocations: 0.7441 MB / 362.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.614e-05/0.08238, allocations: 4 kB / 362.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.905e-05/0.08249, allocations: 19.78 kB / 362.2 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.354e-05/0.08259, allocations: 47.62 kB / 362.2 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002578/0.08286, allocations: 87.84 kB / 362.3 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002201/0.08309, allocations: 251 kB / 362.6 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001747/0.08327, allocations: 94.94 kB / 362.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.08346, allocations: 99.61 kB / 362.8 MB, free: 9.77 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001191/0.08359, allocations: 95.59 kB / 362.8 MB, free: 9.676 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.08363, allocations: 8 kB / 362.9 MB, free: 9.668 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.91e-05/0.08368, allocations: 16 kB / 362.9 MB, free: 9.652 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.08374, allocations: 47.77 kB / 362.9 MB, free: 9.605 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.08386, allocations: 129.1 kB / 363 MB, free: 9.473 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002291/0.0841, allocations: 267.3 kB / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.08411, allocations: 0 / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.08411, allocations: 0 / 363.3 MB, free: 9.211 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.08412, allocations: 0 / 363.3 MB, free: 9.211 MB / 302.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.000778/0.08491, allocations: 0.6405 MB / 363.9 MB, free: 8.5 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.08494, allocations: 8.031 kB / 364 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.052e-05/0.08501, allocations: 54.73 kB / 364 MB, free: 8.43 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.08516, allocations: 40.64 kB / 364 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.08539, allocations: 240 kB / 364.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.281e-05/0.08546, allocations: 58.25 kB / 364.3 MB, free: 8.055 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.246e-05/0.0855, allocations: 16.38 kB / 364.4 MB, free: 8.039 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005101/0.08602, allocations: 271.8 kB / 364.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.08603, allocations: 0 / 364.6 MB, free: 7.766 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.08606, allocations: 8 kB / 364.6 MB, free: 7.758 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.08608, allocations: 12 kB / 364.6 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004532/0.08653, allocations: 212.3 kB / 364.8 MB, free: 7.539 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.08765, allocations: 0.7641 MB / 365.6 MB, free: 6.711 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005389/0.0882, allocations: 318.7 kB / 365.9 MB, free: 6.391 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003804/0.08859, allocations: 228.9 kB / 366.1 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.663e-05/0.08862, allocations: 8 kB / 366.2 MB, free: 6.156 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004422/0.08907, allocations: 320.2 kB / 366.5 MB, free: 5.812 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.08908, allocations: 4 kB / 366.5 MB, free: 5.809 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001047/0.09014, allocations: 0.5917 MB / 367.1 MB, free: 5.199 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/0.09024, allocations: 207.8 kB / 367.3 MB, free: 4.953 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.09039, allocations: 186.6 kB / 367.4 MB, free: 4.754 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.09043, allocations: 41.7 kB / 367.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.085e-05/0.09051, allocations: 132.8 kB / 367.6 MB, free: 4.574 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/0.09058, allocations: 86.92 kB / 367.7 MB, free: 4.488 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.09063, allocations: 41.7 kB / 367.7 MB, free: 4.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.219e-05/0.09073, allocations: 330.8 kB / 368.1 MB, free: 4.109 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002206/0.09095, allocations: 116.6 kB / 368.2 MB, free: 3.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002489/0.09121, allocations: 179.3 kB / 368.4 MB, free: 3.797 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004976/0.09172, allocations: 421.4 kB / 368.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.09173, allocations: 0 / 368.8 MB, free: 3.336 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006294/0.09237, allocations: 457.3 kB / 369.2 MB, free: 2.867 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.292e-05/0.09243, allocations: 93.03 kB / 369.3 MB, free: 2.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.09244, allocations: 4.094 kB / 369.3 MB, free: 2.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.09246, allocations: 4 kB / 369.3 MB, free: 2.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.09263, allocations: 47.91 kB / 369.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.09264, allocations: 0 / 369.4 MB, free: 2.703 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.09282, allocations: 39.73 kB / 369.4 MB, free: 2.664 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.311e-05/0.09285, allocations: 15.98 kB / 369.4 MB, free: 2.648 MB / 302.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.0001882/0.09304, allocations: 240.8 kB / 369.6 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.714e-05/0.09309, allocations: 27.75 kB / 369.7 MB, free: 2.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.857e-05/0.09314, allocations: 22.66 kB / 369.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.09315, allocations: 0 / 369.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.09316, allocations: 0 / 369.7 MB, free: 2.34 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/0.09317, allocations: 7.984 kB / 369.7 MB, free: 2.332 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001194/0.09436, allocations: 0.9574 MB / 370.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.09438, allocations: 0 / 370.7 MB, free: 1.305 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001028/0.09449, allocations: 19.98 kB / 370.7 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.0945, allocations: 4 kB / 370.7 MB, free: 1.281 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.09452, allocations: 8 kB / 370.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.09453, allocations: 0 / 370.7 MB, free: 1.273 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.09454, allocations: 4.031 kB / 370.7 MB, free: 1.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008235/0.09536, allocations: 0.6331 MB / 371.3 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.064e-05/0.09543, allocations: 100.8 kB / 371.4 MB, free: 500 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.189e-05/0.09548, allocations: 15.98 kB / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.09569, allocations: 23.98 kB / 371.5 MB, free: 460 kB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.083e-05/0.09577, allocations: 23.97 kB / 371.5 MB, free: 436 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.354e-05/0.0958, allocations: 15.94 kB / 371.5 MB, free: 420 kB / 302.1 MB Notification: Performance of sorting global known variables: time 9.499e-05/0.0959, allocations: 135.2 kB / 371.6 MB, free: 284 kB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.09591, allocations: 0 / 371.6 MB, free: 284 kB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002994/0.09621, allocations: 79.84 kB / 371.7 MB, free: 204 kB / 302.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.1306/0.2269, allocations: 1.188 MB / 372.9 MB, free: 18.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00076/0.2276, allocations: 0.5501 MB / 373.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2277, allocations: 0.5938 kB / 373.5 MB, free: 18.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00044/0.2281, allocations: 411.4 kB / 373.9 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006939/0.2288, allocations: 125.3 kB / 374 MB, free: 18.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003161/0.232, allocations: 3.045 MB / 377 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000144/0.2321, allocations: 0.7523 MB / 377.8 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001441/0.2323, allocations: 53.48 kB / 377.8 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.866e-05/0.2324, allocations: 67.98 kB / 377.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2324, allocations: 0 / 377.9 MB, free: 16.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01459/0.247, allocations: 6.064 MB / 384 MB, free: 15.3 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001102/0.2471, allocations: 208.6 kB / 384.2 MB, free: 15.04 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.67/1.918, allocations: 0.9688 kB / 384.2 MB, free: 15.04 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches