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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008544/0.0008544, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004352/0.004352, allocations: 165.8 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.9205/0.9205, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.061e-05/2.292e-05, allocations: 6.281 kB / 298.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.003709/0.003732, allocations: 2.221 MB / 300.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001334/0.005066, allocations: 0.6824 MB / 301.3 MB, free: 0.582 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.005195, allocations: 7.938 kB / 301.4 MB, free: 0.5742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.005358, allocations: 27.72 kB / 301.4 MB, free: 0.5469 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.005486, allocations: 63.42 kB / 301.4 MB, free: 496 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003811/0.005867, allocations: 87.64 kB / 301.5 MB, free: 408 kB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003545/0.006222, allocations: 278.9 kB / 301.8 MB, free: 128 kB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002264/0.006448, allocations: 71.67 kB / 301.9 MB, free: 60 kB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1292/0.1356, allocations: 159.4 kB / 302 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001764/0.1358, allocations: 87.09 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.503e-05/0.1358, allocations: 23.59 kB / 302.1 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.1359, allocations: 21.41 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.248e-05/0.1359, allocations: 58.52 kB / 302.2 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.922e-05/0.136, allocations: 83.8 kB / 302.3 MB, free: 13.26 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.1364, allocations: 292.5 kB / 302.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.1364, allocations: 0.75 kB / 302.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.823e-06/0.1364, allocations: 0 / 302.6 MB, free: 13.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.1364, allocations: 0 / 302.6 MB, free: 13.26 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.001074/0.1375, allocations: 0.5925 MB / 303.2 MB, free: 12.83 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.1376, allocations: 18.55 kB / 303.2 MB, free: 12.82 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.453e-05/0.1376, allocations: 55.39 kB / 303.2 MB, free: 12.79 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.41e-05/0.1377, allocations: 32.5 kB / 303.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004402/0.1382, allocations: 179.7 kB / 303.5 MB, free: 12.63 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.856e-05/0.1382, allocations: 76.11 kB / 303.5 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.638e-05/0.1383, allocations: 20.72 kB / 303.6 MB, free: 12.57 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005221/0.1388, allocations: 348.9 kB / 303.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.1388, allocations: 1 kB / 303.9 MB, free: 12.44 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.553e-05/0.1388, allocations: 14.67 kB / 303.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.1388, allocations: 4.688 kB / 303.9 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000352/0.1392, allocations: 281 kB / 304.2 MB, free: 12.37 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008538/0.1401, allocations: 0.6725 MB / 304.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004489/0.1405, allocations: 334.7 kB / 305.2 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003267/0.1408, allocations: 257.7 kB / 305.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.67e-05/0.1408, allocations: 2.25 kB / 305.4 MB, free: 11.87 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004299/0.1413, allocations: 414.9 kB / 305.8 MB, free: 11.65 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 1.694e-06/0.1413, allocations: 5 kB / 305.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008478/0.1421, allocations: 0.7363 MB / 306.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.218e-05/0.1422, allocations: 201.9 kB / 306.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.1423, allocations: 189.4 kB / 307 MB, free: 10.97 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.1424, allocations: 41.42 kB / 307 MB, free: 10.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.568e-05/0.1424, allocations: 133.4 kB / 307.1 MB, free: 10.82 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.432e-05/0.1425, allocations: 87.45 kB / 307.2 MB, free: 10.75 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.1425, allocations: 64.64 kB / 307.3 MB, free: 10.71 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.108e-05/0.1426, allocations: 337.7 kB / 307.6 MB, free: 10.39 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000179/0.1428, allocations: 199.8 kB / 307.8 MB, free: 10.26 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/0.143, allocations: 288.5 kB / 308.1 MB, free: 10.04 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003608/0.1433, allocations: 419.3 kB / 308.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.896e-06/0.1433, allocations: 1.125 kB / 308.5 MB, free: 9.754 MB / 282.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004448/0.1438, allocations: 0.532 MB / 309 MB, free: 9.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.737e-05/0.1438, allocations: 96.36 kB / 309.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.1438, allocations: 1.156 kB / 309.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.1439, allocations: 3.875 kB / 309.1 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.144, allocations: 37.97 kB / 309.2 MB, free: 9.332 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.144, allocations: 7.109 kB / 309.2 MB, free: 9.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1441, allocations: 38.31 kB / 309.2 MB, free: 9.309 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1441, allocations: 16.92 kB / 309.2 MB, free: 9.305 MB / 282.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.0001365/0.1442, allocations: 242.3 kB / 309.5 MB, free: 9.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.72e-05/0.1443, allocations: 29.39 kB / 309.5 MB, free: 9.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.777e-05/0.1443, allocations: 23.08 kB / 309.5 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.299e-06/0.1443, allocations: 3.172 kB / 309.5 MB, free: 9.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1443, allocations: 3.938 kB / 309.5 MB, free: 9.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.1443, allocations: 5.172 kB / 309.5 MB, free: 9.062 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008797/0.1452, allocations: 0.9316 MB / 310.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.1452, allocations: 1.953 kB / 310.5 MB, free: 8.492 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.8e-05/0.1453, allocations: 28.14 kB / 310.5 MB, free: 8.488 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1453, allocations: 5.062 kB / 310.5 MB, free: 8.484 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.763e-05/0.1453, allocations: 10.45 kB / 310.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1453, allocations: 1.953 kB / 310.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.1453, allocations: 1.125 kB / 310.5 MB, free: 8.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.1458, allocations: 0.6871 MB / 311.2 MB, free: 8.074 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.464e-05/0.1458, allocations: 27.75 kB / 311.2 MB, free: 8.055 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.881e-05/0.1459, allocations: 16.45 kB / 311.2 MB, free: 8.051 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000112/0.146, allocations: 21.83 kB / 311.3 MB, free: 8.047 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.377e-05/0.1461, allocations: 22.03 kB / 311.3 MB, free: 8.043 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.1461, allocations: 12.58 kB / 311.3 MB, free: 8.039 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.1461, allocations: 129.8 kB / 311.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1461, allocations: 0 / 311.4 MB, free: 7.949 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002316/0.1464, allocations: 74.45 kB / 311.5 MB, free: 7.938 MB / 282.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.0006739/0.147, allocations: 1.244 MB / 312.7 MB, free: 7.004 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.1475, allocations: 0.6609 MB / 313.4 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1475, allocations: 0 / 313.4 MB, free: 6.559 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002462/0.1478, allocations: 365.2 kB / 313.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004608/0.1482, allocations: 150.1 kB / 313.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00251/0.1508, allocations: 3.335 MB / 317.2 MB, free: 3.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001119/0.1509, allocations: 138.9 kB / 317.4 MB, free: 3.852 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001536/0.151, allocations: 52.47 kB / 317.4 MB, free: 3.848 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.1511, allocations: 68.42 kB / 317.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of SimCode: time 1.273e-06/0.1511, allocations: 0 / 317.5 MB, free: 3.801 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.1752, allocations: 7.689 MB / 325.2 MB, free: 0.6641 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.593/6.768, allocations: 6.578 kB / 325.2 MB, free: 0.6602 MB / 282.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 8.42731842584908]