Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001303/0.001303, allocations: 115 kB / 18.45 MB, free: 4.621 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.001336/0.001336, allocations: 193.2 kB / 21.4 MB, free: 1.688 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.37/1.37, allocations: 207.6 MB / 231.8 MB, free: 4.082 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AD_DA_conversion,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 59.92 kB / 342.3 MB, free: 10.01 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08715/0.08886, allocations: 49.11 MB / 391.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003719/0.09258, allocations: 2.341 MB / 393.7 MB, free: 6.383 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001377/0.09396, allocations: 0.725 MB / 394.4 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.09406, allocations: 4 kB / 394.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.09422, allocations: 31.7 kB / 394.5 MB, free: 5.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001067/0.09433, allocations: 55.5 kB / 394.5 MB, free: 5.559 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.09466, allocations: 87.77 kB / 394.6 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003657/0.09502, allocations: 267 kB / 394.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002182/0.09524, allocations: 90.95 kB / 395 MB, free: 5.121 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000201/0.09544, allocations: 119.6 kB / 395.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.09562, allocations: 115.5 kB / 395.2 MB, free: 4.891 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.376e-05/0.09567, allocations: 20 kB / 395.2 MB, free: 4.871 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.144e-05/0.09571, allocations: 28 kB / 395.2 MB, free: 4.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 8.122e-05/0.09579, allocations: 51.77 kB / 395.3 MB, free: 4.793 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001475/0.09594, allocations: 119.5 kB / 395.4 MB, free: 4.676 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003533/0.09629, allocations: 286.8 kB / 395.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.09629, allocations: 0 / 395.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.09629, allocations: 0 / 395.7 MB, free: 4.395 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.09631, allocations: 0 / 395.7 MB, free: 4.395 MB / 318.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.001114/0.09742, allocations: 0.6716 MB / 396.4 MB, free: 3.656 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.09746, allocations: 8.031 kB / 396.4 MB, free: 3.648 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.828e-05/0.09753, allocations: 50.73 kB / 396.4 MB, free: 3.59 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.085e-05/0.0976, allocations: 36.75 kB / 396.5 MB, free: 3.555 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003725/0.09797, allocations: 241.6 kB / 396.7 MB, free: 3.281 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.296e-05/0.09806, allocations: 50.2 kB / 396.7 MB, free: 3.227 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.861e-05/0.09809, allocations: 20.38 kB / 396.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005748/0.09867, allocations: 264 kB / 397 MB, free: 2.945 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.09868, allocations: 3.984 kB / 397 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.09871, allocations: 8 kB / 397 MB, free: 2.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.09871, allocations: 4 kB / 397 MB, free: 2.93 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005065/0.09922, allocations: 208.1 kB / 397.2 MB, free: 2.723 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001396/0.1006, allocations: 0.7524 MB / 398 MB, free: 1.91 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/0.1012, allocations: 259.2 kB / 398.2 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004099/0.1016, allocations: 192.9 kB / 398.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.1016, allocations: 0 / 398.4 MB, free: 1.457 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005318/0.1022, allocations: 316.3 kB / 398.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.303e-06/0.1022, allocations: 0 / 398.7 MB, free: 1.117 MB / 318.1 MB Notification: Performance of matching and sorting (n=31): time 0.001192/0.1034, allocations: 0.575 MB / 399.3 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.1035, allocations: 207.8 kB / 399.5 MB, free: 284 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.1037, allocations: 187.1 kB / 399.7 MB, free: 88 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.558e-05/0.1037, allocations: 33.7 kB / 399.7 MB, free: 48 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001323/0.1039, allocations: 148.7 kB / 399.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1039, allocations: 79.38 kB / 400 MB, free: 15.82 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001004/0.104, allocations: 70.03 kB / 400 MB, free: 15.74 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.1042, allocations: 330.8 kB / 400.3 MB, free: 15.41 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.1044, allocations: 104.6 kB / 400.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1047, allocations: 183.1 kB / 400.6 MB, free: 15.11 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005741/0.1053, allocations: 413.4 kB / 401 MB, free: 14.65 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1053, allocations: 0 / 401 MB, free: 14.65 MB / 334.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007309/0.106, allocations: 446.3 kB / 401.5 MB, free: 14.19 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.717e-05/0.1061, allocations: 100.9 kB / 401.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.1061, allocations: 192 / 401.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1062, allocations: 8.094 kB / 401.6 MB, free: 14.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001979/0.1063, allocations: 47.84 kB / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1064, allocations: 4 kB / 401.6 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001719/0.1065, allocations: 31.83 kB / 401.7 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.484e-05/0.1066, allocations: 16 kB / 401.7 MB, free: 13.97 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.0002436/0.1068, allocations: 239.7 kB / 401.9 MB, free: 13.71 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1068, allocations: 27.8 kB / 401.9 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.114e-05/0.1069, allocations: 22.66 kB / 402 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/0.1069, allocations: 7.984 kB / 402 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1069, allocations: 0 / 402 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.1069, allocations: 3.984 kB / 402 MB, free: 13.65 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001443/0.1084, allocations: 0.9356 MB / 402.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1084, allocations: 0 / 402.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.1085, allocations: 27.98 kB / 402.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.709e-06/0.1085, allocations: 4 kB / 402.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1085, allocations: 8 kB / 402.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.1085, allocations: 0 / 402.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.1085, allocations: 8.031 kB / 402.9 MB, free: 12.59 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009443/0.1094, allocations: 0.6087 MB / 403.6 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.004e-05/0.1095, allocations: 96.95 kB / 403.6 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.651e-05/0.1096, allocations: 19.98 kB / 403.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.1098, allocations: 19.98 kB / 403.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.115e-05/0.1099, allocations: 23.97 kB / 403.7 MB, free: 11.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.073e-05/0.1099, allocations: 19.92 kB / 403.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.11, allocations: 124.3 kB / 403.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.11, allocations: 3.938 kB / 403.9 MB, free: 11.63 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003271/0.1103, allocations: 79.95 kB / 403.9 MB, free: 11.55 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.0014/0.1117, allocations: 1.195 MB / 405.1 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008669/0.1126, allocations: 0.5175 MB / 405.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.1126, allocations: 0 / 405.6 MB, free: 9.762 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004632/0.1131, allocations: 310.8 kB / 405.9 MB, free: 9.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006735/0.1137, allocations: 148.7 kB / 406.1 MB, free: 9.289 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00387/0.1176, allocations: 2.926 MB / 409 MB, free: 6.223 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.118, allocations: 0.7406 MB / 409.8 MB, free: 5.457 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.1181, allocations: 61.86 kB / 409.8 MB, free: 5.395 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.1183, allocations: 67.36 kB / 409.9 MB, free: 5.328 MB / 334.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1183, allocations: 3.938 kB / 409.9 MB, free: 5.324 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02971/0.148, allocations: 6.548 MB / 416.4 MB, free: 14.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.701/7.849, allocations: 7.797 kB / 416.4 MB, free: 14.71 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AD_DA_conversion.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AD_DA_conversion/AD_DA_conversion.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 10.155688725877553]