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.001228/0.001228, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 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.001668/0.001668, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.9077/0.9077, allocations: 177 MB / 204.1 MB, free: 5.766 MB / 186.7 MB " [Timeout remaining time 179] 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 1.373e-06/1.373e-06, allocations: 0 / 324.5 MB, free: 15.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.778e-06/1.115e-05, allocations: 3.266 kB / 324.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.00234/0.002351, allocations: 2.293 MB / 326.8 MB, free: 13.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009282/0.00328, allocations: 0.7049 MB / 327.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003381, allocations: 7.938 kB / 327.5 MB, free: 12.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.00351, allocations: 23.72 kB / 327.6 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 8.47e-05/0.003594, allocations: 59.44 kB / 327.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000415/0.004009, allocations: 115.6 kB / 327.7 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.00425, allocations: 270.9 kB / 328 MB, free: 12.4 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001589/0.004409, allocations: 71.66 kB / 328.1 MB, free: 12.33 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002285/0.004637, allocations: 171.6 kB / 328.2 MB, free: 12.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.004746, allocations: 87.75 kB / 328.3 MB, free: 12.08 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/0.004775, allocations: 24 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.707e-05/0.004822, allocations: 27.98 kB / 328.4 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.004866, allocations: 51.83 kB / 328.4 MB, free: 11.98 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.578e-05/0.004951, allocations: 87.77 kB / 328.5 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002465/0.005198, allocations: 299.1 kB / 328.8 MB, free: 11.6 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.0052, allocations: 4 kB / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.005201, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.005205, allocations: 0 / 328.8 MB, free: 11.59 MB / 298.7 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.0007041/0.005909, allocations: 0.5999 MB / 329.4 MB, free: 10.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.005942, allocations: 15.98 kB / 329.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.005983, allocations: 54.73 kB / 329.5 MB, free: 10.87 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.006094, allocations: 44.67 kB / 329.5 MB, free: 10.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.006311, allocations: 185.4 kB / 329.7 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.243e-05/0.006373, allocations: 75.95 kB / 329.8 MB, free: 10.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.006397, allocations: 20.38 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004345/0.006832, allocations: 346.2 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.00684, allocations: 4.188 kB / 330.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.00686, allocations: 11.94 kB / 330.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.006865, allocations: 4 kB / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002857/0.007151, allocations: 279.7 kB / 330.4 MB, free: 9.848 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.007922, allocations: 0.6779 MB / 331.1 MB, free: 9.105 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003474/0.008269, allocations: 330.6 kB / 331.4 MB, free: 8.758 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.008643, allocations: 256.4 kB / 331.7 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.008656, allocations: 7.938 kB / 331.7 MB, free: 8.484 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.008973, allocations: 417.4 kB / 332.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.142e-06/0.008974, allocations: 0 / 332.1 MB, free: 8.027 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007015/0.009676, allocations: 0.7347 MB / 332.8 MB, free: 7.25 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.009746, allocations: 203.9 kB / 333 MB, free: 7.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.009855, allocations: 182.7 kB / 333.2 MB, free: 6.816 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.111e-05/0.009876, allocations: 49.62 kB / 333.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.832e-05/0.009935, allocations: 124.9 kB / 333.4 MB, free: 6.637 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.434e-05/0.009979, allocations: 91.36 kB / 333.4 MB, free: 6.547 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.01004, allocations: 66.02 kB / 333.5 MB, free: 6.477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.79e-05/0.01012, allocations: 334.8 kB / 333.8 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001612/0.01028, allocations: 197.7 kB / 334 MB, free: 5.926 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.01047, allocations: 294.1 kB / 334.3 MB, free: 5.594 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003049/0.01077, allocations: 408.5 kB / 334.7 MB, free: 5.148 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.01077, allocations: 8.031 kB / 334.7 MB, free: 5.141 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000639/0.01141, allocations: 0.5344 MB / 335.3 MB, free: 4.562 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.365e-05/0.01146, allocations: 97.09 kB / 335.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.01146, allocations: 0 / 335.4 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.01147, allocations: 8 kB / 335.4 MB, free: 4.441 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001045/0.01158, allocations: 43.94 kB / 335.4 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.01159, allocations: 11.94 kB / 335.4 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.373e-05/0.01167, allocations: 31.83 kB / 335.4 MB, free: 4.355 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01168, allocations: 16 kB / 335.5 MB, free: 4.34 MB / 298.7 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.0001332/0.01182, allocations: 231.8 kB / 335.7 MB, free: 4.086 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.01184, allocations: 27.86 kB / 335.7 MB, free: 4.059 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.01187, allocations: 22.66 kB / 335.7 MB, free: 4.035 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.01187, allocations: 4 kB / 335.7 MB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.01188, allocations: 3.938 kB / 335.7 MB, free: 4.027 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.01188, allocations: 3.984 kB / 335.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008016/0.01268, allocations: 0.9421 MB / 336.7 MB, free: 3.004 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01269, allocations: 3.984 kB / 336.7 MB, free: 3 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.334e-05/0.01274, allocations: 23.92 kB / 336.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.01274, allocations: 7.938 kB / 336.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.01276, allocations: 11.98 kB / 336.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01276, allocations: 0 / 336.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.01277, allocations: 4 kB / 336.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005136/0.01328, allocations: 0.6785 MB / 337.4 MB, free: 2.23 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.0133, allocations: 23.8 kB / 337.4 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.927e-05/0.01334, allocations: 15.98 kB / 337.5 MB, free: 2.191 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.01344, allocations: 19.98 kB / 337.5 MB, free: 2.172 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.323e-05/0.01349, allocations: 23.97 kB / 337.5 MB, free: 2.148 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.677e-05/0.01351, allocations: 15.98 kB / 337.5 MB, free: 2.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.711e-05/0.01358, allocations: 136.2 kB / 337.7 MB, free: 2 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01358, allocations: 4 kB / 337.7 MB, free: 1.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002167/0.01379, allocations: 75.89 kB / 337.7 MB, free: 1.922 MB / 298.7 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.0007077/0.0145, allocations: 1.237 MB / 339 MB, free: 0.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.01502, allocations: 0.6516 MB / 339.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.01502, allocations: 0 / 339.6 MB, free: 15.91 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002537/0.01527, allocations: 378.2 kB / 340 MB, free: 15.5 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.01565, allocations: 153.8 kB / 340.1 MB, free: 15.36 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002571/0.01822, allocations: 3.356 MB / 343.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.491e-05/0.01831, allocations: 137.7 kB / 343.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001031/0.01841, allocations: 53.88 kB / 343.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.821e-05/0.01849, allocations: 72.47 kB / 343.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01849, allocations: 0 / 343.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01894/0.03743, allocations: 7.709 MB / 351.5 MB, free: 3.957 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.657/6.694, allocations: 7.984 kB / 351.5 MB, free: 3.949 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 8.523318373598158]