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.0008688/0.0008688, allocations: 93.25 kB / 17.3 MB, free: 6.391 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.0008897/0.0008899, allocations: 172.9 kB / 18.2 MB, free: 5.551 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.353/1.353, allocations: 205.4 MB / 224.4 MB, free: 13.07 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.0004754/0.0004754, allocations: 16 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0849/0.08538, allocations: 47.57 MB / 329 MB, free: 3.684 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002429/0.08786, allocations: 2.029 MB / 331.1 MB, free: 1.637 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001211/0.08909, allocations: 0.7138 MB / 331.8 MB, free: 0.9141 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001008/0.08921, allocations: 4 kB / 331.8 MB, free: 0.9102 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.08936, allocations: 19.84 kB / 331.8 MB, free: 0.8906 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.08948, allocations: 43.56 kB / 331.9 MB, free: 0.8477 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.08979, allocations: 75.92 kB / 331.9 MB, free: 0.7734 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.09007, allocations: 246.9 kB / 332.2 MB, free: 0.5312 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002293/0.09031, allocations: 98.95 kB / 332.3 MB, free: 448 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001847/0.09051, allocations: 99.61 kB / 332.4 MB, free: 348 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.09065, allocations: 95.48 kB / 332.5 MB, free: 252 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.677e-05/0.0907, allocations: 8 kB / 332.5 MB, free: 244 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.09074, allocations: 12 kB / 332.5 MB, free: 232 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 6.395e-05/0.09081, allocations: 39.84 kB / 332.5 MB, free: 192 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001378/0.09096, allocations: 141.1 kB / 332.7 MB, free: 44 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.09124, allocations: 251.3 kB / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.09126, allocations: 0 / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09126, allocations: 0 / 332.9 MB, free: 15.8 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.981e-06/0.09128, allocations: 0 / 332.9 MB, free: 15.8 MB / 286.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.000896/0.09218, allocations: 0.6404 MB / 333.5 MB, free: 15.09 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.09223, allocations: 12.03 kB / 333.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.816e-05/0.0923, allocations: 54.73 kB / 333.6 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.169e-05/0.09237, allocations: 28.56 kB / 333.6 MB, free: 14.98 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.09262, allocations: 240.6 kB / 333.9 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.144e-05/0.0927, allocations: 54.25 kB / 333.9 MB, free: 14.65 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/0.09275, allocations: 20.38 kB / 333.9 MB, free: 14.63 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.09332, allocations: 264.1 kB / 334.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.09335, allocations: 3.984 kB / 334.2 MB, free: 14.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.752e-05/0.09339, allocations: 8 kB / 334.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.0934, allocations: 4 kB / 334.2 MB, free: 14.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004922/0.0939, allocations: 220.3 kB / 334.4 MB, free: 14.14 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001292/0.0952, allocations: 0.7639 MB / 335.2 MB, free: 13.31 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005847/0.0958, allocations: 315.2 kB / 335.5 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004154/0.09623, allocations: 236.9 kB / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.09625, allocations: 0 / 335.7 MB, free: 12.76 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004957/0.09676, allocations: 324.3 kB / 336.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.342e-06/0.09677, allocations: 0 / 336.1 MB, free: 12.41 MB / 286.1 MB Notification: Performance of matching and sorting (n=31): time 0.001192/0.09797, allocations: 0.5981 MB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.09809, allocations: 203.9 kB / 336.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.09826, allocations: 180 kB / 337 MB, free: 11.37 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.0983, allocations: 33.7 kB / 337.1 MB, free: 11.33 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.878e-05/0.09839, allocations: 140.7 kB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.09846, allocations: 71.09 kB / 337.3 MB, free: 11.12 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.09852, allocations: 45.69 kB / 337.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.09864, allocations: 338.8 kB / 337.6 MB, free: 10.73 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002377/0.09889, allocations: 108.6 kB / 337.7 MB, free: 10.62 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.09918, allocations: 187 kB / 337.9 MB, free: 10.41 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005218/0.09972, allocations: 413.6 kB / 338.3 MB, free: 9.961 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.422e-06/0.09973, allocations: 7.984 kB / 338.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000684/0.1004, allocations: 454.1 kB / 338.8 MB, free: 9.484 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.1005, allocations: 101 kB / 338.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.1005, allocations: 0 / 338.9 MB, free: 9.367 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.1005, allocations: 4 kB / 338.9 MB, free: 9.363 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.1007, allocations: 40.02 kB / 338.9 MB, free: 9.324 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.1007, allocations: 7.984 kB / 338.9 MB, free: 9.316 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.1009, allocations: 35.73 kB / 339 MB, free: 9.281 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.101, allocations: 16 kB / 339 MB, free: 9.266 MB / 286.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.0002264/0.1012, allocations: 239.7 kB / 339.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.466e-05/0.1013, allocations: 31.66 kB / 339.2 MB, free: 8.977 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.1013, allocations: 22.64 kB / 339.3 MB, free: 8.949 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.1013, allocations: 4 kB / 339.3 MB, free: 8.945 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.1013, allocations: 3.938 kB / 339.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1013, allocations: 0 / 339.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00137/0.1027, allocations: 0.9436 MB / 340.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1027, allocations: 0 / 340.2 MB, free: 7.926 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.1029, allocations: 27.98 kB / 340.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1029, allocations: 0 / 340.2 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.266e-05/0.1029, allocations: 15.97 kB / 340.3 MB, free: 7.883 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.1029, allocations: 7.938 kB / 340.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1029, allocations: 0 / 340.3 MB, free: 7.875 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009128/0.1038, allocations: 0.6206 MB / 340.9 MB, free: 7.223 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.132e-05/0.1039, allocations: 104.8 kB / 341 MB, free: 7.102 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.549e-05/0.104, allocations: 12 kB / 341 MB, free: 7.09 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.1042, allocations: 27.97 kB / 341 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.648e-05/0.1043, allocations: 23.97 kB / 341.1 MB, free: 7.039 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.1043, allocations: 15.94 kB / 341.1 MB, free: 7.023 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.1044, allocations: 139.2 kB / 341.2 MB, free: 6.887 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1044, allocations: 0 / 341.2 MB, free: 6.887 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000328/0.1048, allocations: 75.84 kB / 341.3 MB, free: 6.812 MB / 286.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.001194/0.106, allocations: 1.183 MB / 342.5 MB, free: 5.582 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0008067/0.1068, allocations: 0.5654 MB / 343 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.1068, allocations: 0 / 343 MB, free: 4.98 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005118/0.1073, allocations: 410.7 kB / 343.4 MB, free: 4.555 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.108, allocations: 132.7 kB / 343.6 MB, free: 4.426 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003579/0.1116, allocations: 3.031 MB / 346.6 MB, free: 1.277 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003193/0.112, allocations: 0.7448 MB / 347.3 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001683/0.1121, allocations: 53.88 kB / 347.4 MB, free: 464 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.1123, allocations: 63.42 kB / 347.5 MB, free: 400 kB / 286.1 MB Notification: Performance of SimCode: time 9.81e-07/0.1123, allocations: 4 kB / 347.5 MB, free: 396 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.1292, allocations: 6.027 MB / 353.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001846/0.1294, allocations: 197.5 kB / 353.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.026/2.156, allocations: 0 / 353.7 MB, free: 10.11 MB / 302.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","../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