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.001387/0.001387, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.001347/0.001347, allocations: 186.4 kB / 23.72 MB, free: 4.684 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.418/1.418, allocations: 225.6 MB / 252.5 MB, free: 13.04 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.00156/0.00156, allocations: 47.92 kB / 370.4 MB, free: 9.855 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3158, allocations: 52.18 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.004355/0.3201, allocations: 2.39 MB / 425 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001723/0.3218, allocations: 0.6855 MB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.322, allocations: 3.938 kB / 425.7 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.3222, allocations: 27.72 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.3223, allocations: 63.42 kB / 425.8 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004266/0.3228, allocations: 87.77 kB / 425.9 MB, free: 11.34 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003743/0.3231, allocations: 267.1 kB / 426.1 MB, free: 11.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002392/0.3234, allocations: 75.61 kB / 426.2 MB, free: 11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002602/0.3236, allocations: 119.6 kB / 426.3 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.3239, allocations: 119.5 kB / 426.4 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.093e-05/0.3239, allocations: 24 kB / 426.5 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.627e-05/0.324, allocations: 24 kB / 426.5 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.307e-05/0.324, allocations: 43.84 kB / 426.5 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001599/0.3242, allocations: 127.4 kB / 426.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004176/0.3246, allocations: 291.2 kB / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.3246, allocations: 0 / 426.9 MB, free: 10.27 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3246, allocations: 4 kB / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.3246, allocations: 0 / 427 MB, free: 10.27 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.001236/0.3259, allocations: 0.5961 MB / 427.5 MB, free: 9.621 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/0.3259, allocations: 12.03 kB / 427.6 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.55e-05/0.326, allocations: 58.72 kB / 427.6 MB, free: 9.543 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.124e-05/0.3261, allocations: 28.8 kB / 427.6 MB, free: 9.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004012/0.3265, allocations: 178.9 kB / 427.8 MB, free: 9.312 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.3266, allocations: 75.97 kB / 427.9 MB, free: 9.227 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.679e-05/0.3266, allocations: 16.38 kB / 427.9 MB, free: 9.211 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006252/0.3273, allocations: 264 kB / 428.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.3273, allocations: 0 / 428.2 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.3273, allocations: 11.94 kB / 428.2 MB, free: 8.934 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.3273, allocations: 8 kB / 428.2 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005177/0.3278, allocations: 200.3 kB / 428.4 MB, free: 8.73 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00146/0.3293, allocations: 0.728 MB / 429.1 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006058/0.3299, allocations: 255.2 kB / 429.4 MB, free: 7.688 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004339/0.3303, allocations: 191.8 kB / 429.5 MB, free: 7.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.3303, allocations: 4 kB / 429.6 MB, free: 7.496 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005983/0.3309, allocations: 316.3 kB / 429.9 MB, free: 7.156 MB / 334.1 MB Notification: Performance of pre-optimization done (n=31): time 3.777e-06/0.3309, allocations: 3.984 kB / 429.9 MB, free: 7.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=31): time 0.001248/0.3322, allocations: 0.5724 MB / 430.4 MB, free: 6.562 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001512/0.3323, allocations: 211.8 kB / 430.6 MB, free: 6.312 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001958/0.3325, allocations: 186.4 kB / 430.8 MB, free: 6.121 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.259e-05/0.3326, allocations: 33.7 kB / 430.9 MB, free: 6.082 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001186/0.3327, allocations: 136.9 kB / 431 MB, free: 5.945 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.693e-05/0.3328, allocations: 83.38 kB / 431.1 MB, free: 5.863 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.3329, allocations: 70.02 kB / 431.1 MB, free: 5.785 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3331, allocations: 326.8 kB / 431.5 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.3333, allocations: 112.6 kB / 431.6 MB, free: 5.344 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.3336, allocations: 167.1 kB / 431.7 MB, free: 5.16 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005932/0.3342, allocations: 427 kB / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3342, allocations: 0 / 432.2 MB, free: 4.695 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007456/0.3349, allocations: 449.6 kB / 432.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.335, allocations: 103.5 kB / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.335, allocations: 0 / 432.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.3351, allocations: 4 kB / 432.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001937/0.3353, allocations: 39.92 kB / 432.7 MB, free: 4.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.087e-06/0.3353, allocations: 4 kB / 432.7 MB, free: 4.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001792/0.3354, allocations: 31.97 kB / 432.8 MB, free: 4.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.184e-05/0.3355, allocations: 8 kB / 432.8 MB, free: 4.031 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.0002659/0.3357, allocations: 243.8 kB / 433 MB, free: 3.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.516e-05/0.3358, allocations: 27.8 kB / 433 MB, free: 3.746 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.176e-05/0.3358, allocations: 26.64 kB / 433.1 MB, free: 3.719 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.778e-06/0.3358, allocations: 4 kB / 433.1 MB, free: 3.715 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.3358, allocations: 8 kB / 433.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.3358, allocations: 0 / 433.1 MB, free: 3.707 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/0.3373, allocations: 0.9112 MB / 434 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.3373, allocations: 3.938 kB / 434 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.3374, allocations: 23.98 kB / 434 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.094e-06/0.3375, allocations: 4 kB / 434 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.057e-05/0.3375, allocations: 11.98 kB / 434 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.3375, allocations: 0 / 434 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.3375, allocations: 0 / 434 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.3385, allocations: 0.6165 MB / 434.7 MB, free: 2.039 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.526e-05/0.3385, allocations: 15.86 kB / 434.7 MB, free: 2.023 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.28e-05/0.3386, allocations: 19.98 kB / 434.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3388, allocations: 19.98 kB / 434.7 MB, free: 1.984 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.983e-05/0.3389, allocations: 27.95 kB / 434.7 MB, free: 1.957 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.988e-05/0.3389, allocations: 15.94 kB / 434.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001317/0.3391, allocations: 132.3 kB / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3391, allocations: 192 / 434.9 MB, free: 1.812 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003642/0.3394, allocations: 75.94 kB / 435 MB, free: 1.738 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.001398/0.3408, allocations: 1.183 MB / 436.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008884/0.3417, allocations: 0.5174 MB / 436.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.3417, allocations: 0 / 436.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004721/0.3422, allocations: 322.8 kB / 437 MB, free: 15.62 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.3429, allocations: 139.9 kB / 437.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004056/0.3469, allocations: 2.92 MB / 440 MB, free: 12.44 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004032/0.3473, allocations: 0.7483 MB / 440.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001567/0.3475, allocations: 45.91 kB / 440.8 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.3476, allocations: 71.41 kB / 440.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3476, allocations: 0 / 440.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03579/0.3834, allocations: 6.863 MB / 447.7 MB, free: 4.867 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.29, allocations: 15.17 kB / 447.8 MB, free: 4.855 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 & python3 -m fmpy simulate --output-file Modelica_4.0.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_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.csv","/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] "Error: Could not read variable aD_Converter.z in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable aD_Converter.z from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.T0 in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.T0 from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! Error: Could not read variable pulse.np in file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv. Warning: Get data of variable pulse.np from file Modelica_4.0.0_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.867971244002547]