Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001277/0.001277, allocations: 125 kB / 17.79 MB, free: 5.121 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001348/0.001348, allocations: 190.9 kB / 20.73 MB, free: 2.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 225.6 MB / 249.1 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 51.86 kB / 365.6 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09554/0.09697, allocations: 52.15 MB / 417.8 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003826/0.1008, allocations: 2.361 MB / 420.2 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.102, allocations: 0.6777 MB / 420.8 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001012/0.1021, allocations: 4 kB / 420.8 MB, free: 9.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001494/0.1023, allocations: 31.66 kB / 420.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001058/0.1024, allocations: 59.48 kB / 420.9 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.1027, allocations: 91.77 kB / 421 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000326/0.103, allocations: 259.1 kB / 421.3 MB, free: 9.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002086/0.1032, allocations: 83.05 kB / 421.3 MB, free: 9 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.1034, allocations: 123.5 kB / 421.5 MB, free: 8.879 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/0.1036, allocations: 111.6 kB / 421.6 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.313e-05/0.1036, allocations: 20 kB / 421.6 MB, free: 8.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.09e-05/0.1037, allocations: 27.94 kB / 421.6 MB, free: 8.723 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.251e-05/0.1038, allocations: 55.84 kB / 421.7 MB, free: 8.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.1039, allocations: 123.4 kB / 421.8 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003365/0.1042, allocations: 282.7 kB / 422.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.1042, allocations: 0 / 422.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1042, allocations: 0 / 422.1 MB, free: 8.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.1042, allocations: 4 kB / 422.1 MB, free: 8.266 MB / 350.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.1053, allocations: 0.6676 MB / 422.7 MB, free: 7.531 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.1053, allocations: 12.03 kB / 422.8 MB, free: 7.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.811e-05/0.1054, allocations: 58.72 kB / 422.8 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.82e-05/0.1055, allocations: 24.8 kB / 422.8 MB, free: 7.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003578/0.1058, allocations: 241.4 kB / 423.1 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.638e-05/0.1059, allocations: 54.2 kB / 423.1 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.1059, allocations: 20.36 kB / 423.1 MB, free: 7.074 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005425/0.1065, allocations: 256.1 kB / 423.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/0.1065, allocations: 3.938 kB / 423.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.1065, allocations: 8 kB / 423.4 MB, free: 6.805 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.1065, allocations: 4 kB / 423.4 MB, free: 6.801 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004795/0.107, allocations: 208.3 kB / 423.6 MB, free: 6.598 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/0.1083, allocations: 0.7601 MB / 424.4 MB, free: 5.773 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000565/0.1089, allocations: 261.3 kB / 424.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004044/0.1093, allocations: 200.9 kB / 424.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.596e-05/0.1093, allocations: 0 / 424.8 MB, free: 5.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005301/0.1099, allocations: 315 kB / 425.1 MB, free: 4.977 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.1099, allocations: 4 kB / 425.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001194/0.111, allocations: 0.5749 MB / 425.7 MB, free: 4.379 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001481/0.1112, allocations: 199.9 kB / 425.9 MB, free: 4.141 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1114, allocations: 187.1 kB / 426.1 MB, free: 3.949 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.1114, allocations: 33.7 kB / 426.1 MB, free: 3.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.1115, allocations: 132.9 kB / 426.3 MB, free: 3.773 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.652e-05/0.1116, allocations: 87.36 kB / 426.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.942e-05/0.1117, allocations: 66.02 kB / 426.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1118, allocations: 334.8 kB / 426.7 MB, free: 3.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002332/0.1121, allocations: 112.6 kB / 426.8 MB, free: 3.164 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002722/0.1123, allocations: 167.3 kB / 427 MB, free: 2.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005445/0.1129, allocations: 419.2 kB / 427.4 MB, free: 2.523 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.1129, allocations: 3.938 kB / 427.4 MB, free: 2.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007661/0.1137, allocations: 451.7 kB / 427.9 MB, free: 2.055 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.375e-05/0.1137, allocations: 101 kB / 428 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1137, allocations: 4 kB / 428 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1138, allocations: 0 / 428 MB, free: 1.934 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.1139, allocations: 35.92 kB / 428 MB, free: 1.898 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.746e-06/0.1139, allocations: 4 kB / 428 MB, free: 1.895 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001765/0.1141, allocations: 35.97 kB / 428 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.171e-05/0.1141, allocations: 12 kB / 428 MB, free: 1.848 MB / 350.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.0002457/0.1144, allocations: 245.5 kB / 428.3 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.1144, allocations: 31.8 kB / 428.3 MB, free: 1.555 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.846e-05/0.1145, allocations: 22.64 kB / 428.3 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.1145, allocations: 4 kB / 428.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1145, allocations: 0 / 428.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.1145, allocations: 4 kB / 428.4 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1159, allocations: 0.9356 MB / 429.3 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1159, allocations: 4.031 kB / 429.3 MB, free: 0.5156 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001139/0.116, allocations: 23.98 kB / 429.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.116, allocations: 0 / 429.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.116, allocations: 11.98 kB / 429.3 MB, free: 492 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.1161, allocations: 4 kB / 429.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1161, allocations: 0 / 429.3 MB, free: 488 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000938/0.117, allocations: 0.6165 MB / 429.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.969e-05/0.1171, allocations: 108.9 kB / 430.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.449e-05/0.1171, allocations: 12 kB / 430.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.1173, allocations: 19.98 kB / 430.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/0.1174, allocations: 27.97 kB / 430.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.284e-05/0.1175, allocations: 19.92 kB / 430.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1176, allocations: 131.4 kB / 430.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1176, allocations: 0 / 430.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003232/0.1179, allocations: 75.88 kB / 430.3 MB, free: 15.42 MB / 366.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.001336/0.1192, allocations: 1.184 MB / 431.5 MB, free: 14.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008054/0.12, allocations: 0.5135 MB / 432 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.12, allocations: 0 / 432 MB, free: 13.64 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004534/0.1205, allocations: 326.6 kB / 432.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006603/0.1212, allocations: 149.9 kB / 432.5 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.1249, allocations: 2.926 MB / 435.4 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.1253, allocations: 0.7444 MB / 436.2 MB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001514/0.1255, allocations: 49.89 kB / 436.2 MB, free: 9.289 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001073/0.1256, allocations: 67.42 kB / 436.3 MB, free: 9.223 MB / 366.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1256, allocations: 4 kB / 436.3 MB, free: 9.219 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04341/0.169, allocations: 6.558 MB / 442.8 MB, free: 2.805 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.957/8.126, allocations: 12.48 kB / 442.9 MB, free: 2.793 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.777657180093229]