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.001432/0.001432, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001806/0.001806, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 54.97 kB / 307 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08183/0.08304, allocations: 50.53 MB / 357.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003503/0.08657, allocations: 2.388 MB / 360 MB, free: 11.63 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00138/0.08797, allocations: 0.7361 MB / 360.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001704/0.08817, allocations: 7.938 kB / 360.7 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001595/0.08836, allocations: 27.7 kB / 360.7 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.08852, allocations: 55.5 kB / 360.8 MB, free: 10.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004062/0.08893, allocations: 111.7 kB / 360.9 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.08927, allocations: 271 kB / 361.2 MB, free: 10.43 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002105/0.08949, allocations: 107 kB / 361.3 MB, free: 10.32 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000243/0.08974, allocations: 119.6 kB / 361.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.08992, allocations: 115.6 kB / 361.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.013e-05/0.08997, allocations: 24 kB / 361.5 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.291e-05/0.09005, allocations: 24 kB / 361.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.13e-05/0.09012, allocations: 59.72 kB / 361.6 MB, free: 9.984 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001288/0.09026, allocations: 119.5 kB / 361.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.09056, allocations: 279.3 kB / 362 MB, free: 9.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.09057, allocations: 4 kB / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.09058, allocations: 0 / 362 MB, free: 9.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.0906, allocations: 0 / 362 MB, free: 9.59 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.001051/0.09166, allocations: 0.6794 MB / 362.7 MB, free: 8.84 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.0917, allocations: 8.031 kB / 362.7 MB, free: 8.832 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.6e-05/0.09178, allocations: 54.73 kB / 362.7 MB, free: 8.77 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001872/0.09197, allocations: 36.64 kB / 362.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.09227, allocations: 247.8 kB / 363 MB, free: 8.453 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.327e-05/0.09236, allocations: 50.27 kB / 363.1 MB, free: 8.398 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.746e-05/0.0924, allocations: 16.38 kB / 363.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.09299, allocations: 263.9 kB / 363.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.09301, allocations: 0 / 363.3 MB, free: 8.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.843e-05/0.09305, allocations: 8 kB / 363.3 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.09306, allocations: 4 kB / 363.3 MB, free: 8.105 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004932/0.09356, allocations: 200.3 kB / 363.5 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001255/0.09482, allocations: 0.7757 MB / 364.3 MB, free: 7.07 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005895/0.09543, allocations: 299.1 kB / 364.6 MB, free: 6.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004126/0.09585, allocations: 226.6 kB / 364.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.955e-05/0.09588, allocations: 0 / 364.8 MB, free: 6.543 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004874/0.09638, allocations: 320.3 kB / 365.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.09639, allocations: 0 / 365.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001131/0.09753, allocations: 0.5708 MB / 365.7 MB, free: 5.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/0.09764, allocations: 199.9 kB / 365.9 MB, free: 5.371 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001704/0.09782, allocations: 184.2 kB / 366.1 MB, free: 5.184 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.09786, allocations: 37.7 kB / 366.1 MB, free: 5.141 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.09796, allocations: 136.8 kB / 366.3 MB, free: 5.004 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.33e-05/0.09804, allocations: 83 kB / 366.3 MB, free: 4.922 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.708e-05/0.09814, allocations: 66.02 kB / 366.4 MB, free: 4.852 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001086/0.09825, allocations: 334.8 kB / 366.7 MB, free: 4.516 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.0985, allocations: 104.6 kB / 366.8 MB, free: 4.41 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003002/0.09881, allocations: 179.3 kB / 367 MB, free: 4.215 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005429/0.09936, allocations: 412.8 kB / 367.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.09937, allocations: 0 / 367.4 MB, free: 3.766 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006888/0.1001, allocations: 446.1 kB / 367.9 MB, free: 3.305 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.742e-05/0.1001, allocations: 101 kB / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1002, allocations: 96 / 367.9 MB, free: 3.188 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.785e-05/0.1002, allocations: 8 kB / 368 MB, free: 3.18 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000183/0.1004, allocations: 39.92 kB / 368 MB, free: 3.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.1004, allocations: 4 kB / 368 MB, free: 3.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001846/0.1006, allocations: 31.73 kB / 368 MB, free: 3.105 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.1006, allocations: 15.94 kB / 368 MB, free: 3.09 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.0002155/0.1008, allocations: 244.8 kB / 368.3 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.671e-05/0.1009, allocations: 23.75 kB / 368.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.456e-05/0.1009, allocations: 26.64 kB / 368.3 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.101, allocations: 4 kB / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.101, allocations: 0 / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.101, allocations: 0 / 368.3 MB, free: 2.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.1023, allocations: 0.9435 MB / 369.3 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1023, allocations: 0 / 369.3 MB, free: 1.762 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001119/0.1025, allocations: 24.02 kB / 369.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1025, allocations: 0 / 369.3 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.1025, allocations: 15.98 kB / 369.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1025, allocations: 0 / 369.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1025, allocations: 0 / 369.3 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00093/0.1035, allocations: 0.6166 MB / 369.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.1035, allocations: 104.8 kB / 370 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.006e-05/0.1036, allocations: 16 kB / 370.1 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002187/0.1038, allocations: 19.97 kB / 370.1 MB, free: 0.918 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.842e-05/0.1039, allocations: 19.98 kB / 370.1 MB, free: 0.8984 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.104, allocations: 19.92 kB / 370.1 MB, free: 0.8789 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.99e-05/0.1041, allocations: 131.2 kB / 370.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1041, allocations: 0 / 370.2 MB, free: 0.75 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.1044, allocations: 75.84 kB / 370.3 MB, free: 0.6758 MB / 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.1448/0.2492, allocations: 1.173 MB / 371.5 MB, free: 19.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001031/0.2503, allocations: 0.5628 MB / 372.1 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.2503, allocations: 0 / 372.1 MB, free: 19.51 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004622/0.2508, allocations: 400.2 kB / 372.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007567/0.2516, allocations: 152.9 kB / 372.6 MB, free: 19.38 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00339/0.255, allocations: 2.929 MB / 375.5 MB, free: 17.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001568/0.2551, allocations: 0.7426 MB / 376.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001715/0.2553, allocations: 53.62 kB / 376.3 MB, free: 17.15 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.638e-05/0.2554, allocations: 72.05 kB / 376.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2554, allocations: 0 / 376.4 MB, free: 17.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.2774, allocations: 6.482 MB / 382.9 MB, free: 16.07 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.675/7.952, allocations: 8.531 kB / 382.9 MB, free: 16.07 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