Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002171/0.002171, allocations: 206 kB / 23.73 MB, free: 4.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.417/1.417, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_4_1_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_1_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.001506/0.001506, allocations: 43.92 kB / 377.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2555/0.257, allocations: 53.35 MB / 431.1 MB, free: 6.656 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003676/0.2606, allocations: 2.282 MB / 433.4 MB, free: 4.367 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.262, allocations: 0.6973 MB / 434.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001095/0.2621, allocations: 3.938 kB / 434.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2623, allocations: 31.66 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.2624, allocations: 59.48 kB / 434.2 MB, free: 3.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003749/0.2627, allocations: 107.8 kB / 434.3 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003266/0.2631, allocations: 267 kB / 434.5 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2633, allocations: 70.05 kB / 434.6 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002461/0.2635, allocations: 123.6 kB / 434.7 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000164/0.2637, allocations: 107.5 kB / 434.8 MB, free: 2.906 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.706e-05/0.2637, allocations: 24 kB / 434.8 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.671e-05/0.2638, allocations: 24 kB / 434.9 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.791e-05/0.2639, allocations: 55.83 kB / 434.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001202/0.264, allocations: 99.53 kB / 435 MB, free: 2.707 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000418/0.2644, allocations: 298.8 kB / 435.3 MB, free: 2.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.2644, allocations: 4 kB / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2644, allocations: 0 / 435.3 MB, free: 2.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.2644, allocations: 0 / 435.3 MB, free: 2.41 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.001004/0.2654, allocations: 0.5923 MB / 435.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.2655, allocations: 8.031 kB / 435.9 MB, free: 1.762 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.041e-05/0.2655, allocations: 54.73 kB / 436 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.2657, allocations: 44.73 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.2661, allocations: 186.1 kB / 436.2 MB, free: 1.449 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.954e-05/0.2662, allocations: 83.73 kB / 436.3 MB, free: 1.355 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.086e-05/0.2662, allocations: 16.38 kB / 436.3 MB, free: 1.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.2668, allocations: 361.1 kB / 436.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.2669, allocations: 0 / 436.6 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.2669, allocations: 7.984 kB / 436.6 MB, free: 0.9531 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.813e-06/0.2669, allocations: 8 kB / 436.7 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005428/0.2674, allocations: 271.7 kB / 436.9 MB, free: 0.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.2688, allocations: 0.6737 MB / 437.6 MB, free: 15.94 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/0.2694, allocations: 333.9 kB / 437.9 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004733/0.2699, allocations: 256.4 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.679e-05/0.2699, allocations: 4 kB / 438.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006132/0.2705, allocations: 417.4 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.613e-06/0.2705, allocations: 4 kB / 438.6 MB, free: 14.86 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001275/0.2718, allocations: 0.7235 MB / 439.3 MB, free: 14.09 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001423/0.2719, allocations: 207.8 kB / 439.5 MB, free: 13.85 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2721, allocations: 194.7 kB / 439.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.2721, allocations: 41.69 kB / 439.7 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.2723, allocations: 136.8 kB / 439.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.528e-05/0.2723, allocations: 75.39 kB / 440 MB, free: 13.39 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.2724, allocations: 70.02 kB / 440 MB, free: 13.31 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2726, allocations: 334.8 kB / 440.3 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002933/0.2729, allocations: 201.7 kB / 440.5 MB, free: 12.76 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000353/0.2732, allocations: 297.9 kB / 440.8 MB, free: 12.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.2738, allocations: 423.4 kB / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2738, allocations: 0 / 441.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008046/0.2746, allocations: 0.5386 MB / 441.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.454e-05/0.2747, allocations: 97.03 kB / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2747, allocations: 0 / 441.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.117e-05/0.2747, allocations: 11.98 kB / 441.9 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.2749, allocations: 39.92 kB / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.2749, allocations: 0 / 441.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.2751, allocations: 47.8 kB / 442 MB, free: 11.17 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.369e-05/0.2751, allocations: 12 kB / 442 MB, free: 11.16 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.0002485/0.2754, allocations: 235.8 kB / 442.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.933e-05/0.2754, allocations: 27.8 kB / 442.2 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.228e-05/0.2755, allocations: 26.64 kB / 442.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2755, allocations: 4 kB / 442.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2755, allocations: 4 kB / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.2755, allocations: 0 / 442.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001483/0.277, allocations: 0.9343 MB / 443.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.277, allocations: 0 / 443.2 MB, free: 9.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001156/0.2771, allocations: 27.95 kB / 443.2 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.68e-06/0.2771, allocations: 4 kB / 443.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.787e-05/0.2771, allocations: 11.98 kB / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.2771, allocations: 0 / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2771, allocations: 0 / 443.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.2782, allocations: 0.6823 MB / 443.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.711e-05/0.2782, allocations: 19.8 kB / 444 MB, free: 9.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.2783, allocations: 19.98 kB / 444 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2785, allocations: 19.98 kB / 444 MB, free: 9.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.641e-05/0.2786, allocations: 27.89 kB / 444 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.836e-05/0.2786, allocations: 15.94 kB / 444 MB, free: 8.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001265/0.2787, allocations: 132.3 kB / 444.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2787, allocations: 0 / 444.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003437/0.2791, allocations: 79.89 kB / 444.2 MB, free: 8.754 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.001427/0.2805, allocations: 1.245 MB / 445.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009774/0.2815, allocations: 0.6686 MB / 446.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2815, allocations: 0 / 446.2 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005225/0.282, allocations: 362 kB / 446.5 MB, free: 6.332 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007249/0.2827, allocations: 157.7 kB / 446.7 MB, free: 6.191 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004295/0.287, allocations: 3.361 MB / 450 MB, free: 2.609 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.2872, allocations: 137.6 kB / 450.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001644/0.2873, allocations: 49.91 kB / 450.2 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.2874, allocations: 67.41 kB / 450.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of SimCode: time 5.31e-07/0.2874, allocations: 0 / 450.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03585/0.3233, allocations: 7.615 MB / 457.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/11.45, allocations: 3.984 kB / 457.9 MB, free: 10.93 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_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_4_1_0_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable aD_Converter.z from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.T0 in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.T0 from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.np in file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.np from file Modelica_4.1.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.021808078046888]