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.001238/0.001238, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001344/0.001344, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.912/0.912, allocations: 173.4 MB / 200.4 MB, free: 9.422 MB / 186.7 MB " [Timeout remaining time 179] 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 1.443e-06/1.443e-06, allocations: 0 / 318.4 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.949e-05, allocations: 6.281 kB / 318.4 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002686/0.002705, allocations: 2.255 MB / 320.7 MB, free: 4.062 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009281/0.003634, allocations: 0.6349 MB / 321.3 MB, free: 3.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001092/0.003743, allocations: 3.938 kB / 321.3 MB, free: 3.418 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001361/0.003879, allocations: 31.66 kB / 321.4 MB, free: 3.387 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.186e-05/0.003961, allocations: 67.42 kB / 321.4 MB, free: 3.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003119/0.004273, allocations: 83.7 kB / 321.5 MB, free: 3.238 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.004549, allocations: 278.9 kB / 321.8 MB, free: 2.965 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.004746, allocations: 67.67 kB / 321.9 MB, free: 2.895 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005074/0.005253, allocations: 163.7 kB / 322 MB, free: 2.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001176/0.005371, allocations: 87.77 kB / 322.1 MB, free: 2.648 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.707e-05/0.005408, allocations: 24 kB / 322.1 MB, free: 2.625 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.507e-05/0.005433, allocations: 20 kB / 322.1 MB, free: 2.605 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.497e-05/0.005488, allocations: 59.7 kB / 322.2 MB, free: 2.547 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.39e-05/0.005582, allocations: 83.81 kB / 322.3 MB, free: 2.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002867/0.005869, allocations: 299.1 kB / 322.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.005873, allocations: 0 / 322.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.005874, allocations: 0 / 322.6 MB, free: 2.172 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.00588, allocations: 0 / 322.6 MB, free: 2.172 MB / 282.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.0008126/0.006692, allocations: 0.5962 MB / 323.2 MB, free: 1.527 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.006737, allocations: 12.92 kB / 323.2 MB, free: 1.516 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.528e-05/0.006782, allocations: 54.73 kB / 323.2 MB, free: 1.453 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.577e-05/0.006838, allocations: 28.8 kB / 323.3 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.007127, allocations: 182.1 kB / 323.4 MB, free: 1.219 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.007217, allocations: 75.97 kB / 323.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.558e-05/0.007242, allocations: 16.38 kB / 323.5 MB, free: 1.117 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004949/0.007737, allocations: 361.9 kB / 323.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.007749, allocations: 192 / 323.9 MB, free: 0.7383 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.007774, allocations: 15.94 kB / 323.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.007782, allocations: 4 kB / 323.9 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000338/0.00812, allocations: 267.8 kB / 324.2 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000938/0.009058, allocations: 0.6821 MB / 324.8 MB, free: 15.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004021/0.00946, allocations: 330.5 kB / 325.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002922/0.009752, allocations: 259.6 kB / 325.4 MB, free: 15.09 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.876e-05/0.009771, allocations: 8 kB / 325.4 MB, free: 15.08 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003684/0.01014, allocations: 409.5 kB / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.01014, allocations: 0 / 325.8 MB, free: 14.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008097/0.01095, allocations: 0.7376 MB / 326.6 MB, free: 13.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/0.01105, allocations: 207.9 kB / 326.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.01118, allocations: 183.2 kB / 327 MB, free: 13.42 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.01121, allocations: 37.7 kB / 327 MB, free: 13.38 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.996e-05/0.01129, allocations: 136.8 kB / 327.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.01134, allocations: 83.41 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.81e-05/0.01142, allocations: 66.03 kB / 327.3 MB, free: 13.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.01152, allocations: 334.8 kB / 327.6 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.0117, allocations: 205.7 kB / 327.8 MB, free: 12.53 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001989/0.0119, allocations: 289.8 kB / 328.1 MB, free: 12.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.01224, allocations: 421.4 kB / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.01225, allocations: 0 / 328.5 MB, free: 11.74 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0007141/0.01296, allocations: 0.5336 MB / 329 MB, free: 11.16 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.639e-05/0.01302, allocations: 97.09 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01302, allocations: 4.094 kB / 329.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01304, allocations: 4 kB / 329.1 MB, free: 11.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.01316, allocations: 39.86 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.795e-06/0.01317, allocations: 4 kB / 329.2 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.01327, allocations: 35.83 kB / 329.2 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.547e-05/0.01328, allocations: 12 kB / 329.2 MB, free: 10.95 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.000166/0.01345, allocations: 247.6 kB / 329.5 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.01348, allocations: 23.91 kB / 329.5 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.426e-05/0.01351, allocations: 26.64 kB / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.01351, allocations: 0 / 329.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.01352, allocations: 7.875 kB / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.01352, allocations: 0 / 329.5 MB, free: 10.63 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009062/0.01443, allocations: 0.9343 MB / 330.4 MB, free: 9.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.01443, allocations: 3.984 kB / 330.5 MB, free: 9.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.496e-05/0.0145, allocations: 19.98 kB / 330.5 MB, free: 9.598 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.045e-06/0.01451, allocations: 11.92 kB / 330.5 MB, free: 9.586 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.01453, allocations: 8 kB / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.01453, allocations: 0 / 330.5 MB, free: 9.578 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.01453, allocations: 11.94 kB / 330.5 MB, free: 9.566 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005829/0.01512, allocations: 0.6746 MB / 331.2 MB, free: 8.848 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.108e-05/0.01515, allocations: 27.78 kB / 331.2 MB, free: 8.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.758e-05/0.01519, allocations: 12 kB / 331.2 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.0153, allocations: 19.98 kB / 331.2 MB, free: 8.789 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.01538, allocations: 27.95 kB / 331.3 MB, free: 8.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.0154, allocations: 16.19 kB / 331.3 MB, free: 8.746 MB / 298.7 MB Notification: Performance of sorting global known variables: time 8.103e-05/0.01548, allocations: 128.3 kB / 331.4 MB, free: 8.621 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.1e-07/0.01548, allocations: 11.88 kB / 331.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002601/0.01575, allocations: 71.95 kB / 331.5 MB, free: 8.539 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.000904/0.01665, allocations: 1.249 MB / 332.7 MB, free: 7.238 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006157/0.01726, allocations: 0.6547 MB / 333.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.01727, allocations: 192 / 333.4 MB, free: 6.516 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002739/0.01754, allocations: 370 kB / 333.8 MB, free: 6.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.01799, allocations: 154.8 kB / 333.9 MB, free: 5.98 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003051/0.02104, allocations: 3.331 MB / 337.2 MB, free: 2.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.466e-05/0.02114, allocations: 134 kB / 337.4 MB, free: 2.273 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001312/0.02127, allocations: 57.88 kB / 337.4 MB, free: 2.215 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.351e-05/0.02136, allocations: 72.47 kB / 337.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of SimCode: time 8.32e-07/0.02136, allocations: 0 / 337.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02064/0.042, allocations: 7.677 MB / 345.2 MB, free: 10.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.92/6.962, allocations: 10.58 kB / 345.2 MB, free: 10.64 MB / 314.7 MB " [Timeout remaining time 653] (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/jenkins/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/jenkins/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: 8.705481939017773]