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.001876/0.001876, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.002431/0.002431, allocations: 203 kB / 23.72 MB, free: 4.391 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.578/1.578, allocations: 230.5 MB / 257.4 MB, free: 7.734 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.00263/0.00263, allocations: 63.89 kB / 377.7 MB, free: 2.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2636/0.2663, allocations: 53.4 MB / 431.1 MB, free: 6.461 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003641/0.2699, allocations: 2.276 MB / 433.4 MB, free: 4.18 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001335/0.2712, allocations: 0.705 MB / 434.1 MB, free: 3.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001168/0.2714, allocations: 7.938 kB / 434.1 MB, free: 3.461 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001478/0.2715, allocations: 27.72 kB / 434.2 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001132/0.2716, allocations: 59.48 kB / 434.2 MB, free: 3.375 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003725/0.272, allocations: 111.7 kB / 434.3 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003168/0.2723, allocations: 263 kB / 434.6 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001993/0.2725, allocations: 73.3 kB / 434.7 MB, free: 2.934 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002374/0.2727, allocations: 119.6 kB / 434.8 MB, free: 2.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001723/0.2729, allocations: 107.5 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.569e-05/0.273, allocations: 20 kB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.182e-05/0.273, allocations: 32 kB / 434.9 MB, free: 2.66 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.554e-05/0.2731, allocations: 51.77 kB / 435 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001167/0.2732, allocations: 99.53 kB / 435.1 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003503/0.2736, allocations: 294.8 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2736, allocations: 3.984 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2736, allocations: 0 / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.142e-06/0.2736, allocations: 4 kB / 435.4 MB, free: 2.215 MB / 334.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.001023/0.2746, allocations: 0.5961 MB / 436 MB, free: 1.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2746, allocations: 15.98 kB / 436 MB, free: 1.555 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.355e-05/0.2747, allocations: 54.73 kB / 436 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001657/0.2749, allocations: 44.73 kB / 436.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003142/0.2752, allocations: 178.9 kB / 436.3 MB, free: 1.25 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.464e-05/0.2753, allocations: 83.73 kB / 436.3 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.601e-05/0.2753, allocations: 16.38 kB / 436.4 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006097/0.2759, allocations: 353.2 kB / 436.7 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.2759, allocations: 4 kB / 436.7 MB, free: 0.7656 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.673e-05/0.276, allocations: 8 kB / 436.7 MB, free: 0.7578 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.276, allocations: 7.938 kB / 436.7 MB, free: 0.75 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005311/0.2765, allocations: 271.7 kB / 437 MB, free: 484 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2778, allocations: 0.6776 MB / 437.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006313/0.2785, allocations: 330 kB / 438 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004469/0.2789, allocations: 256.4 kB / 438.2 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.2789, allocations: 3.938 kB / 438.2 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/0.2795, allocations: 417.4 kB / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.513e-06/0.2795, allocations: 0 / 438.6 MB, free: 14.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.00129/0.2808, allocations: 0.7308 MB / 439.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.2809, allocations: 207.9 kB / 439.6 MB, free: 13.65 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.2811, allocations: 186.7 kB / 439.8 MB, free: 13.45 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.038e-05/0.2812, allocations: 41.62 kB / 439.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.2813, allocations: 136.9 kB / 439.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.2813, allocations: 79.38 kB / 440 MB, free: 13.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001083/0.2814, allocations: 70.02 kB / 440.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.2816, allocations: 338.8 kB / 440.4 MB, free: 12.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003062/0.2819, allocations: 205.7 kB / 440.6 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.2823, allocations: 286.1 kB / 440.9 MB, free: 12.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005578/0.2828, allocations: 421.4 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.2828, allocations: 3.938 kB / 441.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007439/0.2836, allocations: 0.5304 MB / 441.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.308e-05/0.2836, allocations: 93.22 kB / 441.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2836, allocations: 4 kB / 441.9 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.596e-05/0.2836, allocations: 7.938 kB / 441.9 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001802/0.2838, allocations: 39.91 kB / 442 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.2838, allocations: 12.03 kB / 442 MB, free: 11.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.284, allocations: 39.77 kB / 442 MB, free: 10.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.137e-05/0.284, allocations: 15.94 kB / 442 MB, free: 10.97 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.0002353/0.2843, allocations: 239.8 kB / 442.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.2843, allocations: 27.8 kB / 442.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.2844, allocations: 22.66 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.2844, allocations: 8 kB / 442.3 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.2844, allocations: 3.984 kB / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.2844, allocations: 0 / 442.3 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.2858, allocations: 0.9421 MB / 443.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2858, allocations: 0 / 443.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001048/0.2859, allocations: 23.92 kB / 443.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.2859, allocations: 0 / 443.3 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.971e-05/0.2859, allocations: 15.98 kB / 443.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.2859, allocations: 0 / 443.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.2859, allocations: 0 / 443.3 MB, free: 9.594 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009682/0.2869, allocations: 0.6785 MB / 444 MB, free: 8.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.2869, allocations: 19.8 kB / 444 MB, free: 8.852 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.703e-05/0.287, allocations: 23.98 kB / 444 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/0.2872, allocations: 15.98 kB / 444.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.221e-05/0.2873, allocations: 23.91 kB / 444.1 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.263e-05/0.2873, allocations: 23.91 kB / 444.1 MB, free: 8.766 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001078/0.2874, allocations: 136.2 kB / 444.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2874, allocations: 0 / 444.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003202/0.2877, allocations: 83.89 kB / 444.3 MB, free: 8.551 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.001404/0.2891, allocations: 1.233 MB / 445.6 MB, free: 7.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000898/0.29, allocations: 0.6651 MB / 446.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.29, allocations: 0 / 446.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2905, allocations: 370.3 kB / 446.6 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006675/0.2912, allocations: 153.4 kB / 446.7 MB, free: 5.996 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004055/0.2952, allocations: 3.366 MB / 450.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.2954, allocations: 137.6 kB / 450.2 MB, free: 2.262 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001668/0.2955, allocations: 49.89 kB / 450.3 MB, free: 2.211 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/0.2957, allocations: 67.41 kB / 450.3 MB, free: 2.145 MB / 350.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2957, allocations: 4 kB / 450.3 MB, free: 2.141 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04836/0.344, allocations: 7.6 MB / 457.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.25, allocations: 9.766 kB / 458 MB, free: 10.68 MB / 366.1 MB " [Timeout remaining time 649] (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: 14.058992017060518]