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.001098/0.001098, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001292/0.001293, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.283/1.283, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001043/0.001043, allocations: 63.77 kB / 306.4 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08858/0.08964, allocations: 50.53 MB / 356.9 MB, free: 14.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003449/0.09312, allocations: 2.431 MB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001297/0.09443, allocations: 0.7479 MB / 360.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001289/0.09457, allocations: 4 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.09472, allocations: 23.78 kB / 360.1 MB, free: 10.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001172/0.09484, allocations: 51.61 kB / 360.1 MB, free: 10.93 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000312/0.09516, allocations: 83.86 kB / 360.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002546/0.09543, allocations: 247 kB / 360.5 MB, free: 10.61 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001871/0.09562, allocations: 106.9 kB / 360.6 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002317/0.09586, allocations: 111.6 kB / 360.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001481/0.09602, allocations: 103.6 kB / 360.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.326e-05/0.09607, allocations: 19.94 kB / 360.8 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.268e-05/0.09615, allocations: 19.98 kB / 360.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.586e-05/0.09621, allocations: 47.78 kB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001322/0.09635, allocations: 119.4 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002982/0.09665, allocations: 267.4 kB / 361.2 MB, free: 9.828 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.09667, allocations: 4 kB / 361.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.09668, allocations: 0 / 361.2 MB, free: 9.824 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.121e-06/0.09669, allocations: 0 / 361.2 MB, free: 9.824 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.000989/0.09768, allocations: 0.6677 MB / 361.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.09772, allocations: 12.03 kB / 361.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.495e-05/0.09781, allocations: 62.72 kB / 362 MB, free: 9.004 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.09803, allocations: 36.64 kB / 362 MB, free: 8.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003427/0.09838, allocations: 247.8 kB / 362.3 MB, free: 8.688 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.09847, allocations: 46.25 kB / 362.3 MB, free: 8.637 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.434e-05/0.09852, allocations: 24.38 kB / 362.3 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006535/0.09918, allocations: 251.9 kB / 362.6 MB, free: 8.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.09921, allocations: 3.938 kB / 362.6 MB, free: 8.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.09925, allocations: 15.98 kB / 362.6 MB, free: 8.34 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.09926, allocations: 4 kB / 362.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006172/0.09988, allocations: 204.3 kB / 362.8 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001471/0.1014, allocations: 0.7485 MB / 363.6 MB, free: 7.324 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.102, allocations: 303.1 kB / 363.8 MB, free: 7.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004421/0.1024, allocations: 224.4 kB / 364.1 MB, free: 6.797 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1025, allocations: 8 kB / 364.1 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005144/0.103, allocations: 308.3 kB / 364.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.834e-06/0.103, allocations: 0 / 364.4 MB, free: 6.457 MB / 302.1 MB Notification: Performance of matching and sorting (n=31): time 0.001153/0.1042, allocations: 0.5721 MB / 364.9 MB, free: 5.867 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.1043, allocations: 203.9 kB / 365.1 MB, free: 5.625 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1045, allocations: 194.6 kB / 365.3 MB, free: 5.422 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.1045, allocations: 37.7 kB / 365.4 MB, free: 5.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.097e-05/0.1046, allocations: 132.8 kB / 365.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.438e-05/0.1047, allocations: 82.94 kB / 365.6 MB, free: 5.164 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.703e-05/0.1048, allocations: 66.03 kB / 365.7 MB, free: 5.094 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1049, allocations: 330.8 kB / 366 MB, free: 4.762 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002471/0.1051, allocations: 112.6 kB / 366.1 MB, free: 4.648 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000286/0.1054, allocations: 175.2 kB / 366.3 MB, free: 4.457 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005585/0.106, allocations: 417.4 kB / 366.7 MB, free: 4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.106, allocations: 4 kB / 366.7 MB, free: 3.996 MB / 302.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000767/0.1068, allocations: 441.6 kB / 367.1 MB, free: 3.543 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.1069, allocations: 97.03 kB / 367.2 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.1069, allocations: 0 / 367.2 MB, free: 3.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.1069, allocations: 4 kB / 367.2 MB, free: 3.426 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001798/0.1071, allocations: 43.91 kB / 367.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.1071, allocations: 0 / 367.2 MB, free: 3.383 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.1073, allocations: 35.73 kB / 367.3 MB, free: 3.348 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.1073, allocations: 15.94 kB / 367.3 MB, free: 3.332 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.0002145/0.1075, allocations: 244.9 kB / 367.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.385e-05/0.1076, allocations: 23.75 kB / 367.6 MB, free: 3.051 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.707e-05/0.1077, allocations: 26.59 kB / 367.6 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1077, allocations: 7.984 kB / 367.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1077, allocations: 0 / 367.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1077, allocations: 0 / 367.6 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.109, allocations: 0.9318 MB / 368.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.109, allocations: 0 / 368.5 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001109/0.1091, allocations: 31.98 kB / 368.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.1092, allocations: 0 / 368.5 MB, free: 1.977 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.466e-05/0.1092, allocations: 7.984 kB / 368.6 MB, free: 1.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/0.1092, allocations: 7.938 kB / 368.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.1092, allocations: 0 / 368.6 MB, free: 1.961 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000918/0.1101, allocations: 0.6096 MB / 369.2 MB, free: 1.32 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.685e-05/0.1102, allocations: 100.9 kB / 369.3 MB, free: 1.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.741e-05/0.1103, allocations: 15.98 kB / 369.3 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002208/0.1105, allocations: 27.98 kB / 369.3 MB, free: 1.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.451e-05/0.1106, allocations: 19.97 kB / 369.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.515e-05/0.1106, allocations: 15.92 kB / 369.4 MB, free: 1.125 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.773e-05/0.1107, allocations: 131.4 kB / 369.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1107, allocations: 0 / 369.5 MB, free: 0.9961 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003298/0.1111, allocations: 83.78 kB / 369.6 MB, free: 0.9141 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.161/0.2721, allocations: 1.175 MB / 370.7 MB, free: 20.04 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00101/0.2731, allocations: 0.5426 MB / 371.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.2731, allocations: 1.469 kB / 371.3 MB, free: 19.85 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.2736, allocations: 399.7 kB / 371.7 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007138/0.2743, allocations: 132.2 kB / 371.8 MB, free: 19.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.2779, allocations: 2.99 MB / 374.8 MB, free: 18.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002171/0.2782, allocations: 0.7409 MB / 375.5 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001991/0.2784, allocations: 56.73 kB / 375.6 MB, free: 17.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001079/0.2785, allocations: 67.27 kB / 375.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of SimCode: time 1.132e-06/0.2785, allocations: 0 / 375.7 MB, free: 17.32 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0187/0.2972, allocations: 6.132 MB / 381.8 MB, free: 16.57 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.2974, allocations: 206.9 kB / 382 MB, free: 16.31 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.754/2.051, allocations: 1.438 kB / 382 MB, free: 16.31 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