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.001813/0.001813, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002113/0.002113, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.397/1.397, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.00187/0.00187, allocations: 67.89 kB / 377.8 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2647/0.2665, allocations: 53.41 MB / 431.2 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003794/0.2703, allocations: 2.399 MB / 433.6 MB, free: 4.273 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.2717, allocations: 0.7633 MB / 434.4 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001196/0.2719, allocations: 3.938 kB / 434.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000161/0.272, allocations: 35.7 kB / 434.4 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.2721, allocations: 55.52 kB / 434.4 MB, free: 3.41 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000393/0.2725, allocations: 111.7 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003387/0.2729, allocations: 263 kB / 434.8 MB, free: 3.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002088/0.2731, allocations: 75.61 kB / 434.9 MB, free: 2.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.2733, allocations: 123.6 kB / 435 MB, free: 2.844 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.2735, allocations: 115.6 kB / 435.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.076e-05/0.2736, allocations: 20 kB / 435.1 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.2736, allocations: 35.92 kB / 435.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.788e-05/0.2737, allocations: 51.84 kB / 435.2 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.2738, allocations: 123.3 kB / 435.3 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.2742, allocations: 287.3 kB / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2742, allocations: 0 / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2742, allocations: 0 / 435.6 MB, free: 2.227 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.2742, allocations: 0 / 435.6 MB, free: 2.227 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.001071/0.2753, allocations: 0.604 MB / 436.2 MB, free: 1.574 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.2753, allocations: 8.031 kB / 436.2 MB, free: 1.566 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.576e-05/0.2754, allocations: 58.67 kB / 436.3 MB, free: 1.5 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.2756, allocations: 44.73 kB / 436.3 MB, free: 1.457 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00035/0.2759, allocations: 182.9 kB / 436.5 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.875e-05/0.276, allocations: 79.73 kB / 436.6 MB, free: 1.164 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.2761, allocations: 20.38 kB / 436.6 MB, free: 1.145 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005572/0.2766, allocations: 260.1 kB / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.06e-05/0.2766, allocations: 0 / 436.9 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.751e-05/0.2767, allocations: 12 kB / 436.9 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.2767, allocations: 4 kB / 436.9 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004879/0.2772, allocations: 208.2 kB / 437.1 MB, free: 0.6641 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001373/0.2785, allocations: 0.7126 MB / 437.8 MB, free: 15.89 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.2791, allocations: 263.2 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.2795, allocations: 188.3 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.2795, allocations: 4 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005285/0.28, allocations: 316.3 kB / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.703e-06/0.28, allocations: 0 / 438.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of matching and sorting (n=31): time 0.001221/0.2813, allocations: 0.5719 MB / 439.1 MB, free: 14.51 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/0.2814, allocations: 203.9 kB / 439.3 MB, free: 14.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.2816, allocations: 186.7 kB / 439.5 MB, free: 14.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.738e-05/0.2816, allocations: 33.7 kB / 439.5 MB, free: 14.03 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.2817, allocations: 144.8 kB / 439.7 MB, free: 13.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.88e-05/0.2818, allocations: 87.3 kB / 439.8 MB, free: 13.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/0.2819, allocations: 70.03 kB / 439.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.2821, allocations: 334.8 kB / 440.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.2823, allocations: 108.6 kB / 440.3 MB, free: 13.28 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002815/0.2826, allocations: 171.3 kB / 440.4 MB, free: 13.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000569/0.2832, allocations: 413.5 kB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.2832, allocations: 0 / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007363/0.2839, allocations: 437.3 kB / 441.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.586e-05/0.284, allocations: 101 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.284, allocations: 192 / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.284, allocations: 8.094 kB / 441.4 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001881/0.2842, allocations: 43.84 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.2842, allocations: 7.984 kB / 441.4 MB, free: 12.02 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001752/0.2844, allocations: 39.7 kB / 441.5 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.913e-05/0.2844, allocations: 16 kB / 441.5 MB, free: 11.96 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.0002804/0.2847, allocations: 243.7 kB / 441.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.142e-05/0.2848, allocations: 27.8 kB / 441.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.616e-05/0.2848, allocations: 22.66 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.2848, allocations: 4 kB / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2848, allocations: 0 / 441.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.2848, allocations: 3.984 kB / 441.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001476/0.2863, allocations: 0.9113 MB / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2863, allocations: 0 / 442.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001065/0.2864, allocations: 27.92 kB / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.2864, allocations: 0 / 442.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.2865, allocations: 8 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.2865, allocations: 3.938 kB / 442.7 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.2865, allocations: 12.03 kB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000932/0.2874, allocations: 0.6098 MB / 443.3 MB, free: 9.977 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.802e-05/0.2874, allocations: 31.8 kB / 443.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.81e-05/0.2875, allocations: 15.98 kB / 443.4 MB, free: 9.93 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002033/0.2877, allocations: 15.98 kB / 443.4 MB, free: 9.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.838e-05/0.2878, allocations: 31.95 kB / 443.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.2878, allocations: 11.94 kB / 443.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001178/0.2879, allocations: 131.2 kB / 443.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.2879, allocations: 3.938 kB / 443.6 MB, free: 9.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003434/0.2883, allocations: 71.94 kB / 443.7 MB, free: 9.668 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.001551/0.2898, allocations: 1.187 MB / 444.8 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008918/0.2907, allocations: 0.5175 MB / 445.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2907, allocations: 0 / 445.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004672/0.2912, allocations: 325.3 kB / 445.7 MB, free: 7.547 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007008/0.2919, allocations: 151.9 kB / 445.8 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004268/0.2961, allocations: 2.94 MB / 448.8 MB, free: 4.344 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.2966, allocations: 0.7444 MB / 449.5 MB, free: 3.57 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.2968, allocations: 53.89 kB / 449.6 MB, free: 3.516 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000143/0.2969, allocations: 67.41 kB / 449.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of SimCode: time 9.31e-07/0.2969, allocations: 0 / 449.6 MB, free: 3.449 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03415/0.331, allocations: 6.888 MB / 456.5 MB, free: 12.69 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.64/10.97, allocations: 3.609 kB / 456.5 MB, free: 12.69 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: 13.531493506998231]