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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001685/0.001685, allocations: 128.4 kB / 17.8 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002007/0.002007, allocations: 214.5 kB / 20.75 MB, free: 2.309 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 230.4 MB / 254 MB, free: 15.05 MB / 206.1 MB " [Timeout remaining time 178] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002233/0.002233, allocations: 63.91 kB / 373 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1112, allocations: 53.37 MB / 426.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004538/0.1158, allocations: 2.394 MB / 428.8 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001742/0.1175, allocations: 0.7555 MB / 429.5 MB, free: 1.484 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001793/0.1177, allocations: 7.938 kB / 429.5 MB, free: 1.477 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001781/0.1179, allocations: 27.72 kB / 429.5 MB, free: 1.449 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00017/0.118, allocations: 55.5 kB / 429.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000443/0.1185, allocations: 107.7 kB / 429.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004018/0.1189, allocations: 267 kB / 430 MB, free: 1.027 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000223/0.1191, allocations: 83.05 kB / 430 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1194, allocations: 119.6 kB / 430.2 MB, free: 0.8281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002408/0.1197, allocations: 119.6 kB / 430.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.1197, allocations: 20 kB / 430.3 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.225e-05/0.1198, allocations: 28 kB / 430.3 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.825e-05/0.1199, allocations: 51.78 kB / 430.4 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001847/0.1201, allocations: 127.4 kB / 430.5 MB, free: 500 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.1206, allocations: 286.8 kB / 430.8 MB, free: 212 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.764e-06/0.1206, allocations: 4 kB / 430.8 MB, free: 208 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.1206, allocations: 0 / 430.8 MB, free: 208 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.474e-05/0.1206, allocations: 0 / 430.8 MB, free: 208 kB / 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.2012/0.3218, allocations: 0.6719 MB / 431.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/0.3219, allocations: 9.688 kB / 431.5 MB, free: 10.94 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.323e-05/0.3219, allocations: 52.89 kB / 431.5 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002123/0.3221, allocations: 41.98 kB / 431.6 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000371/0.3225, allocations: 237.1 kB / 431.8 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.838e-05/0.3226, allocations: 56.25 kB / 431.8 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.203e-05/0.3226, allocations: 25.44 kB / 431.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005977/0.3232, allocations: 256.5 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.3232, allocations: 0 / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.957e-05/0.3233, allocations: 9.969 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.3233, allocations: 4.906 kB / 432.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004846/0.3238, allocations: 199.8 kB / 432.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.3249, allocations: 0.7593 MB / 433.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004897/0.3254, allocations: 262.4 kB / 433.3 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.3258, allocations: 187.9 kB / 433.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.3258, allocations: 2.312 kB / 433.5 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000442/0.3262, allocations: 314.1 kB / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.283e-06/0.3262, allocations: 0 / 433.8 MB, free: 10.09 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001072/0.3273, allocations: 0.5825 MB / 434.4 MB, free: 9.973 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.741e-05/0.3274, allocations: 202.9 kB / 434.6 MB, free: 9.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3275, allocations: 184.5 kB / 434.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.3275, allocations: 39.84 kB / 434.8 MB, free: 9.613 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.853e-05/0.3276, allocations: 135.4 kB / 435 MB, free: 9.52 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.122e-05/0.3277, allocations: 85.25 kB / 435.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.3277, allocations: 67.56 kB / 435.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.539e-05/0.3278, allocations: 335.5 kB / 435.4 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002231/0.328, allocations: 109.2 kB / 435.6 MB, free: 9.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000252/0.3283, allocations: 170.8 kB / 435.7 MB, free: 9 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004827/0.3288, allocations: 414 kB / 436.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.406e-06/0.3288, allocations: 7.984 kB / 436.1 MB, free: 8.715 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006586/0.3294, allocations: 438.8 kB / 436.6 MB, free: 8.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.527e-05/0.3295, allocations: 96.47 kB / 436.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3295, allocations: 2.25 kB / 436.7 MB, free: 8.398 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.3295, allocations: 6.094 kB / 436.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.3297, allocations: 38.98 kB / 436.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.3297, allocations: 6.406 kB / 436.7 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.3299, allocations: 38.34 kB / 436.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.435e-05/0.3299, allocations: 17.73 kB / 436.8 MB, free: 8.367 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.0001876/0.3301, allocations: 232.8 kB / 437 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.3302, allocations: 27.2 kB / 437 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.105e-05/0.3302, allocations: 29.86 kB / 437 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/0.3302, allocations: 3.172 kB / 437.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3302, allocations: 0 / 437.1 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.3302, allocations: 5.453 kB / 437.1 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001294/0.3315, allocations: 0.9426 MB / 438 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3315, allocations: 192 / 438 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.3316, allocations: 26.62 kB / 438 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.087e-06/0.3316, allocations: 8.25 kB / 438 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.561e-05/0.3317, allocations: 11.64 kB / 438 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.3317, allocations: 2.047 kB / 438 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.3317, allocations: 4.828 kB / 438.1 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008512/0.3325, allocations: 0.6168 MB / 438.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.3326, allocations: 104.5 kB / 438.8 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/0.3326, allocations: 15.77 kB / 438.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.3328, allocations: 18.94 kB / 438.8 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.977e-05/0.3329, allocations: 25.67 kB / 438.8 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-05/0.3329, allocations: 12.36 kB / 438.8 MB, free: 7.102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.592e-05/0.333, allocations: 132.9 kB / 439 MB, free: 7.008 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.333, allocations: 1.125 kB / 439 MB, free: 7.008 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003354/0.3333, allocations: 78.3 kB / 439 MB, free: 6.992 MB / 350.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.001103/0.3344, allocations: 1.18 MB / 440.2 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007566/0.3352, allocations: 0.5203 MB / 440.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3352, allocations: 0 / 440.7 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004216/0.3356, allocations: 322 kB / 441.1 MB, free: 5.652 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006969/0.3363, allocations: 144.7 kB / 441.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003428/0.3398, allocations: 2.933 MB / 444.1 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.3399, allocations: 0.7471 MB / 444.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001755/0.3401, allocations: 50.44 kB / 444.9 MB, free: 3.008 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3402, allocations: 68.27 kB / 445 MB, free: 2.961 MB / 350.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3402, allocations: 0 / 445 MB, free: 2.961 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03151/0.3717, allocations: 6.59 MB / 451.6 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.503/8.875, allocations: 16.38 kB / 451.6 MB, free: 1.703 MB / 350.1 MB " [Timeout remaining time 651] (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv --start-time 0 --stop-time 0.2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 3.57079e-05 Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "Error: Could not read variable aD_Converter.z in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable aD_Converter.z from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.T0 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.T0 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.np in file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.np from file Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.669595445971936]