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.001695/0.001695, allocations: 112 kB / 20.43 MB, free: 1.457 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.001988/0.001988, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.434/1.434, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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.001627/0.001627, allocations: 43.94 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2618/0.2635, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003995/0.2675, allocations: 2.383 MB / 425 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001631/0.2691, allocations: 0.6816 MB / 425.7 MB, free: 11.51 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002072/0.2693, allocations: 7.938 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.2695, allocations: 31.64 kB / 425.7 MB, free: 11.47 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2697, allocations: 55.5 kB / 425.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.2701, allocations: 95.75 kB / 425.9 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004627/0.2706, allocations: 259.1 kB / 426.1 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002544/0.2709, allocations: 79.59 kB / 426.2 MB, free: 10.99 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002855/0.2711, allocations: 119.6 kB / 426.3 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002038/0.2713, allocations: 119.5 kB / 426.4 MB, free: 10.75 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.692e-05/0.2714, allocations: 20 kB / 426.5 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.748e-05/0.2714, allocations: 24 kB / 426.5 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.2715, allocations: 51.84 kB / 426.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001637/0.2717, allocations: 123.4 kB / 426.7 MB, free: 10.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004027/0.2721, allocations: 283.2 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2721, allocations: 0 / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.2721, allocations: 4 kB / 426.9 MB, free: 10.26 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.716e-05/0.2721, allocations: 0 / 426.9 MB, free: 10.26 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.00117/0.2733, allocations: 0.6001 MB / 427.5 MB, free: 9.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2733, allocations: 12.03 kB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.913e-05/0.2734, allocations: 58.67 kB / 427.6 MB, free: 9.535 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.2735, allocations: 28.8 kB / 427.6 MB, free: 9.508 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.2739, allocations: 178.9 kB / 427.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.274, allocations: 79.95 kB / 427.9 MB, free: 9.215 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.268e-05/0.274, allocations: 16.38 kB / 427.9 MB, free: 9.199 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006381/0.2747, allocations: 260 kB / 428.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2747, allocations: 0 / 428.2 MB, free: 8.938 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.086e-05/0.2747, allocations: 15.98 kB / 428.2 MB, free: 8.922 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2747, allocations: 8 kB / 428.2 MB, free: 8.914 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005166/0.2753, allocations: 196.3 kB / 428.4 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001541/0.2768, allocations: 0.7241 MB / 429.1 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006099/0.2774, allocations: 251.2 kB / 429.3 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000421/0.2778, allocations: 200 kB / 429.5 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.2778, allocations: 3.938 kB / 429.5 MB, free: 7.488 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005568/0.2784, allocations: 316.3 kB / 429.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.2784, allocations: 0 / 429.9 MB, free: 7.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001243/0.2796, allocations: 0.5762 MB / 430.4 MB, free: 6.555 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.2798, allocations: 207.8 kB / 430.6 MB, free: 6.309 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.28, allocations: 186.4 kB / 430.8 MB, free: 6.117 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.327e-05/0.28, allocations: 37.69 kB / 430.9 MB, free: 6.074 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.2801, allocations: 140.9 kB / 431 MB, free: 5.934 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.917e-05/0.2802, allocations: 75.39 kB / 431.1 MB, free: 5.859 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.2803, allocations: 70.02 kB / 431.1 MB, free: 5.781 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001562/0.2805, allocations: 330.8 kB / 431.5 MB, free: 5.449 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002516/0.2807, allocations: 112.6 kB / 431.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003087/0.2811, allocations: 171.1 kB / 431.7 MB, free: 5.148 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006412/0.2817, allocations: 419 kB / 432.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/0.2817, allocations: 0 / 432.1 MB, free: 4.691 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0008016/0.2825, allocations: 449.6 kB / 432.6 MB, free: 4.23 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/0.2826, allocations: 104.3 kB / 432.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.2826, allocations: 0 / 432.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.2826, allocations: 8 kB / 432.7 MB, free: 4.105 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000208/0.2829, allocations: 43.91 kB / 432.7 MB, free: 4.062 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.2829, allocations: 4 kB / 432.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001978/0.2831, allocations: 35.95 kB / 432.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.823e-05/0.2831, allocations: 12 kB / 432.8 MB, free: 4.012 MB / 334.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.0002758/0.2834, allocations: 235.8 kB / 433 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.95e-05/0.2834, allocations: 27.8 kB / 433 MB, free: 3.734 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/0.2835, allocations: 26.64 kB / 433.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.2835, allocations: 4 kB / 433.1 MB, free: 3.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2835, allocations: 4 kB / 433.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.2835, allocations: 0 / 433.1 MB, free: 3.699 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001468/0.285, allocations: 0.9112 MB / 434 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.285, allocations: 3.938 kB / 434 MB, free: 2.719 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001179/0.2851, allocations: 23.98 kB / 434 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2851, allocations: 4 kB / 434 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.396e-05/0.2851, allocations: 7.984 kB / 434 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2851, allocations: 0 / 434 MB, free: 2.684 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.2851, allocations: 4 kB / 434 MB, free: 2.68 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009864/0.2861, allocations: 0.6206 MB / 434.7 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.287e-05/0.2861, allocations: 19.86 kB / 434.7 MB, free: 2.008 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.156e-05/0.2862, allocations: 15.94 kB / 434.7 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.2864, allocations: 23.97 kB / 434.7 MB, free: 1.969 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.856e-05/0.2865, allocations: 23.97 kB / 434.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.981e-05/0.2865, allocations: 19.92 kB / 434.8 MB, free: 1.926 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001123/0.2866, allocations: 128.3 kB / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2866, allocations: 0 / 434.9 MB, free: 1.801 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003442/0.287, allocations: 75.94 kB / 435 MB, free: 1.727 MB / 334.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.001425/0.2884, allocations: 1.183 MB / 436.1 MB, free: 0.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008978/0.2893, allocations: 0.5174 MB / 436.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.2893, allocations: 0 / 436.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000487/0.2898, allocations: 318.8 kB / 437 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007112/0.2905, allocations: 146.9 kB / 437.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004176/0.2947, allocations: 2.926 MB / 440 MB, free: 12.42 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2951, allocations: 0.7483 MB / 440.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.2953, allocations: 45.91 kB / 440.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.2954, allocations: 67.42 kB / 440.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of SimCode: time 9.82e-07/0.2954, allocations: 384 / 440.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.331, allocations: 6.859 MB / 447.8 MB, free: 4.852 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.31, allocations: 17.75 kB / 447.8 MB, free: 4.844 MB / 350.1 MB " [Timeout remaining time 649] (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/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/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: 13.774139693006873]