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.00083/0.00083, allocations: 80.34 kB / 20.67 MB, free: 3.891 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.0009504/0.0009504, 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.8983/0.8983, allocations: 177 MB / 204.1 MB, free: 5.734 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 2.034e-06/2.034e-06, allocations: 0 / 324.5 MB, free: 15.87 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.216e-05, allocations: 2.281 kB / 324.5 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AD_DA_conversion): time 0.002617/0.002639, allocations: 2.285 MB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009053/0.003544, allocations: 0.701 MB / 327.5 MB, free: 12.85 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.254e-05/0.003637, allocations: 7.875 kB / 327.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.003762, allocations: 31.72 kB / 327.6 MB, free: 12.81 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 7.285e-05/0.003835, allocations: 55.48 kB / 327.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.004196, allocations: 107.6 kB / 327.7 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002575/0.004454, allocations: 274.9 kB / 328 MB, free: 12.38 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.004635, allocations: 71.66 kB / 328.1 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002415/0.004876, allocations: 179.6 kB / 328.2 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001087/0.004985, allocations: 83.77 kB / 328.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.005019, allocations: 24 kB / 328.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.982e-05/0.005068, allocations: 24 kB / 328.4 MB, free: 12.01 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.931e-05/0.005118, allocations: 55.81 kB / 328.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.78e-05/0.005196, allocations: 83.77 kB / 328.5 MB, free: 11.87 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002806/0.005476, allocations: 299.1 kB / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.005478, allocations: 0 / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.005479, allocations: 0 / 328.8 MB, free: 11.58 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.518e-06/0.005484, allocations: 4 kB / 328.8 MB, free: 11.57 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.0006914/0.006175, allocations: 0.6039 MB / 329.4 MB, free: 10.92 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.006208, allocations: 15.92 kB / 329.4 MB, free: 10.91 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.496e-05/0.006253, allocations: 54.73 kB / 329.5 MB, free: 10.84 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.006365, allocations: 40.73 kB / 329.5 MB, free: 10.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002428/0.006608, allocations: 185.3 kB / 329.7 MB, free: 10.6 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.527e-05/0.006673, allocations: 79.91 kB / 329.8 MB, free: 10.51 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.488e-05/0.006698, allocations: 20.36 kB / 329.8 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.007095, allocations: 346.2 kB / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.007103, allocations: 192 / 330.1 MB, free: 10.13 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.031e-05/0.007124, allocations: 11.94 kB / 330.1 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.00713, allocations: 4 kB / 330.1 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.007434, allocations: 279.7 kB / 330.4 MB, free: 9.828 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007997/0.008234, allocations: 0.6818 MB / 331.1 MB, free: 9.09 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003537/0.008587, allocations: 322.6 kB / 331.4 MB, free: 8.75 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002563/0.008844, allocations: 264.4 kB / 331.7 MB, free: 8.477 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.546e-05/0.008859, allocations: 4 kB / 331.7 MB, free: 8.473 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003272/0.009186, allocations: 409.4 kB / 332.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.313e-06/0.009188, allocations: 0 / 332.1 MB, free: 8.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=31): time 0.0007216/0.009909, allocations: 0.7425 MB / 332.8 MB, free: 7.238 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.362e-05/0.009983, allocations: 203.9 kB / 333 MB, free: 6.996 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.01009, allocations: 182.7 kB / 333.2 MB, free: 6.805 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.01012, allocations: 37.7 kB / 333.2 MB, free: 6.762 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.743e-05/0.01018, allocations: 136.9 kB / 333.4 MB, free: 6.625 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.019e-05/0.01023, allocations: 91.3 kB / 333.4 MB, free: 6.535 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.0103, allocations: 66.02 kB / 333.5 MB, free: 6.465 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.538e-05/0.01037, allocations: 334.8 kB / 333.8 MB, free: 6.129 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/0.01053, allocations: 197.7 kB / 334 MB, free: 5.914 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.01072, allocations: 298.1 kB / 334.3 MB, free: 5.578 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003079/0.01103, allocations: 412.5 kB / 334.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01103, allocations: 0 / 334.7 MB, free: 5.129 MB / 298.7 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0004209/0.01145, allocations: 0.5384 MB / 335.3 MB, free: 4.547 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.148e-05/0.0115, allocations: 97.09 kB / 335.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.01151, allocations: 0 / 335.4 MB, free: 4.434 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.01152, allocations: 8 kB / 335.4 MB, free: 4.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001105/0.01163, allocations: 43.84 kB / 335.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.249e-06/0.01164, allocations: 0 / 335.4 MB, free: 4.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.886e-05/0.01173, allocations: 39.83 kB / 335.4 MB, free: 4.344 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.285e-05/0.01174, allocations: 12.06 kB / 335.5 MB, free: 4.332 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.0001416/0.01188, allocations: 243.7 kB / 335.7 MB, free: 4.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.679e-05/0.01191, allocations: 23.86 kB / 335.7 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.801e-05/0.01194, allocations: 22.66 kB / 335.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01194, allocations: 4 kB / 335.7 MB, free: 4.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.01195, allocations: 3.938 kB / 335.8 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.01195, allocations: 3.984 kB / 335.8 MB, free: 4.012 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008676/0.01282, allocations: 0.9382 MB / 336.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.01282, allocations: 0 / 336.7 MB, free: 2.996 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.37e-05/0.01287, allocations: 19.98 kB / 336.7 MB, free: 2.977 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.01288, allocations: 7.875 kB / 336.7 MB, free: 2.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.0129, allocations: 24 kB / 336.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.0129, allocations: 0 / 336.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0129, allocations: 0 / 336.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005953/0.01349, allocations: 0.6746 MB / 337.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.01352, allocations: 19.8 kB / 337.4 MB, free: 2.207 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.774e-05/0.01356, allocations: 27.98 kB / 337.5 MB, free: 2.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.01366, allocations: 16.17 kB / 337.5 MB, free: 2.164 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.939e-05/0.01372, allocations: 19.97 kB / 337.5 MB, free: 2.145 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.01373, allocations: 19.92 kB / 337.5 MB, free: 2.125 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.071e-05/0.0138, allocations: 132.3 kB / 337.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.0138, allocations: 0 / 337.6 MB, free: 1.996 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002223/0.01403, allocations: 79.89 kB / 337.7 MB, free: 1.918 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.0007202/0.01475, allocations: 1.245 MB / 339 MB, free: 0.6094 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006479/0.01539, allocations: 0.6585 MB / 339.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.0154, allocations: 0 / 339.6 MB, free: 15.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002621/0.01566, allocations: 370 kB / 340 MB, free: 15.48 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.01606, allocations: 148.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.002675/0.01873, allocations: 3.358 MB / 343.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.584e-05/0.01882, allocations: 137.7 kB / 343.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.01892, allocations: 53.89 kB / 343.7 MB, free: 11.57 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.5e-05/0.01901, allocations: 68.47 kB / 343.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of SimCode: time 5.21e-07/0.01901, allocations: 0 / 343.7 MB, free: 11.5 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01834/0.03735, allocations: 7.721 MB / 351.5 MB, free: 3.938 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.635/6.672, allocations: 0 / 351.5 MB, free: 3.938 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.AD_DA_conversion_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_AD_DA_conversion_fmu --startTime=0 --stopTime=0.2 --stepSize=3.57079e-05 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.387407914735377]